Package weka.gui.knowledgeflow
Class KFGraphicalEnvironmentCommandHandler
java.lang.Object
weka.gui.knowledgeflow.KFGraphicalEnvironmentCommandHandler
- All Implemented Interfaces:
GraphicalEnvironmentCommandHandler
public class KFGraphicalEnvironmentCommandHandler
extends Object
implements GraphicalEnvironmentCommandHandler
Default Knowledge Flow graphical command handler
- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
Constructor Summary
ConstructorDescriptionKFGraphicalEnvironmentCommandHandler
(MainKFPerspective mainPerspective) Constructor -
Method Summary
Modifier and TypeMethodDescription<T> T
performCommand
(String commandName, Object... commandArgs) Perform a command
-
Constructor Details
-
KFGraphicalEnvironmentCommandHandler
Constructor- Parameters:
mainPerspective
- the main perspective of the GUI
-
-
Method Details
-
performCommand
Perform a command- Specified by:
performCommand
in interfaceGraphicalEnvironmentCommandHandler
- Type Parameters:
T
- the type of the return value- Parameters:
commandName
- the name of the command to executecommandArgs
- the optional arguments- Returns:
- a result, or null if the command does not return a result
- Throws:
WekaException
- if a problem occurs
-