easik.ui.menu.popup
Class NewInjectiveEdgeAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by easik.ui.menu.popup.NewInjectiveEdgeAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class NewInjectiveEdgeAction
extends javax.swing.AbstractAction

This class contains the action for the click on the popup menu to create an new injective edge. This could be boiled down a little bit in order to remove extra classes (possibly combining it with the other edge adding routine)

Version:
2006-07-13 Kevin Green
Author:
Rob Fletcher 2005, Kevin Green 2006
See Also:
Serialized Form

Field Summary
 
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
NewInjectiveEdgeAction()
          Initialize the new menu option
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Create an injective edge if the selection allows for it.
 
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
 

Constructor Detail

NewInjectiveEdgeAction

public NewInjectiveEdgeAction()
Initialize the new menu option

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Create an injective edge if the selection allows for it.

Parameters:
e - The action event