weka.gui.explorer

## Interface ClustererPanelLaunchHandlerPlugin

-     public interface ClustererPanelLaunchHandlerPlugin

  Interface to plugin that can take the current state of the Clusterer panel and execute it. E.g. A plugin could be made to train and evaluate the configured clusterer on remote machine(s).

  For full access to the protected member variables in the ClustererPanel, an implementation will need to be packaged in weka.gui.explorer. The ClustererPanel looks for implementations when it is constructed, and will provide a new button (in the case of a single plugin) or a button that pops up a menu (in the case of multiple plugins) in order to invoke the launch() method on the plugin.

  Version:
    $Revision: 8034 $
  Author:
    Mark Hall (mhall{[at]}pentaho{[dot]}com)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getLaunchCommand()` Get the name of the launch command (to appear as the button text or in the popup menu)
    `void` | `launch()` Gets called when the user clicks the button or selects this plugin's entry from the popup menu.
    `void` | `setClustererPanel(ClustererPanel p)` Allows the clusterer panel to pass in a reference to itself

- - ### Method Detail

    - #### setClustererPanel

          void setClustererPanel(ClustererPanel p)

      Allows the clusterer panel to pass in a reference to itself
      Parameters:
        `p` - the ClustererPanel

    - #### getLaunchCommand

          java.lang.String getLaunchCommand()

      Get the name of the launch command (to appear as the button text or in the popup menu)
      Returns:
        the name of the launch command

    - #### launch

          void launch()

      Gets called when the user clicks the button or selects this plugin's entry from the popup menu.