public class OutlineWithEditorLinker
extends java.lang.Object
implements org.eclipse.jface.util.IPropertyChangeListener
Modifier and Type | Class and Description |
---|---|
protected class |
OutlineWithEditorLinker.TextListener |
protected class |
OutlineWithEditorLinker.TreeListener |
Modifier and Type | Field and Description |
---|---|
protected boolean |
isLinkingEnabled |
protected OutlinePage |
outlinePage |
protected OutlineWithEditorLinker.TextListener |
textListener |
protected org.eclipse.jface.text.source.ISourceViewer |
textViewer |
protected OutlineWithEditorLinker.TreeListener |
treeListener |
protected org.eclipse.jface.viewers.TreeViewer |
treeViewer |
Constructor and Description |
---|
OutlineWithEditorLinker() |
Modifier and Type | Method and Description |
---|---|
void |
activate(OutlinePage outlinePage) |
void |
deactivate() |
protected IOutlineNode |
findBestNode(IOutlineNode input,
ITextRegion selectedTextRegion) |
protected IOutlineNode |
getSelectedOutlineNode(org.eclipse.jface.viewers.ISelection selection) |
protected boolean |
isOutlineViewActive() |
void |
propertyChange(org.eclipse.jface.util.PropertyChangeEvent event) |
protected void |
selectInTextEditor(org.eclipse.jface.viewers.ISelection selection) |
protected void |
selectInTreeView(org.eclipse.jface.viewers.ISelection selection) |
void |
setLinkingEnabled(boolean enabled) |
protected org.eclipse.jface.text.source.ISourceViewer textViewer
protected org.eclipse.jface.viewers.TreeViewer treeViewer
protected OutlineWithEditorLinker.TreeListener treeListener
protected OutlineWithEditorLinker.TextListener textListener
protected boolean isLinkingEnabled
protected OutlinePage outlinePage
public void activate(OutlinePage outlinePage)
public void deactivate()
public void setLinkingEnabled(boolean enabled)
protected void selectInTextEditor(org.eclipse.jface.viewers.ISelection selection)
protected void selectInTreeView(org.eclipse.jface.viewers.ISelection selection)
protected IOutlineNode findBestNode(IOutlineNode input, ITextRegion selectedTextRegion)
protected IOutlineNode getSelectedOutlineNode(org.eclipse.jface.viewers.ISelection selection)
protected boolean isOutlineViewActive()
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
propertyChange
in interface org.eclipse.jface.util.IPropertyChangeListener