|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.sse.ui.views.contentoutline.ContentOutlineConfiguration
Basic Configuration class for Outline Pages
Constructor Summary | |
---|---|
ContentOutlineConfiguration()
Create new instance of ContentOutlineConfiguration |
Method Summary | |
---|---|
abstract IContentProvider |
getContentProvider(TreeViewer viewer)
Returns the ContentProvider to use with the given viewer. |
KeyListener[] |
getKeyListeners(TreeViewer viewer)
Returns an array of KeyListeners to attach to the given viewer's control or null. |
ILabelProvider |
getLabelProvider(TreeViewer viewer)
Returns the LabelProvider for the items within the given viewer. |
IContributionItem[] |
getMenuContributions(TreeViewer viewer)
Returns the menu contribution items for the local menu in the outline. |
IMenuListener |
getMenuListener(TreeViewer viewer)
Returns the menu listener to notify when the given viewer's context menu is about to be shown or null. |
ISelection |
getSelection(TreeViewer viewer,
ISelection selection)
Returns the (filtered) selection from the given selection. |
IContributionItem[] |
getToolbarContributions(TreeViewer viewer)
Returns contribution items for the local toolbar in the outline. |
TransferDragSourceListener[] |
getTransferDragSourceListeners(TreeViewer treeViewer)
Adopted since you can't easily removeDragSupport from StructuredViewers. |
TransferDropTargetListener[] |
getTransferDropTargetListeners(TreeViewer treeViewer)
Adopted since you can't easily removeDropSupport from StructuredViewers. |
boolean |
isLinkedWithEditor(TreeViewer treeViewer)
Returns true if node selection changes affect selection in the TreeViewer. |
void |
unconfigure(TreeViewer viewer)
General hook for resource releasing and listener removal when configurations change or the viewer is disposed of. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContentOutlineConfiguration()
Method Detail |
public abstract IContentProvider getContentProvider(TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public KeyListener[] getKeyListeners(TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public ILabelProvider getLabelProvider(TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public final IContributionItem[] getMenuContributions(TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public IMenuListener getMenuListener(TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public ISelection getSelection(TreeViewer viewer, ISelection selection)
selection
- model selectionviewer
- the TreeViewer associated with this configuration
public final IContributionItem[] getToolbarContributions(TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public TransferDragSourceListener[] getTransferDragSourceListeners(TreeViewer treeViewer)
treeViewer
- the TreeViewer associated with this configuration
public TransferDropTargetListener[] getTransferDropTargetListeners(TreeViewer treeViewer)
treeViewer
- the TreeViewer associated with this configuration
public boolean isLinkedWithEditor(TreeViewer treeViewer)
treeViewer
- the TreeViewer associated with this configuration
public void unconfigure(TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |