public class ShortcutKeysPlugIn extends AbstractPlugIn
Modifier and Type | Field and Description |
---|---|
static javax.swing.ImageIcon |
ICON |
static java.lang.String |
NAME |
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
ShortcutKeysPlugIn() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
static java.lang.String |
getClassName() |
javax.swing.Icon |
getIcon() |
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getName, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, initialize, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public static final javax.swing.ImageIcon ICON
public static final java.lang.String NAME
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
public javax.swing.Icon getIcon()
public static java.lang.String getClassName()