public class OpenFilePlugIn extends AbstractWizardPlugin
enableCheck, workbenchContext
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
OpenFilePlugIn()
Construct the main Open File plug-in.
|
OpenFilePlugIn(WorkbenchContext workbenchContext,
java.io.File file)
Construct an Open File for the recent menu to load an individual file.
|
OpenFilePlugIn(WorkbenchContext workbenchContext,
java.io.File[] files) |
Modifier and Type | Method and Description |
---|---|
void |
initialize(PlugInContext context)
Initialise the main instance of this plug-in, should not be called for the
Recent menu open file plug-ins.
|
execute, getWizard, run, setWizard
actionPerformed, getEnableCheck, getIcon, getName, getToolTip, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContext
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isShortcutEnabled, registerShortcuts, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public OpenFilePlugIn()
public OpenFilePlugIn(WorkbenchContext workbenchContext, java.io.File file)
workbenchContext
- The workbench context.file
- The file to load.public OpenFilePlugIn(WorkbenchContext workbenchContext, java.io.File[] files)
public void initialize(PlugInContext context) throws java.lang.Exception
initialize
in interface PlugIn
initialize
in class AbstractUiPlugIn
context
- The plug-in context.java.lang.Exception
- If there was an error initialising the plug-in.