|
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.CreateDecoratorsOperation
The operation used with the Decoration Service. The CreateDecoratorsOperation is instantiated with an IDecoratorTarget. The decorator target is the object that is to be decorated with an image or figure.
| Field Summary | |
protected IDecoratorTarget |
decoratorTarget
the decorator target |
| Constructor Summary | |
CreateDecoratorsOperation(IDecoratorTarget decoratorTarget)
Constructor for CreateDecoratorsOperation. |
|
| Method Summary | |
java.lang.Object |
execute(IProvider provider)
Executes this operation on the specified provider. |
IDecoratorTarget |
getDecoratorTarget()
Returns the object to be decorated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected final IDecoratorTarget decoratorTarget
| Constructor Detail |
public CreateDecoratorsOperation(IDecoratorTarget decoratorTarget)
CreateDecoratorsOperation.
decoratorTarget - the object to be decorated| Method Detail |
public java.lang.Object execute(IProvider provider)
IOperation
Service implementers generally implement this method by first casting the
provider to their service specific IProvider-derived class and
then by delegating it the execution. Delegation is accomplished through
the service specific provider derived class API.
execute in interface IOperationprovider - The provider on which to execute the operation.
IOperation.execute(IProvider)public final IDecoratorTarget getDecoratorTarget()
|
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.