|
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
An abstract base class for operations that an
EditingDomain
executes.
API clients should not extend this class directly.
EditingDomain.run(ResourceSetOperation, IProgressMonitor)
Constructor Summary | |
ResourceSetOperation()
|
Method Summary | |
protected abstract void |
execute(IProgressMonitor monitor)
Execute this operation. |
IStatus |
getResult()
Returns the result from this operation's execution. |
void |
run(IProgressMonitor monitor)
|
void |
setResult(IStatus resultIn)
Sets the result of this operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceSetOperation()
Method Detail |
public IStatus getResult()
null
if the operation has not executed yet.
public void setResult(IStatus resultIn)
resultIn
- The result of this operation executionpublic final void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
run
in interface IRunnableWithProgress
InvocationTargetException
InterruptedException
IRunnableWithProgress.run(org.eclipse.core.runtime.IProgressMonitor)
protected abstract void execute(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
monitor
- Progress monitor to display progress and allow for user cancel
requests
InvocationTargetException
InterruptedException
|
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.