ro.sync.exml.plugin
Class PluginAction
java.lang.Object
javax.swing.AbstractAction
ro.sync.ui.application.action.TaggedAction
ro.sync.exml.plugin.PluginAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, ro.sync.ui.application.action.ITaggedAction
public abstract class PluginAction
- extends ro.sync.ui.application.action.TaggedAction
Plugin action is an abstract action that stores the plugin extension that will be runned by the
caller. The caller is responsible to handle the extension type, extension context and eventually
results.
- See Also:
- Serialized Form
Fields inherited from class ro.sync.ui.application.action.TaggedAction |
CHECKBOX_SELECTED, messages, USE_CHECKBOX |
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface ro.sync.ui.application.action.ITaggedAction |
DEFAULT_ACTION |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary |
PluginAction(java.lang.String pluginName,
PluginExtension pluginExtension,
java.lang.String keyboardShortcut)
PluginAction Constructor. |
Methods inherited from class ro.sync.ui.application.action.TaggedAction |
actionPerformed, getKeyStroke, getTag, logUsage, performAction, setKeyStroke |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.Action |
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
pluginExtension
protected PluginExtension pluginExtension
- The plugin extension that will be run.
PluginAction
public PluginAction(java.lang.String pluginName,
PluginExtension pluginExtension,
java.lang.String keyboardShortcut)
- PluginAction Constructor.
- Parameters:
pluginName
- The name of the plugin.pluginExtension
- The plugin extension that will be runned by this action.keyboardShortcut
- The keyboard shortcut of the action
getName
public java.lang.String getName()
- Get the action name
- Returns:
- The action name
getAcceleratorKey
public javax.swing.KeyStroke getAcceleratorKey()
- Returns:
- The accelerator key
© Copyright Syncro Soft SRL 2002 - 2013. All rights reserved.