|
||||||||||
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
public abstract class ContentOutlineConfiguration
Basic Configuration class for Outline Pages
Constructor Summary | |
---|---|
ContentOutlineConfiguration()
Create new instance of ContentOutlineConfiguration |
Method Summary | |
---|---|
abstract org.eclipse.jface.viewers.IContentProvider |
getContentProvider(org.eclipse.jface.viewers.TreeViewer viewer)
Returns the ContentProvider to use with the given viewer. |
org.eclipse.swt.events.KeyListener[] |
getKeyListeners(org.eclipse.jface.viewers.TreeViewer viewer)
Returns an array of KeyListeners to attach to the given viewer's control or null. |
org.eclipse.jface.viewers.ILabelProvider |
getLabelProvider(org.eclipse.jface.viewers.TreeViewer viewer)
Returns the LabelProvider for the items within the given viewer. |
org.eclipse.jface.action.IContributionItem[] |
getMenuContributions(org.eclipse.jface.viewers.TreeViewer viewer)
Returns the menu contribution items for the local menu in the outline. |
org.eclipse.jface.action.IMenuListener |
getMenuListener(org.eclipse.jface.viewers.TreeViewer viewer)
Returns the menu listener to notify when the given viewer's context menu is about to be shown or null. |
org.eclipse.jface.viewers.ISelection |
getSelection(org.eclipse.jface.viewers.TreeViewer viewer,
org.eclipse.jface.viewers.ISelection selection)
Returns the (filtered) selection from the given selection. |
org.eclipse.jface.viewers.ILabelProvider |
getStatusLineLabelProvider(org.eclipse.jface.viewers.TreeViewer treeViewer)
|
org.eclipse.jface.action.IContributionItem[] |
getToolbarContributions(org.eclipse.jface.viewers.TreeViewer viewer)
Returns contribution items for the local toolbar in the outline. |
org.eclipse.jface.util.TransferDragSourceListener[] |
getTransferDragSourceListeners(org.eclipse.jface.viewers.TreeViewer treeViewer)
Adopted since you can't easily removeDragSupport from StructuredViewers. |
org.eclipse.jface.util.TransferDropTargetListener[] |
getTransferDropTargetListeners(org.eclipse.jface.viewers.TreeViewer treeViewer)
Adopted since you can't easily removeDropSupport from StructuredViewers. |
boolean |
isLinkedWithEditor(org.eclipse.jface.viewers.TreeViewer treeViewer)
Returns true if node selection changes affect selection in the TreeViewer. |
void |
unconfigure(org.eclipse.jface.viewers.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 org.eclipse.jface.viewers.IContentProvider getContentProvider(org.eclipse.jface.viewers.TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public org.eclipse.swt.events.KeyListener[] getKeyListeners(org.eclipse.jface.viewers.TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public org.eclipse.jface.viewers.ILabelProvider getLabelProvider(org.eclipse.jface.viewers.TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public final org.eclipse.jface.action.IContributionItem[] getMenuContributions(org.eclipse.jface.viewers.TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public org.eclipse.jface.action.IMenuListener getMenuListener(org.eclipse.jface.viewers.TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public org.eclipse.jface.viewers.ISelection getSelection(org.eclipse.jface.viewers.TreeViewer viewer, org.eclipse.jface.viewers.ISelection selection)
selection
- model selectionviewer
- the TreeViewer associated with this configuration
public org.eclipse.jface.viewers.ILabelProvider getStatusLineLabelProvider(org.eclipse.jface.viewers.TreeViewer treeViewer)
treeViewer
-
public final org.eclipse.jface.action.IContributionItem[] getToolbarContributions(org.eclipse.jface.viewers.TreeViewer viewer)
viewer
- the TreeViewer associated with this configuration
public org.eclipse.jface.util.TransferDragSourceListener[] getTransferDragSourceListeners(org.eclipse.jface.viewers.TreeViewer treeViewer)
treeViewer
- the TreeViewer associated with this configuration
public org.eclipse.jface.util.TransferDropTargetListener[] getTransferDropTargetListeners(org.eclipse.jface.viewers.TreeViewer treeViewer)
treeViewer
- the TreeViewer associated with this configuration
public boolean isLinkedWithEditor(org.eclipse.jface.viewers.TreeViewer treeViewer)
treeViewer
- the TreeViewer associated with this configuration
public void unconfigure(org.eclipse.jface.viewers.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 |