Package weka.gui.knowledgeflow
Class AbstractGraphicalCommand
java.lang.Object
weka.gui.knowledgeflow.AbstractGraphicalCommand
- Direct Known Subclasses:
GetPerspectiveNamesGraphicalCommand
,SendToPerspectiveGraphicalCommand
Base class for a graphical command
- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
Get a description of this commandabstract String
Get the name of this commandabstract <T> T
performCommand
(Object... commandArgs) Perform the commandvoid
Set a reference to the graphical environment
-
Constructor Details
-
AbstractGraphicalCommand
public AbstractGraphicalCommand()
-
-
Method Details
-
setGraphicalEnvironment
Set a reference to the graphical environment -
getCommandName
Get the name of this command- Returns:
- the name of this command
-
getCommandDescription
Get a description of this command- Returns:
- a description of this command
-
performCommand
Perform the command- Type Parameters:
T
- the return type- Parameters:
commandArgs
- arguments to the command- Returns:
- the result, or null if the command does not return a result
- Throws:
WekaException
- if a problem occurs
-