public interface INavigatorContentDescriptor
INavigatorContentExtension
.
There is a one-to-many correspondence between the INavigatorContentDescriptor
and
INavigatorContentExtension
. An instance of the INavigatorContentExtension
is
created for each INavigatorContentDescriptor
used by a
INavigatorContentService
.
Modifier and Type | Method and Description |
---|---|
boolean |
arePossibleChildren(IStructuredSelection aSelection)
A convenience method to check all elements in a selection.
|
String |
getAppearsBeforeId()
Returns the extension that this extension must appear before.
|
String |
getId()
Returns the navigator content extension id
|
String |
getName()
Returns the name of this navigator extension
|
INavigatorContentDescriptor |
getOverriddenDescriptor() |
Set |
getOverriddingExtensions() |
OverridePolicy |
getOverridePolicy() |
int |
getPriority()
Returns the priority of the navigator content extension.
|
int |
getSequenceNumber()
Returns the unique sequence number of this 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 |
isSortOnly()
True if this content extension is used only to specify a commonSorter
in order to provide only sorting.
|
boolean |
isTriggerPoint(Object anElement)
Determine if this content extension is enabled for the given element.
|
String getId()
String getName()
int getPriority()
Priority.NORMAL
if no priority was specified.String getAppearsBeforeId()
int getSequenceNumber()
boolean isActiveByDefault()
boolean isSortOnly()
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()
OverridePolicy getOverridePolicy()
INavigatorContentDescriptor getOverriddenDescriptor()
suppressedExtensionId
if
non-null.boolean hasOverridingExtensions()
Set getOverriddingExtensions()
INavigatorContentDescriptor
)boolean hasSaveablesProvider()
SaveablesProvider
.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.