public interface INavigatorViewerDescriptor
Modifier and Type | Field and Description |
---|---|
static String |
PROP_CUSTOMIZE_VIEW_DIALOG_HELP_CONTEXT
"org.eclipse.ui.navigator.customizeViewDialogHelpContext" (string): The help context id to be used for the customize view dialog, if not specified
help will not be available.
|
static String |
PROP_HIDE_AVAILABLE_CUSTOMIZATIONS_DIALOG
"org.eclipse.ui.navigator.hideAvailableCustomizationsDialog" (boolean): True
indicates the entire "Available Customizations" dialog should not be
available for the user (defaults to false).
|
static String |
PROP_HIDE_AVAILABLE_EXT_TAB
"org.eclipse.ui.navigator.hideAvailableExtensionsTab" (boolean): True indicates the
"Available Extensions" tab in the "Available Customizations" dialog
should not be available for the user (defaults to false).
|
static String |
PROP_HIDE_COLLAPSE_ALL_ACTION
"org.eclipse.ui.navigator.hideCollapseAllAction" (boolean): True indicates the
"Collapse All" button should not be available for the user (defaults to
false).
|
static String |
PROP_HIDE_LINK_WITH_EDITOR_ACTION
"org.eclipse.ui.navigator.hideLinkWithEditorAction" (boolean): True indicates
the "Link With Editor" action should not be available for the user
(defaults to false).
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsPlatformContributionsToContextMenu()
Returns true by default.
|
boolean |
getBooleanConfigProperty(String aPropertyName) |
MenuInsertionPoint[] |
getCustomInsertionPoints()
Custom insertion points are declared through a nested 'popupMenu' element
in the org.eclipse.ui.navigator.viewer extension point.
|
String |
getHelpContext() |
String |
getPopupMenuId()
The default value of the popup menu id is the viewer id.
|
String |
getStringConfigProperty(String aPropertyName) |
String |
getViewerId()
Returns the id of the viewer targeted by this extension.
|
boolean |
hasOverriddenRootExtensions()
Returns true if there exists at least one matching viewerContentBinding
which declares isRoot as true.
|
boolean |
isRootExtension(String aContentExtensionId)
Returns true if the content extension of the given id matches a
viewerContentBinding extension that declares isRoot as true.
|
boolean |
isVisibleActionExtension(String anActionExtensionId)
Returns true if the action extension of the given id is 'visible'.
|
boolean |
isVisibleContentExtension(String aContentExtensionId)
Returns true if the content extension of the given id is 'visible'.
|
static final String PROP_HIDE_AVAILABLE_EXT_TAB
static final String PROP_HIDE_AVAILABLE_CUSTOMIZATIONS_DIALOG
static final String PROP_HIDE_COLLAPSE_ALL_ACTION
static final String PROP_HIDE_LINK_WITH_EDITOR_ACTION
static final String PROP_CUSTOMIZE_VIEW_DIALOG_HELP_CONTEXT
String getViewerId()
String getPopupMenuId()
boolean isVisibleContentExtension(String aContentExtensionId)
aContentExtensionId
- The id to queryboolean isVisibleActionExtension(String anActionExtensionId)
anActionExtensionId
- The id to queryboolean isRootExtension(String aContentExtensionId)
aContentExtensionId
- The id to queryboolean hasOverriddenRootExtensions()
boolean allowsPlatformContributionsToContextMenu()
MenuInsertionPoint[] getCustomInsertionPoints()
Separator
or
GroupMarker
in the context menu of the viewer.
NavigatorActionService
)
should be used. An empty list indicates there are no declarative
insertion points.String getStringConfigProperty(String aPropertyName)
aPropertyName
- A property name corresponding to a configuration option from
org.eclipse.ui.navigator.viewerboolean getBooleanConfigProperty(String aPropertyName)
aPropertyName
- A property name corresponding to a configuration option from
org.eclipse.ui.navigator.viewerString getHelpContext()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.