|
Eclipse Platform Kepler (4.3) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IComparableContribution
Instances of this interface represent a contribution within the workbench. This interface is typically implemented by the workbench itself although extension developers may wish to implement it as well for their own extensions.
Field Summary | |
---|---|
static int |
PRIORITY_DEFAULT
The default priority (0); |
Method Summary | |
---|---|
java.lang.Object |
getAdapter(java.lang.Class adapter)
Possible adaptations include: IConfigurationElement
useful for contributions that eventually work back to registry
elements. |
java.lang.String |
getLabel()
Return the human readable label for this contribution. |
int |
getPriority()
Return the priority of this contribution. |
Field Detail |
---|
static final int PRIORITY_DEFAULT
Method Detail |
---|
int getPriority()
java.lang.String getLabel()
null
.
java.lang.Object getAdapter(java.lang.Class adapter)
IConfigurationElement
IComparableContribution
instances
provided by the platform will provide this adapter.
getAdapter
in interface IAdaptable
adapter
- the adapter class to look up
null
if this object does not
have an adapter for the given class
|
Eclipse Platform Kepler (4.3) |
|||||||||
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, 2012. All rights reserved.