toxtree.ui.tree.actions
Class EditRuleAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by toxtree.ui.tree.actions.AbstractTreeAction
          extended by toxtree.ui.tree.actions.EditRuleAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, IRuleAction, ITreeAction

public class EditRuleAction
extends AbstractTreeAction
implements IRuleAction

Launches IDecisionRuleEditor of a preset rule. An AbstractTreeAction descendant

Author:
Nina jeliazkova Modified 2005-10-23
See Also:
Serialized Form

Field Summary
protected  IDecisionRule rule
           
 
Fields inherited from class toxtree.ui.tree.actions.AbstractTreeAction
PARENTKEY, tree
 
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
EditRuleAction(IDecisionMethod tree)
           
EditRuleAction(IDecisionMethod tree, java.lang.String arg0)
           
EditRuleAction(IDecisionMethod tree, java.lang.String arg0, javax.swing.Icon arg1)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
           
 IDecisionRule getRule()
           
 void setRule(IDecisionRule rule)
           
 
Methods inherited from class toxtree.ui.tree.actions.AbstractTreeAction
getParentFrame, getTree, setTree
 
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
 

Field Detail

rule

protected IDecisionRule rule
Constructor Detail

EditRuleAction

public EditRuleAction(IDecisionMethod tree)

EditRuleAction

public EditRuleAction(IDecisionMethod tree,
                      java.lang.String arg0)

EditRuleAction

public EditRuleAction(IDecisionMethod tree,
                      java.lang.String arg0,
                      javax.swing.Icon arg1)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getRule

public IDecisionRule getRule()
Specified by:
getRule in interface IRuleAction

setRule

public void setRule(IDecisionRule rule)
Specified by:
setRule in interface IRuleAction


Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.