org.fife.rtext.plugins.macros
Class RunMacroAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.fife.ui.app.StandardAction
          extended by org.fife.rtext.plugins.macros.RunMacroAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class RunMacroAction
extends StandardAction

Action that runs a macro (script). javax.script classes are referenced via reflection, since we support Java 1.4 and 1.5.

Version:
1.0
Author:
Robert Futrell
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.fife.ui.app.StandardAction
DEFAULT_ACCELERATOR
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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
RunMacroAction(RText app, MacroPlugin plugin, Macro macro)
          Constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class org.fife.ui.app.StandardAction
getAccelerator, getApplication, getDefaultAccelerator, getIcon, getMnemonic, getName, getShortDescription, setAccelerator, setDefaultAccelerator, setIcon, setIcon, setIcon, setMnemonic, setName, setShortDescription
 
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
 

Constructor Detail

RunMacroAction

public RunMacroAction(RText app,
                      MacroPlugin plugin,
                      Macro macro)
Constructor.

Parameters:
app - The parent application.
plugin - The plugin.
macro - The macro to run.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)