|
RSE Release 3.3 |
|||||||||
| 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 ISystemOperationMonitorpublic void setDone(boolean value)
ISystemOperationMonitor
setDone in interface ISystemOperationMonitorvalue - true indicates that this operation has finished
false clears this flagISystemOperationMonitor.isDone()public boolean isCancelled()
ISystemOperationMonitor
isCancelled in interface ISystemOperationMonitortrue if cancellation has been requested,
and false otherwiseISystemOperationMonitor.setCancelled(boolean)public void setCancelled(boolean value)
ISystemOperationMonitor
setCancelled in interface ISystemOperationMonitorvalue - true indicates that cancelation has
been requested (but not necessarily acknowledged);
false clears this flagISystemOperationMonitor.isCancelled()
|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||