public class PasteItemsAtPlugIn extends PasteItemsPlugIn
Modifier and Type | Field and Description |
---|---|
static javax.swing.ImageIcon |
ICON |
MUST_CONTAIN_GEOMETRY, MUST_NOT_BE_EMPTY
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
PasteItemsAtPlugIn() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
javax.swing.ImageIcon |
getIcon() |
void |
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves.
|
conform, createEnableCheck, getNameWithMnemonic
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getName, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public void initialize(PlugInContext context) throws java.lang.Exception
PlugIn
initialize
in interface PlugIn
initialize
in class AbstractPlugIn
java.lang.Exception
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 PasteItemsPlugIn
java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn
public javax.swing.ImageIcon getIcon()
getIcon
in class PasteItemsPlugIn