|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 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). |
Method Summary | |
---|---|
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 |
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'. |
Field Detail |
public static final String PROP_HIDE_AVAILABLE_EXT_TAB
public static final String PROP_HIDE_AVAILABLE_CUSTOMIZATIONS_DIALOG
public static final String PROP_HIDE_COLLAPSE_ALL_ACTION
public static final String PROP_HIDE_LINK_WITH_EDITOR_ACTION
Method Detail |
public String getViewerId()
public String getPopupMenuId()
public boolean isVisibleContentExtension(String aContentExtensionId)
aContentExtensionId
- The id to query
public boolean isVisibleActionExtension(String anActionExtensionId)
anActionExtensionId
- The id to query
public boolean isRootExtension(String aContentExtensionId)
aContentExtensionId
- The id to query
public boolean hasOverriddenRootExtensions()
public boolean allowsPlatformContributionsToContextMenu()
public 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.public String getStringConfigProperty(String aPropertyName)
aPropertyName
- A property name corresponding to a configuration option from
org.eclipse.ui.navigator.viewer
public boolean getBooleanConfigProperty(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.