Class PluginAction

java.lang.Object
javax.swing.AbstractAction
ca.phon.plugin.PluginAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
CopyCommand, CutCommand, ExitCommand, HelpCommand, IpaMapCommand, LanguageCodesCommand, LogCommand, PasteCommand, PreferencesCommand, QueryHistoryCommand, QueryScriptCommand, WorkspaceCommand

public class PluginAction extends AbstractAction
Action for quickly executing plugin entry points.
See Also:
  • Constructor Details

    • PluginAction

      public PluginAction(String ep)
      Constructor
      Parameters:
      ep - ID of the plugin entry point
    • PluginAction

      public PluginAction(String ep, boolean runInBackground)
  • Method Details

    • putArg

      public void putArg(String name, Object val)
    • putArgs

      public void putArgs(Map<String,Object> args)
    • removeArg

      public void removeArg(String name)
    • clearArgs

      public void clearArgs()
    • actionPerformed

      public void actionPerformed(ActionEvent arg0)