Class ToolboxPlugIn

java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
com.vividsolutions.jump.workbench.ui.toolbox.ToolboxPlugIn
All Implemented Interfaces:
CheckBoxed, EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled
Direct Known Subclasses:
BeanShellPlugIn, ConnectionManagerToolboxPlugIn, DataStoreTransactionManagerPlugIn, EasyButtonsPlugin, EditingPlugIn, WarpingPlugIn, ZoomBarPlugIn

public abstract class ToolboxPlugIn extends AbstractPlugIn implements CheckBoxed
Deprecated.
future implementations should use ToolboxPlugInV2 instead
  • Constructor Details

    • ToolboxPlugIn

      public ToolboxPlugIn()
      Deprecated.
  • Method Details

    • getToolbox

      public ToolboxDialog getToolbox()
      Deprecated.
    • getToolbox

      public ToolboxDialog getToolbox(WorkbenchContext context)
      Deprecated.
      Returns:
      the toolbox for this plug-in class.
    • initializeToolbox

      protected abstract void initializeToolbox(ToolboxDialog toolbox)
      Deprecated.
    • execute

      public boolean execute(PlugInContext context) throws Exception
      Deprecated.
      Toolbox subclasses can override this method to implement their own behaviour when the plug-in is called. Remember to call super.execute to make the toolbox visible.
      Specified by:
      execute in interface PlugIn
      Overrides:
      execute in class AbstractPlugIn
      Parameters:
      context - context of this PlugIn
      Returns:
      true if the PlugIn has been executed
      Throws:
      Exception - if an Exception occurs during execution
      See Also:
    • createMainMenuItem

      public void createMainMenuItem(String[] menuPath, Icon icon, WorkbenchContext context) throws Exception
      Deprecated.
      Creates a menu item with a checkbox beside it that appears when the toolbox is visible.
      Parameters:
      icon - null to leave unspecified
      Throws:
      Exception
    • getEnableCheck

      public EnableCheck getEnableCheck()
      Deprecated.
      Description copied from class: AbstractPlugIn
      Use reflection to find an EnableCheck object defined by old method createEnableCheck in this plugin.
      Specified by:
      getEnableCheck in interface EnableChecked
      Overrides:
      getEnableCheck in class AbstractPlugIn
      Returns:
      the EnableCheck defined the old way