|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.xtools.emf.msl.OperationListener
A listener to IOperationEvents.
API clients should extend this class and register their listeners through
EditingDomain.addOperationListener
and unregister through
EditingDomain.addOperationListener
| Constructor Summary | |
OperationListener()
|
|
| Method Summary | |
void |
done(IOperationEvent event)
Notifies listener that an ResourceSetOperationwas executed.
|
void |
redone(IOperationEvent event)
Notifies listener that an ResourceSetOperationwas redone
Implements default do nothing behaviour. |
void |
undone(IOperationEvent event)
Notifies listener that an ResourceSetOperationwas undone.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OperationListener()
| Method Detail |
public void done(IOperationEvent event)
ResourceSetOperationwas executed.
Implements default do nothing behaviour. Derived client implementations
generally override this method to look for specific events.
Implementations are allowed to start new ResourceSetReadOperation.
Implementations are allowed to start new ResourceSetModifyOperation. However, it should be noted that the title of the operation may not be displayed in the Edit menu in case the event was sent as the result of another ResourceSetModifyOperation.
event - Event describing the changepublic void undone(IOperationEvent event)
ResourceSetOperationwas undone.
Implements default do nothing behaviour. Derived client implementations
generally override this method to look for specific events.
Implementations are allowed to start new ResourceSetReadOperation.
Implementations are not allowed to start new ResourceSetModifyOperation.
event - Event describing the changepublic void redone(IOperationEvent event)
ResourceSetOperationwas redone
Implements default do nothing behaviour. Derived client implementations
generally override this method to look for specific events.
Implementations are allowed to start new ResourceSetReadOperation.
Implementations are not allowed to start new ResourceSetModifyOperation.
event - Event describing the change
|
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.