|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INavigatorViewerDescriptor
Provides a basic metadata about the abstract viewer for a particular content service.
This interface is not intended to be implemented by clients.
Field Summary | |
---|---|
static java.lang.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 java.lang.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 java.lang.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 java.lang.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). |
Method Summary | |
---|---|
boolean |
allowsPlatformContributionsToContextMenu()
Returns true by default. |
boolean |
getBooleanConfigProperty(java.lang.String aPropertyName)
|
MenuInsertionPoint[] |
getCustomInsertionPoints()
Custom insertion points are declared through a nested 'popupMenu' element in the org.eclipse.ui.navigator.viewer extension point. |
java.lang.String |
getPopupMenuId()
The default value of the popup menu id is the viewer id. |
java.lang.String |
getStringConfigProperty(java.lang.String aPropertyName)
|
java.lang.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(java.lang.String aContentExtensionId)
Returns true if the content extension of the given id matches a viewerContentBinding extension that declares isRoot as true. |
boolean |
isVisibleActionExtension(java.lang.String anActionExtensionId)
Returns true if the action extension of the given id is 'visible'. |
boolean |
isVisibleContentExtension(java.lang.String aContentExtensionId)
Returns true if the content extension of the given id is 'visible'. |
Field Detail |
---|
static final java.lang.String PROP_HIDE_AVAILABLE_EXT_TAB
static final java.lang.String PROP_HIDE_AVAILABLE_CUSTOMIZATIONS_DIALOG
static final java.lang.String PROP_HIDE_COLLAPSE_ALL_ACTION
static final java.lang.String PROP_HIDE_LINK_WITH_EDITOR_ACTION
Method Detail |
---|
java.lang.String getViewerId()
java.lang.String getPopupMenuId()
boolean isVisibleContentExtension(java.lang.String aContentExtensionId)
aContentExtensionId
- The id to query
boolean isVisibleActionExtension(java.lang.String anActionExtensionId)
anActionExtensionId
- The id to query
boolean isRootExtension(java.lang.String aContentExtensionId)
aContentExtensionId
- The id to query
boolean 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.java.lang.String getStringConfigProperty(java.lang.String aPropertyName)
aPropertyName
- A property name corresponding to a configuration option from
org.eclipse.ui.navigator.viewer
boolean getBooleanConfigProperty(java.lang.String aPropertyName)
aPropertyName
- A property name corresponding to a configuration option from
org.eclipse.ui.navigator.viewer
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.