public interface INavigatorContentDescriptor
There is one INavigatorContentExtension
for each content service.
There is only one INavigatorContentDescriptor
for each extension.
This interface is not intended to be implemented by clients.
Modifier and Type | Method and Description |
---|---|
boolean |
arePossibleChildren(IStructuredSelection aSelection)
A convenience method to check all elements in a selection.
|
String |
getId()
Returns the navgiator content extension id
|
String |
getName()
Returns the name of this navigator extension
|
INavigatorContentDescriptor |
getOverriddenDescriptor() |
Set |
getOverriddingExtensions() |
org.eclipse.ui.internal.navigator.extensions.OverridePolicy |
getOverridePolicy() |
int |
getPriority()
Returns the priority of the navigator content extension.
|
String |
getSuppressedExtensionId() |
boolean |
hasOverridingExtensions()
Does not force the creation of the set of overriding extensions.
|
boolean |
hasSaveablesProvider() |
boolean |
isActiveByDefault()
The enabledByDefault attribute specifies whether an extension should be
activated in the context of a viewer automatically.
|
boolean |
isPossibleChild(Object anElement)
Determine if this content extension could provide the given element as a
child.
|
boolean |
isTriggerPoint(Object anElement)
Determine if this content extension is enabled for the given element.
|
String getId()
String getName()
int getPriority()
boolean isActiveByDefault()
boolean isTriggerPoint(Object anElement)
anElement
- The element that should be used for the evaluation.boolean isPossibleChild(Object anElement)
This method is used to determine what the parent of an element could be for Link with Editor support.
anElement
- The element that should be used for the evaluation.boolean arePossibleChildren(IStructuredSelection aSelection)
aSelection
- A non-null selectionString getSuppressedExtensionId()
org.eclipse.ui.internal.navigator.extensions.OverridePolicy getOverridePolicy()
INavigatorContentDescriptor getOverriddenDescriptor()
suppressedExtensionId
if
non-null.boolean hasOverridingExtensions()
Set getOverriddingExtensions()
INavigatorContentDescriptor
boolean hasSaveablesProvider()
SaveablesProvider
.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.