Method Summary |
|
public void | addListener(INavigatorContentServiceListener aListener) |
public INavigatorContentDescriptor[] | bindExtensions(String[] extensionIds, boolean isRoot) |
public ITreeContentProvider | createCommonContentProvider() |
public IDescriptionProvider | createCommonDescriptionProvider() |
public ILabelProvider | createCommonLabelProvider() |
public void | dispose() |
public Set | findContentExtensionsByTriggerPoint(Object anElement) Search for extensions that declare the given element in their
triggerPoints expression. |
public Set | findContentExtensionsByTriggerPoint(Object anElement, boolean toLoadIfNecessary) Search for extensions that declare the given element in their
triggerPoints expression. |
public Set | findContentExtensionsWithPossibleChild(Object anElement) Search for extensions that declare the given element in their
possibleChildren expression. |
public Set | findContentExtensionsWithPossibleChild(Object anElement, boolean toLoadIfNecessary) Search for extensions that declare the given element in their
possibleChildren expression. |
public Set | findDescriptorsByTriggerPoint(Object anElement) Search for extensions that declare the given element in their
triggerPoints expression. |
public Set | findDescriptorsWithPossibleChild(Object anElement) Search for extensions that declare the given element in their
possibleChildren expression. |
public Set | findDescriptorsWithPossibleChild(Object anElement, boolean toComputeOverrides) Search for extensions that declare the given element in their
possibleChildren expression.
Parameters: anElement - The element to use in the query Parameters: toComputeOverrides - True indicates the overridden tree should be traversed. |
public Set | findOverrideableContentExtensionsByTriggerPoint(Object anElement) Search for extensions that declare the given element in their
possibleChildren expression. |
public Set | findOverrideableContentExtensionsForPossibleChild(Object anElement) Search for extensions that declare the given element in their
possibleChildren expression. |
public ITreeContentProvider[] | findParentContentProviders(Object anElement) Return a set of content providers that could provide a parent for the
given element. |
public ILabelProvider[] | findRelevantLabelProviders(Object anElement) Return all of the label providers that are enabled for the given element.
A label provider is 'enabled' if its corresponding content provider
returned the element, or the element is described in the content
extension's triggerPoints expression.
Parameters: anElement - An element from the tree (any element contributed to thetree). |
public Set | findRootContentExtensions(Object anElement) Search for extensions that declare the given element in their
triggerPoints expression. |
public Set | findRootContentExtensions(Object anElement, boolean toRespectViewerRoots) Search for extensions that declare the given element in their
triggerPoints expression.
Parameters: anElement - The element to use in the query Parameters: toRespectViewerRoots - True respect the viewerContentBindings, False willlook only for matching triggerPoints expressions. |
public ITreeContentProvider[] | findRootContentProviders(Object anElement)
Return all of the content providers that are relevant for the viewer. |
public IExtensionStateModel | findStateModel(String anExtensionId) |
public INavigatorActivationService | getActivationService() |
INavigatorContentDescriptor[] | getActiveDescriptorsWithSaveables() |
public INavigatorContentDescriptor | getContentDescriptorById(String anExtensionId) |
public INavigatorContentExtension | getContentExtensionById(String anExtensionId) Parameters: anExtensionId - The id used to define the org.eclipse.ui.navigator.navigatorContent/navigatorContent extension. |
public Map | getContributionMemory() |
public INavigatorDnDService | getDnDService() |
final public NavigatorContentExtension | getExtension(INavigatorContentDescriptor aDescriptorKey) |
final public NavigatorContentExtension | getExtension(INavigatorContentDescriptor aDescriptorKey, boolean toLoadIfNecessary) Parameters: aDescriptorKey - Parameters: toLoadIfNecessary - True if the extension should be loaded if it is not already. |
public NavigatorExtensionStateService | getExtensionStateService() Not API as of 3.3. |
final protected Collection | getExtensions() |
public INavigatorFilterService | getFilterService() |
public INavigatorPipelineService | getPipelineService() |
public INavigatorSaveablesService | getSaveablesService() |
public Shell | getShell() Non-API method to return a shell. |
public INavigatorSorterService | getSorterService() |
public NavigatorContentDescriptor | getSourceOfContribution(Object element) |
public INavigatorViewerDescriptor | getViewerDescriptor() |
final public String | getViewerId() |
public String[] | getVisibleExtensionIds() |
public INavigatorContentDescriptor[] | getVisibleExtensions() |
public boolean | isActive(String anExtensionId) |
protected boolean | isRootExtension(String anExtensionId) |
public boolean | isVisible(String anExtensionId) |
public void | onExtensionActivation(String aViewerId, String[] aNavigatorExtensionId, boolean toEnable) |
public synchronized void | rememberContribution(NavigatorContentDescriptor source, Object[] elements) |
public synchronized void | rememberContribution(NavigatorContentDescriptor source, Object element) |
public void | removeListener(INavigatorContentServiceListener aListener) |
public void | restoreState(IMemento aMemento) |
public void | saveState(IMemento aMemento) |
public String | toString() |
public void | update() |
protected void | updateService(Viewer aViewer, Object anOldInput, Object aNewInput) |