java.lang.Object
de.grogra.pf.ui.util.SynchronousCommand
- All Implemented Interfaces:
Command
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a name which can be used in the graphical user interface to represent this command.void
Performs the actions of this command.void
runAndWait
(Object info, Context ctx, int flags)
-
Field Details
-
command
-
-
Constructor Details
-
SynchronousCommand
-
-
Method Details
-
run
Description copied from interface:Command
Performs the actions of this command. This method is invoked by theJobManager
after the command has been submitted to the job manager by one ofexecute
,runAt
, orrunLater
-methods. The argumentsinfo
andcontext
are the arguments which have been provided as arguments to theJobManager
-methods. -
getCommandName
Description copied from interface:Command
Returns a name which can be used in the graphical user interface to represent this command.- Specified by:
getCommandName
in interfaceCommand
- Returns:
- this commands's name
-
runAndWait
- Throws:
InterruptedException
-