public class OutlinePage extends org.eclipse.ui.views.contentoutline.ContentOutlinePage implements ISourceViewerAware
Modifier and Type | Class and Description |
---|---|
protected static class |
OutlinePage.BusyLabelProvider
A label provider used for showing the busy status.
|
Constructor and Description |
---|
OutlinePage() |
Modifier and Type | Method and Description |
---|---|
protected void |
addChildren(java.util.List<IOutlineNode> nodes,
java.util.List<IOutlineNode> allChildren,
int depth) |
protected void |
configureActions() |
protected void |
configureContextMenu() |
protected void |
configureModelListener() |
protected void |
configureTextInputListener() |
protected void |
configureTree() |
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
void |
dispose() |
protected int |
getDefaultExpansionLevel() |
OutlineFilterAndSorter |
getFilterAndSorter() |
protected java.util.List<IOutlineNode> |
getInitiallyExpandedNodes() |
protected OutlineRefreshJob |
getRefreshJob() |
org.eclipse.jface.text.source.ISourceViewer |
getSourceViewer() |
IOutlineTreeProvider |
getTreeProvider() |
org.eclipse.jface.viewers.TreeViewer |
getTreeViewer() |
IXtextDocument |
getXtextDocument() |
protected void |
initializeTreeContent() |
protected void |
refreshViewer(IOutlineNode rootNode,
java.util.Collection<IOutlineNode> nodesToBeExpanded,
java.util.Collection<IOutlineNode> selectedNodes) |
void |
scheduleRefresh() |
void |
setSourceViewer(org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
protected void |
showBusyStatus() |
protected void |
treeUpdated()
For testing.
|
addSelectionChangedListener, fireSelectionChanged, getControl, getSelection, init, removeSelectionChangedListener, selectionChanged, setFocus, setSelection
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.ui.part.IPage
createControl
in class org.eclipse.ui.views.contentoutline.ContentOutlinePage
protected void configureTree()
protected void showBusyStatus()
protected void initializeTreeContent()
protected java.util.List<IOutlineNode> getInitiallyExpandedNodes()
protected int getDefaultExpansionLevel()
protected void addChildren(java.util.List<IOutlineNode> nodes, java.util.List<IOutlineNode> allChildren, int depth)
protected void configureModelListener()
protected void configureActions()
protected void configureContextMenu()
public void dispose()
dispose
in interface org.eclipse.ui.part.IPage
dispose
in class org.eclipse.ui.part.Page
public void setSourceViewer(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
setSourceViewer
in interface ISourceViewerAware
protected void configureTextInputListener()
public org.eclipse.jface.text.source.ISourceViewer getSourceViewer()
public IXtextDocument getXtextDocument()
protected OutlineRefreshJob getRefreshJob()
public void scheduleRefresh()
public org.eclipse.jface.viewers.TreeViewer getTreeViewer()
getTreeViewer
in class org.eclipse.ui.views.contentoutline.ContentOutlinePage
public IOutlineTreeProvider getTreeProvider()
public OutlineFilterAndSorter getFilterAndSorter()
protected void refreshViewer(IOutlineNode rootNode, java.util.Collection<IOutlineNode> nodesToBeExpanded, java.util.Collection<IOutlineNode> selectedNodes)
protected void treeUpdated()