org.merlotxml.merlot.plugin.action
Class ActionConfig

java.lang.Object
  extended byorg.merlotxml.merlot.plugin.action.ActionConfig

public class ActionConfig
extends java.lang.Object

Merlot Pluggable Action Configuration

Author:
Tim McCune

Field Summary
protected  java.lang.ClassLoader classLoader
           
protected  javax.swing.JMenuItem menu
           
protected  Action myAction
           
protected  ActionPluginConfig parent
           
protected static java.lang.String XPATH_CLASS
           
protected static java.lang.String XPATH_CONFIG
           
protected static java.lang.String XPATH_ICON
           
protected static java.lang.String XPATH_MENU
           
protected static java.lang.String XPATH_TEXT
           
protected static java.lang.String XPATH_TOOL_TIP
           
 
Constructor Summary
ActionConfig(java.lang.ClassLoader classLoader)
           
 
Method Summary
 Action getAction()
           
 javax.swing.JMenuItem getMenuItem()
           
 void parse(org.w3c.dom.Node node)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XPATH_TEXT

protected static final java.lang.String XPATH_TEXT
See Also:
Constant Field Values

XPATH_MENU

protected static final java.lang.String XPATH_MENU
See Also:
Constant Field Values

XPATH_CLASS

protected static final java.lang.String XPATH_CLASS
See Also:
Constant Field Values

XPATH_CONFIG

protected static final java.lang.String XPATH_CONFIG
See Also:
Constant Field Values

XPATH_ICON

protected static final java.lang.String XPATH_ICON
See Also:
Constant Field Values

XPATH_TOOL_TIP

protected static final java.lang.String XPATH_TOOL_TIP
See Also:
Constant Field Values

classLoader

protected java.lang.ClassLoader classLoader

menu

protected javax.swing.JMenuItem menu

parent

protected ActionPluginConfig parent

myAction

protected Action myAction
Constructor Detail

ActionConfig

public ActionConfig(java.lang.ClassLoader classLoader)
Method Detail

getAction

public Action getAction()

getMenuItem

public javax.swing.JMenuItem getMenuItem()

parse

public void parse(org.w3c.dom.Node node)
           throws org.xml.sax.SAXException,
                  java.lang.IllegalAccessException,
                  java.lang.InstantiationException,
                  java.lang.ClassNotFoundException
Throws:
org.xml.sax.SAXException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException

toString

public java.lang.String toString()