| /******************************************************************************* |
| * Copyright (c) 2004, 2006 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| |
| package org.eclipse.gymnast.runtime.ui.views.parsetree; |
| |
| import org.eclipse.gymnast.runtime.core.ast.ASTNode; |
| |
| /** |
| * @author cjdaly@us.ibm.com |
| * |
| */ |
| public interface IParseTreeViewInput { |
| |
| public ASTNode getParseRoot(); |
| public void selectNode(ASTNode node); |
| public ASTNode getNodeAtCursor(); |
| |
| public void addParseTreeChangedListener(IParseTreeChangedListener listener); |
| public void removeParseTreeChangedListener(IParseTreeChangedListener listener); |
| } |