|
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.ResourceSetOperation
com.ibm.xtools.emf.msl.ResourceSetModifyOperation
A ResourceSetOperation whose execution can potentially modify models.
API clients are expected to extend this class and provide their own
implementation of
ResourceSetOperation.execute
Example:
editingDomain.run( new ResourceSetModifyOperation("MyOperationTitle") { protected void execute(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { // Perform modifications to the editing domain's models ... } }, new NullProgressMonitor());
EditingDomain.run(ResourceSetOperation,
org.eclipse.core.runtime.IProgressMonitor)
Constructor Summary | |
ResourceSetModifyOperation(String label)
Constructs a ResourceSetModifyOperation with a short description of what the operation does. |
Method Summary | |
String |
getLabel()
Returns a short description of what the operation does. |
Methods inherited from class com.ibm.xtools.emf.msl.ResourceSetOperation |
execute, getResult, run, setResult |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceSetModifyOperation(String label)
An ResourceSetModifyOperation
ran from within an
OperationListener.done(IOperationEvent)
implementation
may not see its label honoured in the Edit menu. Regardless of
this fact, always provide a valid user consumable title.
label
- the operation's label.Method Detail |
public final String getLabel()
|
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.