de.grogra.pf.ui.util
| Constructor and Description |
|---|
SynchronousCommand(Command command) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommandName()
Returns a name which can be used in the graphical user interface
to represent this command.
|
void |
run(java.lang.Object object,
Context ctx)
Performs the actions of this command.
|
void |
runAndWait(java.lang.Object info,
Context ctx,
int flags) |
protected final Command command
public SynchronousCommand(Command command)
public java.lang.String getCommandName()
CommandgetCommandName in interface Commandpublic void run(java.lang.Object object,
Context ctx)
CommandJobManager after the command has been submitted
to the job manager by one of execute, runAt,
or runLater-methods. The arguments info
and context are the arguments which have been provided
as arguments to the JobManager-methods.public void runAndWait(java.lang.Object info,
Context ctx,
int flags)
throws java.lang.InterruptedException
java.lang.InterruptedException