|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INavigatorContentDescriptor
The descriptor provides a the low-level handle to a content extension. Information such as
the Id, the name, the priority, and whether the descriptor provides one or
more root elements is provided. This descriptor is used to form the
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
.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 selection
String getSuppressedExtensionId()
OverridePolicy getOverridePolicy()
INavigatorContentDescriptor getOverriddenDescriptor()
suppressedExtensionId
if
non-null.boolean hasOverridingExtensions()
Set getOverriddingExtensions()
INavigatorContentDescriptor
)boolean hasSaveablesProvider()
SaveablesProvider
.
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.