Class OpenFilePlugIn

All Implemented Interfaces:
EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled, ThreadedPlugIn, ActionListener, EventListener

public class OpenFilePlugIn extends AbstractWizardPlugin
Plug-in to open files using a wizard.
Author:
Paul Austin
  • Constructor Details

    • OpenFilePlugIn

      public OpenFilePlugIn()
      Construct the main Open File plug-in.
    • OpenFilePlugIn

      public OpenFilePlugIn(WorkbenchContext workbenchContext, File file)
      Construct an Open File for the recent menu to load an individual file.
      Parameters:
      workbenchContext - The workbench context.
      file - The file to load.
    • OpenFilePlugIn

      public OpenFilePlugIn(WorkbenchContext workbenchContext, File[] files)
  • Method Details

    • initialize

      public void initialize(PlugInContext context) throws Exception
      Initialise the main instance of this plug-in, should not be called for the Recent menu open file plug-ins.
      Specified by:
      initialize in interface PlugIn
      Overrides:
      initialize in class AbstractUiPlugIn
      Parameters:
      context - The plug-in context.
      Throws:
      Exception - If there was an error initialising the plug-in.