Interface GraphicalEnvironmentCommandHandler

  • All Known Implementing Classes:
    KFGraphicalEnvironmentCommandHandler

    public interface GraphicalEnvironmentCommandHandler
    Interface for graphical command handlers
    Version:
    $Revision: $
    Author:
    Mark Hall (mhall{[at]}pentaho{[dot]}com)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T performCommand​(java.lang.String commandName, java.lang.Object... commandArgs)
      Attempt to perform a graphical command (if supported) in the current graphical environment
    • Method Detail

      • performCommand

        <T> T performCommand​(java.lang.String commandName,
                             java.lang.Object... commandArgs)
                      throws WekaException
        Attempt to perform a graphical command (if supported) in the current graphical environment
        Parameters:
        commandName - the name of the command to execute
        commandArgs - the optional arguments
        Returns:
        the result of performing the command, or null if the command does not return a result
        Throws:
        WekaException - if a problem occurs