|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The descriptor provides a 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.
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.
Method Summary | |
---|---|
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. |
Method Detail |
public String getId()
public String getName()
public int getPriority()
public boolean isActiveByDefault()
public boolean isTriggerPoint(Object anElement)
anElement
- The element that should be used for the evaluation.
public 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.
public boolean arePossibleChildren(IStructuredSelection aSelection)
aSelection
- A non-null selection
public String getSuppressedExtensionId()
public org.eclipse.ui.internal.navigator.extensions.OverridePolicy getOverridePolicy()
public INavigatorContentDescriptor getOverriddenDescriptor()
suppressedExtensionId
if
non-null.public boolean hasOverridingExtensions()
public Set getOverriddingExtensions()
INavigatorContentDescriptor
public boolean hasSaveablesProvider()
SaveablesProvider
.
|
Eclipse Platform Release 3.3 |
|||||||||||
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, 2007. All rights reserved.