Package ptolemy.vergil.actor
Class ActorGraphFrame.InstantiateEntityAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- ptolemy.vergil.actor.ActorGraphFrame.InstantiateEntityAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
- Enclosing class:
- ActorGraphFrame
public static class ActorGraphFrame.InstantiateEntityAction extends javax.swing.AbstractActionAn action to instantiate an entity given a class name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstantiateEntityAction(ExtendedGraphFrame graphFrame, java.lang.String initialLastEntityClassName)Create a new action to instantiate an entity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)Instantiate a class by first opening a dialog to get a class name and then issuing a change request.-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
InstantiateEntityAction
public InstantiateEntityAction(ExtendedGraphFrame graphFrame, java.lang.String initialLastEntityClassName)
Create a new action to instantiate an entity.- Parameters:
graphFrame- The graph frame that will contain this attribute.initialLastEntityClassName- The initial value of the class name string in the instantiate entity dialog.
-
-