Oxygen XML Editor, Version 14.2

ro.sync.exml.plugin
Class PluginAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ro.sync.ui.application.action.TaggedAction
          extended by 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

Field Summary
protected  PluginExtension pluginExtension
          The plugin extension that will be run.
 
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.
 
Method Summary
 javax.swing.KeyStroke getAcceleratorKey()
           
 java.lang.String getName()
          Get the action name
 
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
 

Field Detail

pluginExtension

protected PluginExtension pluginExtension
The plugin extension that will be run.

Constructor Detail

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
Method Detail

getName

public java.lang.String getName()
Get the action name

Returns:
The action name

getAcceleratorKey

public javax.swing.KeyStroke getAcceleratorKey()
Returns:
The accelerator key

Oxygen XML Editor, Version 14.2

© Copyright Syncro Soft SRL 2002 - 2013. All rights reserved.