|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.services.clientserver.SystemOperationMonitor
public class SystemOperationMonitor
A monitor to support cancellation of operations in an environment where Eclipse IProgressMonitor is not available.
Constructor Summary | |
---|---|
SystemOperationMonitor()
|
Method Summary | |
---|---|
boolean |
isCancelled()
Returns whether cancelation of current operation has been requested. |
boolean |
isDone()
Notifies that the work is done; that is, either the main task is completed or the user cancelled it. |
void |
setCancelled(boolean value)
Sets the cancel state to the given value. |
void |
setDone(boolean value)
Sets the done state to the given value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemOperationMonitor()
Method Detail |
---|
public boolean isDone()
ISystemOperationMonitor
isDone
in interface ISystemOperationMonitor
public void setDone(boolean value)
ISystemOperationMonitor
setDone
in interface ISystemOperationMonitor
value
- true
indicates that this operation has finished
false
clears this flagISystemOperationMonitor.isDone()
public boolean isCancelled()
ISystemOperationMonitor
isCancelled
in interface ISystemOperationMonitor
true
if cancellation has been requested,
and false
otherwiseISystemOperationMonitor.setCancelled(boolean)
public void setCancelled(boolean value)
ISystemOperationMonitor
setCancelled
in interface ISystemOperationMonitor
value
- true
indicates that cancelation has
been requested (but not necessarily acknowledged);
false
clears this flagISystemOperationMonitor.isCancelled()
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |