- 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,LayoutNavigationFactory,LockProtectedCommand,LSystem.Apply,NewProject,NewRGG,OptionExplorerFactory,OutlineExplorer,PanelFactory,ProjectExplorerFactory,RemoteClientImpl,RGG.Apply,SearchExplorerFactory,SpaceFilledVisualizer,SwingTree,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
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns a name which can be used in the graphical user interface to represent this command.voidPerforms 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 theJobManagerafter the command has been submitted to the job manager by one ofexecute,runAt, orrunLater-methods. The argumentsinfoandcontextare the arguments which have been provided as arguments to theJobManager-methods.- Parameters:
info- an argumentcontext- a context
-