|
||||||||||
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
org.eclipse.wst.xml.ui.views.contentoutline.XMLContentOutlineConfiguration
public class XMLContentOutlineConfiguration
Outline Configuration for generic XML support, expects that the viewer's input will be the DOM Model.
ContentOutlineConfiguration
Constructor Summary | |
---|---|
XMLContentOutlineConfiguration()
Create new instance of XMLContentOutlineConfiguration |
Method Summary | |
---|---|
org.eclipse.jface.viewers.IContentProvider |
getContentProvider(org.eclipse.jface.viewers.TreeViewer viewer)
Returns the ContentProvider to use with the given viewer. |
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.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.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. |
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 org.eclipse.wst.sse.ui.views.contentoutline.ContentOutlineConfiguration |
---|
getKeyListeners, getMenuContributions, getToolbarContributions, isLinkedWithEditor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLContentOutlineConfiguration()
Method Detail |
---|
public org.eclipse.jface.viewers.IContentProvider getContentProvider(org.eclipse.jface.viewers.TreeViewer viewer)
ContentOutlineConfiguration
getContentProvider
in class ContentOutlineConfiguration
viewer
- the TreeViewer associated with this configuration
public org.eclipse.jface.viewers.ILabelProvider getLabelProvider(org.eclipse.jface.viewers.TreeViewer viewer)
ContentOutlineConfiguration
getLabelProvider
in class ContentOutlineConfiguration
viewer
- the TreeViewer associated with this configuration
public org.eclipse.jface.action.IMenuListener getMenuListener(org.eclipse.jface.viewers.TreeViewer viewer)
ContentOutlineConfiguration
getMenuListener
in class ContentOutlineConfiguration
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)
ContentOutlineConfiguration
getSelection
in class ContentOutlineConfiguration
viewer
- the TreeViewer associated with this configurationselection
- model selection
public org.eclipse.jface.viewers.ILabelProvider getStatusLineLabelProvider(org.eclipse.jface.viewers.TreeViewer treeViewer)
getStatusLineLabelProvider
in class ContentOutlineConfiguration
public org.eclipse.jface.util.TransferDragSourceListener[] getTransferDragSourceListeners(org.eclipse.jface.viewers.TreeViewer treeViewer)
ContentOutlineConfiguration
getTransferDragSourceListeners
in class ContentOutlineConfiguration
treeViewer
- the TreeViewer associated with this configuration
public org.eclipse.jface.util.TransferDropTargetListener[] getTransferDropTargetListeners(org.eclipse.jface.viewers.TreeViewer treeViewer)
ContentOutlineConfiguration
getTransferDropTargetListeners
in class ContentOutlineConfiguration
treeViewer
- the TreeViewer associated with this configuration
public void unconfigure(org.eclipse.jface.viewers.TreeViewer viewer)
ContentOutlineConfiguration
unconfigure
in class ContentOutlineConfiguration
viewer
- the TreeViewer associated with this configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |