Package org.eclipse.wst.xsl.ui.internal.contentoutline
public class XSLContentOutlineConfiguration extends XMLContentOutlineConfigurationMore advanced Outline Configuration for XML support. Expects that the viewer's input will be the DOM Model.
Field Summary | |
package-private static java.lang.String | ATTR_ID |
package-private static java.lang.String | ATTR_NAME |
package-private boolean | fShowAttributes |
Constructor Summary |
XSLContentOutlineConfiguration() |
Method Summary | |
protected IContributionItem[] | createMenuContributions(TreeViewer viewer) |
protected void | enableShowAttributes(boolean showAttributes
,
TreeViewer treeViewer) Notifies this configuration that the flag that indicates whether or not to show attribute values in the tree viewer has changed. The tree viewer is automatically refreshed afterwards to update the labels. Clients should not call this method, but rather should react to it. |
public IContentProvider | getContentProvider(TreeViewer viewer) |
public ILabelProvider | getLabelProvider(TreeViewer viewer) |
public ISelection | getSelection(TreeViewer viewer
,
ISelection selection) |
Field Detail |
package-private static java.lang.String ATTR_ID
package-private static java.lang.String ATTR_NAME
package-private boolean fShowAttributes
Constructor Detail |
public XSLContentOutlineConfiguration()
Create new instance of XMLContentOutlineConfiguration
Methods Detail |
protected IContributionItem[] createMenuContributions(TreeViewer viewer)
viewer
IContributionItem[]
protected void enableShowAttributes(boolean showAttributes
,
TreeViewer treeViewer)
Notifies this configuration that the flag that indicates whether or not to show attribute values in the tree viewer has changed. The tree viewer is automatically refreshed afterwards to update the labels. Clients should not call this method, but rather should react to it.
showAttributes
- flag indicating whether or not to show attribute values in the tree viewer
treeViewer
- the TreeViewer associated with this configuration
public IContentProvider getContentProvider(TreeViewer viewer)
viewer
IContentProvider
public ILabelProvider getLabelProvider(TreeViewer viewer)
viewer
ILabelProvider
public ISelection getSelection(TreeViewer viewer
,
ISelection selection)
viewer
selection
ISelection