|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Clients providing an extension to the DecoratorService need to create a decorator class that implements the IDecorator interface. This is the interface that a decorator must implement. A decorator is installed on a decorator target to which it will add decoration figures.
IDecoratorProvider
Method Summary | |
void |
activate()
Activates this decorator. |
void |
deactivate()
Deactivates this decorator, the inverse of activate() .
|
void |
refresh()
Refreshes the decorations. |
Method Detail |
public void activate()
deactivate()
.
deactivate()
public void deactivate()
activate()
.
Deactivate is called when the host decorator target is deactivated.
Deactivate unhooks any listeners, and removes decoration figures that
have been added.
activate()
public void refresh()
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
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. and others 2004. All rights reserved.