|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gmf.runtime.diagram.ui.services.decorator.AbstractDecorator
Abstract Decorator class. Clients can have their decorator subclass this to inherit utility methods for adding decoration figures.
IDecorator| Constructor Summary | |
AbstractDecorator(IDecoratorTarget decoratorTarget)
Creates a new AbstractDecorator for the decorator target
passed in. |
|
| Method Summary | |
void |
deactivate()
Removes the decoration. |
org.eclipse.gmf.runtime.diagram.ui.internal.services.decorator.Decoration |
getDecoration()
|
protected DecorationEditPolicy.DecoratorTarget |
getDecoratorTarget()
Gets the object to be decorated. |
protected void |
removeDecoration()
Removes the decoration if it exists and sets it to null. |
void |
setDecoration(IDecoration decoration)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.gmf.runtime.diagram.ui.services.decorator.IDecorator |
activate, refresh |
| Constructor Detail |
public AbstractDecorator(IDecoratorTarget decoratorTarget)
AbstractDecorator for the decorator target
passed in.
decoratorTarget - the object to be decorated| Method Detail |
protected DecorationEditPolicy.DecoratorTarget getDecoratorTarget()
public org.eclipse.gmf.runtime.diagram.ui.internal.services.decorator.Decoration getDecoration()
public void setDecoration(IDecoration decoration)
decoration - The decoration to set.protected void removeDecoration()
public void deactivate()
deactivate in interface IDecoratorIDecorator.deactivate()
|
Runtime | ||||||||||
| 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., Borland Software Corp., and others 2005,2006. All rights reserved.