public class SaveProjectAsPlugIn extends AbstractSaveProjectPlugIn
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILE_CHOOSER_DIRECTORY_KEY |
static javax.swing.ImageIcon |
ICON |
static javax.swing.filechooser.FileFilter |
JUMP_PROJECT_FILE_FILTER |
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
SaveProjectAsPlugIn() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
java.lang.String |
getName()
Returns a very brief description of this PlugIn e.g. for display as a menu item
|
void |
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves.
|
getEnableCheck, ignoredLayers, save
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public static final javax.swing.ImageIcon ICON
public static final java.lang.String FILE_CHOOSER_DIRECTORY_KEY
public static final javax.swing.filechooser.FileFilter JUMP_PROJECT_FILE_FILTER
public void initialize(PlugInContext context) throws java.lang.Exception
PlugIn
initialize
in interface PlugIn
initialize
in class AbstractSaveProjectPlugIn
java.lang.Exception
public java.lang.String getName()
PlugIn
getName
in interface PlugIn
getName
in class AbstractPlugIn
public boolean execute(PlugInContext context) throws java.lang.Exception
PlugIn
false
to prevent the run method
from being called.execute
in interface PlugIn
execute
in class AbstractPlugIn
java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn