| |
|
| java.lang.Object org.eclipse.ui.internal.decorators.LightweightActionDescriptor
LightweightActionDescriptor | public class LightweightActionDescriptor implements IAdaptable,IWorkbenchAdapter(Code) | | Represent the description of an action within
an action set. It does not create an action.
[Issue: This class overlaps with ActionDescriptor
and should be reviewed to determine if code
reuse if possible.]
|
Constructor Summary | |
public | LightweightActionDescriptor(IConfigurationElement actionElement) Create a new instance of LightweightActionDescriptor . |
LightweightActionDescriptor | public LightweightActionDescriptor(IConfigurationElement actionElement)(Code) | | Create a new instance of LightweightActionDescriptor .
Parameters: actionElement - the configuration element |
getAdapter | public Object getAdapter(Class adapter)(Code) | | Returns an object which is an instance of the given class
associated with this object. Returns null if
no such object can be found.
|
getDescription | public String getDescription()(Code) | | Returns the action's description.
the description |
getId | public String getId()(Code) | | Returns the action's id.
the id |
getImageDescriptor | public ImageDescriptor getImageDescriptor()(Code) | | Returns the action's image descriptor.
the image descriptor |
getImageDescriptor | public ImageDescriptor getImageDescriptor(Object o)(Code) | | |
getLabel | public String getLabel()(Code) | | Returns the action's label.
the label |
|
|
|