| |
|
| java.lang.Object org.eclipse.ui.internal.decorators.DecoratorDefinition org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition
LightweightDecoratorDefinition | class LightweightDecoratorDefinition extends DecoratorDefinition implements IObjectContributor(Code) | | The DeclarativeDecoratorDefinition is a decorator definition that is defined
entirely from xml and will not require the activation of its defining
plug-in.
|
BOTTOM_LEFT | final public static int BOTTOM_LEFT(Code) | | Position BOTTOM_LEFT . Value 2
|
BOTTOM_RIGHT | final public static int BOTTOM_RIGHT(Code) | | Position BOTTOM_RIGHT . Value 3
|
TOP_LEFT | final public static int TOP_LEFT(Code) | | Position TOP_LEFT . Value 0
|
TOP_RIGHT | final public static int TOP_RIGHT(Code) | | Position TOP_RIGHT . Value 1
|
UNDERLAY | final public static int UNDERLAY(Code) | | Position UNDERLAY . Value 4
|
LightweightDecoratorDefinition | LightweightDecoratorDefinition(String identifier, IConfigurationElement element)(Code) | | |
canAdapt | public boolean canAdapt()(Code) | | |
decorate | public void decorate(Object element, IDecoration decoration)(Code) | | Decorate the element using the decoration to store the result.
Parameters: element - Parameters: decoration - |
getDecorator | public ILightweightLabelDecorator getDecorator()(Code) | | Returns the lightweight decorator, or null if not enabled.
the lightweight decorator, or null if not enabled |
getObjectClasses | public String[] getObjectClasses()(Code) | | Get the object classes to which this decorator is registered.
String [] the object classes to which this decorator isregistered |
getQuadrant | public int getQuadrant()(Code) | | Returns the quadrant.One of the following constants in
DecoratorRegistryReader: TOP_LEFT TOP_RIGHT BOTTOM_LEFT BOTTOM_RIGHT
UNDERLAY
int |
initializeEnablement | protected void initializeEnablement()(Code) | | |
internalGetDecorator | protected ILightweightLabelDecorator internalGetDecorator() throws CoreException(Code) | | Gets the decorator and creates it if it does not exist yet. Throws a
CoreException if there is a problem creating the decorator. This method
should not be called unless a check for enabled to be true is done first.
Returns a ILabelDecorator |
internalGetLabelProvider | protected IBaseLabelProvider internalGetLabelProvider() throws CoreException(Code) | | |
isApplicableTo | public boolean isApplicableTo(Object object)(Code) | | |
isFull | public boolean isFull()(Code) | | |
refreshDecorator | protected void refreshDecorator()(Code) | | |
|
|
|