ConForM.CoopnTools.HLPN
Class HLPNAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--ConForM.CoopnTools.HLPN.HLPNAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, GraphicalVisualEditoredMenuItem, java.io.Serializable
Direct Known Subclasses:
CopyPlaceTransfoAction, ShowSourceAction, ShowTargetAction

public abstract class HLPNAction
extends javax.swing.AbstractAction
implements GraphicalVisualEditoredMenuItem

Generic HLPN action.

See Also:
Serialized Form

Field Summary
protected  GraphicalVisualToolEditor editor
           
protected  CoopnEnv env
           
protected static java.lang.String ResourceFile
           
protected  HLPN tool
           
 
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
HLPNAction(HLPN tool, CoopnEnv env)
           
 
Method Summary
abstract  java.lang.String actionLabel()
           
abstract  java.lang.String actionMnemoLabel()
           
 char mnemonic()
           
 void setEditor(GraphicalVisualEditor editor)
          Set the associated editor.
 
Methods inherited from class javax.swing.AbstractAction
actionPerformed, 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
 

Field Detail

ResourceFile

protected static final java.lang.String ResourceFile

tool

protected HLPN tool

editor

protected GraphicalVisualToolEditor editor

env

protected CoopnEnv env
Constructor Detail

HLPNAction

public HLPNAction(HLPN tool,
                  CoopnEnv env)
Method Detail

mnemonic

public char mnemonic()

setEditor

public void setEditor(GraphicalVisualEditor editor)
Set the associated editor.
Specified by:
setEditor in interface GraphicalVisualEditoredMenuItem
Parameters:
editor - the associated editor; iff null; reset the editor

actionLabel

public abstract java.lang.String actionLabel()

actionMnemoLabel

public abstract java.lang.String actionMnemoLabel()