- All Known Implementing Classes:
APIApplication
,APIRunner
,BackboneVisualizer
,BallStickVisualizer
,ButtonWidget
,CLIApplication
,CommandItem
,EditTool
,EventAdapter
,ExplorerFactory
,HelpExplorerFactory
,HighlighterImpl.Unhighlight
,HttpResponse
,HttpServerProject
,IMP
,Job
,LabelRenderer
,LabelRenderer.LabelData
,Layout
,LockProtectedCommand
,LSystem.Apply
,NewProject
,NewRGG
,OptionExplorerFactory
,PanelFactory
,ProjectExplorerFactory
,RemoteClientImpl
,RGG.Apply
,SpaceFilledVisualizer
,SynchronousCommand
,ToolBarFactory
,UIApplication
,WidgetAdapter
,XLinLineRunner
,XLMacro
public interface Command
A
Command
is an object which can be executed
by a set of methods of a JobManager
.- Author:
- Ole Kniemeyer
-
Field 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.
-
Field Details
-
DISPOSE
-
-
Method Details
-
getCommandName
String getCommandName()Returns a name which can be used in the graphical user interface to represent this command.- Returns:
- this commands's name
-
run
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.- Parameters:
info
- an argumentcontext
- a context
-