public interface IComparableContribution extends IAdaptable
Modifier and Type | Field and Description |
---|---|
static int |
PRIORITY_DEFAULT
The default priority (0);
|
Modifier and Type | Method and Description |
---|---|
Object |
getAdapter(Class adapter)
Possible adaptations include:
IConfigurationElement
useful for contributions that eventually work back to registry
elements. |
String |
getLabel()
Return the human readable label for this contribution.
|
int |
getPriority()
Return the priority of this contribution.
|
static final int PRIORITY_DEFAULT
int getPriority()
String getLabel()
null
.Object getAdapter(Class adapter)
IConfigurationElement
IComparableContribution
instances
provided by the platform will provide this adapter.getAdapter
in interface IAdaptable
adapter
- the adapter class to look upnull
if this object does not
have an adapter for the given class
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.