Package weka.gui.knowledgeflow
Class SendToPerspectiveGraphicalCommand
- java.lang.Object
-
- weka.gui.knowledgeflow.AbstractGraphicalCommand
-
- weka.gui.knowledgeflow.SendToPerspectiveGraphicalCommand
-
public class SendToPerspectiveGraphicalCommand extends AbstractGraphicalCommand
Class implementing sending a set of Instances to a named perspective- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
-
Field Summary
Fields Modifier and Type Field Description static StringSEND_TO_PERSPECTIVE_COMMAND_KEYCommand ID
-
Constructor Summary
Constructors Constructor Description SendToPerspectiveGraphicalCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommandDescription()Get the description of this commandStringgetCommandName()Get the name of the commandObjectperformCommand(Object... commandArgs)Execute the commandvoidsetGraphicalEnvironment(Object graphicalEnvironment)Set the graphical environment
-
-
-
Field Detail
-
SEND_TO_PERSPECTIVE_COMMAND_KEY
public static final String SEND_TO_PERSPECTIVE_COMMAND_KEY
Command ID- See Also:
- Constant Field Values
-
-
Method Detail
-
setGraphicalEnvironment
public void setGraphicalEnvironment(Object graphicalEnvironment)
Set the graphical environment- Overrides:
setGraphicalEnvironmentin classAbstractGraphicalCommand- Parameters:
graphicalEnvironment- the graphical environment
-
getCommandName
public String getCommandName()
Get the name of the command- Specified by:
getCommandNamein classAbstractGraphicalCommand- Returns:
- the name of the command
-
getCommandDescription
public String getCommandDescription()
Get the description of this command- Specified by:
getCommandDescriptionin classAbstractGraphicalCommand- Returns:
- the description of this command
-
performCommand
public Object performCommand(Object... commandArgs) throws WekaException
Execute the command- Specified by:
performCommandin classAbstractGraphicalCommand- Parameters:
commandArgs- arguments to the command- Returns:
- null (no return value for this command)
- Throws:
WekaException- if a problem occurs
-
-