Class OpenFilePlugIn
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
org.openjump.core.ui.plugin.AbstractUiPlugIn
org.openjump.core.ui.plugin.AbstractThreadedUiPlugIn
org.openjump.core.ui.plugin.AbstractWizardPlugin
org.openjump.core.ui.plugin.file.OpenFilePlugIn
- All Implemented Interfaces:
EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled, ThreadedPlugIn, ActionListener, EventListener
Plug-in to open files using a wizard.
- Author:
- Paul Austin
-
Field Summary
Fields inherited from class AbstractUiPlugIn
enableCheck, workbenchContextFields inherited from class AbstractPlugIn
shortcutKeys, shortcutModifiers -
Constructor Summary
ConstructorsConstructorDescriptionConstruct the main Open File plug-in.OpenFilePlugIn(WorkbenchContext workbenchContext, File file) Construct an Open File for the recent menu to load an individual file.OpenFilePlugIn(WorkbenchContext workbenchContext, File[] files) -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(PlugInContext context) Initialise the main instance of this plug-in, should not be called for the Recent menu open file plug-ins.Methods inherited from class AbstractWizardPlugin
execute, getWizard, run, setWizardMethods inherited from class AbstractUiPlugIn
actionPerformed, getEnableCheck, getIcon, getName, getToolTip, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContextMethods inherited from class AbstractPlugIn
addParameter, createName, execute, execute, getBooleanParam, getContext, getDoubleParam, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, getWorkbenchContext, isShortcutEnabled, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
-
Constructor Details
-
OpenFilePlugIn
public OpenFilePlugIn()Construct the main Open File plug-in. -
OpenFilePlugIn
Construct an Open File for the recent menu to load an individual file.- Parameters:
workbenchContext- The workbench context.file- The file to load.
-
OpenFilePlugIn
-
-
Method Details
-
initialize
Initialise the main instance of this plug-in, should not be called for the Recent menu open file plug-ins.- Specified by:
initializein interfacePlugIn- Overrides:
initializein classAbstractUiPlugIn- Parameters:
context- The plug-in context.- Throws:
Exception- If there was an error initialising the plug-in.
-