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(List<IOutlineNode> nodes,
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 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,
Collection<IOutlineNode> nodesToBeExpanded,
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, getTreeStyle, init, removeSelectionChangedListener, selectionChanged, setFocus, setSelectionpublic void createControl(org.eclipse.swt.widgets.Composite parent)
createControl in interface org.eclipse.ui.part.IPagecreateControl in class org.eclipse.ui.views.contentoutline.ContentOutlinePageprotected void configureTree()
protected void showBusyStatus()
protected void initializeTreeContent()
protected List<IOutlineNode> getInitiallyExpandedNodes()
protected int getDefaultExpansionLevel()
protected void addChildren(List<IOutlineNode> nodes, List<IOutlineNode> allChildren, int depth)
protected void configureModelListener()
protected void configureActions()
protected void configureContextMenu()
public void dispose()
dispose in interface org.eclipse.ui.part.IPagedispose in class org.eclipse.ui.part.Pagepublic void setSourceViewer(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
setSourceViewer in interface ISourceViewerAwareprotected 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.ContentOutlinePagepublic IOutlineTreeProvider getTreeProvider()
public OutlineFilterAndSorter getFilterAndSorter()
protected void refreshViewer(IOutlineNode rootNode, Collection<IOutlineNode> nodesToBeExpanded, Collection<IOutlineNode> selectedNodes)
protected void treeUpdated()
Copyright © 2016. All Rights Reserved.