Package weka.gui.knowledgeflow
Class GetPerspectiveNamesGraphicalCommand
- java.lang.Object
-
- weka.gui.knowledgeflow.AbstractGraphicalCommand
-
- weka.gui.knowledgeflow.GetPerspectiveNamesGraphicalCommand
-
public class GetPerspectiveNamesGraphicalCommand extends AbstractGraphicalCommand
Class implementing a command for getting the names of all visible perspectives- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
-
Field Summary
Fields Modifier and Type Field Description static StringGET_PERSPECTIVE_NAMES_KEYCommand ID
-
Constructor Summary
Constructors Constructor Description GetPerspectiveNamesGraphicalCommand()
-
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 commandList<String>performCommand(Object... commandArgs)Execute the commandvoidsetGraphicalEnvironment(Object graphicalEnvironment)Set the graphical environment
-
-
-
Field Detail
-
GET_PERSPECTIVE_NAMES_KEY
public static final String GET_PERSPECTIVE_NAMES_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 List<String> 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
-
-