|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.ui.operations.SystemProgressDialogRunnableContext
public class SystemProgressDialogRunnableContext
This runnable context blocks the UI and can therefore have a shell assigned to it (since the shell won't be closed by the user before the runnable completes).
Constructor Summary | |
---|---|
SystemProgressDialogRunnableContext(Shell shell)
Constructor. |
Method Summary | |
---|---|
ISchedulingRule |
getSchedulingRule()
Returns the scheduling rule that will be obtained before the context executes a runnable or null if no scheduling rule is to be obtained. |
Shell |
getShell()
Returns the shell. |
boolean |
isPostponeBuild()
Returns whether the auto-build will be postponed while this context is executing a runnable. |
void |
run(IRunnableWithProgress runnable)
Runs the runnable. |
void |
setPostponeBuild(boolean postponeBuild)
Sets whether the auto-build will be postponed while this context is executing a runnable. |
void |
setRunnableContext(IRunnableContext runnableContext)
Sets the runnable context that is used to execute the runnable. |
void |
setSchedulingRule(ISchedulingRule schedulingRule)
Sets the scheduling rule that will be obtained before the context executes a runnable or null if no scheduling rule is to be obtained. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemProgressDialogRunnableContext(Shell shell)
shell
- the shell for the runnable context.Method Detail |
---|
public boolean isPostponeBuild()
true
if the auto-build will be postponed while this
context is executing a runnable, false
otherwise.public void setPostponeBuild(boolean postponeBuild)
postponeBuild
- true
to postpone the auto-build, false
public ISchedulingRule getSchedulingRule()
null
if no scheduling rule is to be obtained.
null
.public void setSchedulingRule(ISchedulingRule schedulingRule)
null
if no scheduling rule is to be obtained.
schedulingRule
- the scheduling rule to be obtained or null
.public Shell getShell()
getShell
in interface ISystemRunnableContext
ISystemRunnableContext.getShell()
public void setRunnableContext(IRunnableContext runnableContext)
runnableContext
- the runnable contenxt used to execute runnables.public void run(IRunnableWithProgress runnable) throws InvocationTargetException, InterruptedException
run
in interface ISystemRunnableContext
InvocationTargetException
InterruptedException
ISystemRunnableContext.run(org.eclipse.jface.operation.IRunnableWithProgress)
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |