org.eclipse.xtext.ui.editor.outline.actions
Class OutlineWithEditorLinker
java.lang.Object
org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker
- All Implemented Interfaces:
- java.util.EventListener, org.eclipse.jface.util.IPropertyChangeListener
public class OutlineWithEditorLinker
- extends java.lang.Object
- implements org.eclipse.jface.util.IPropertyChangeListener
- Author:
- Jan Koehnlein - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
textViewer
protected org.eclipse.jface.text.source.ISourceViewer textViewer
treeViewer
protected org.eclipse.jface.viewers.TreeViewer treeViewer
treeListener
protected OutlineWithEditorLinker.TreeListener treeListener
textListener
protected OutlineWithEditorLinker.TextListener textListener
isLinkingEnabled
protected boolean isLinkingEnabled
outlinePage
protected OutlinePage outlinePage
OutlineWithEditorLinker
public OutlineWithEditorLinker()
activate
public void activate(OutlinePage outlinePage)
deactivate
public void deactivate()
setLinkingEnabled
public void setLinkingEnabled(boolean enabled)
selectInTextEditor
protected void selectInTextEditor(org.eclipse.jface.viewers.ISelection selection)
selectInTreeView
protected void selectInTreeView(org.eclipse.jface.viewers.ISelection selection)
findBestNode
protected IOutlineNode findBestNode(IOutlineNode input,
ITextRegion selectedTextRegion)
getSelectedOutlineNode
protected IOutlineNode getSelectedOutlineNode(org.eclipse.jface.viewers.ISelection selection)
isOutlineViewActive
protected boolean isOutlineViewActive()
propertyChange
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
- Description copied from interface:
org.eclipse.jface.util.IPropertyChangeListener
- Notification that a property has changed.
This method gets called when the observed object fires a property
change event.
- Specified by:
propertyChange
in interface org.eclipse.jface.util.IPropertyChangeListener
- Parameters:
event
- the property change event object describing which property
changed and how