ponderToolkit.editor.actions
Class ParseAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--ponderToolkit.editor.EditorAction
              |
              +--ponderToolkit.editor.actions.ParseAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ParseAction
extends EditorAction

Function: The EditorAction used to parse the current document

See Also:
Serialized Form

Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ParseAction(java.lang.String name, ResourceStringMan strMan, TextFrame newTextFrame, Compiler newCompiler)
          Constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          actionPerformed - The action to be performed.
 
Methods inherited from class ponderToolkit.editor.EditorAction
getIdString, getKeyStroke
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseAction

public ParseAction(java.lang.String name,
                   ResourceStringMan strMan,
                   TextFrame newTextFrame,
                   Compiler newCompiler)
Constructor
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed - The action to be performed. If the selected tab is the "code" tab then this calls the Ponder Compiler If it is the meta-policies tab, it calls the priority-analyser
Overrides:
actionPerformed in class EditorAction