edu.stanford.smi.protegex.widget.diagram
Class Diagrams_AddNode
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--edu.stanford.smi.protegex.widget.diagram.Diagrams_Action
|
+--edu.stanford.smi.protegex.widget.diagram.Diagrams_AddNode
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, Constants, EventListener, Serializable
- Direct Known Subclasses:
- Diagrams_AddInstance, Diagrams_CreateInstance, Diagrams_PrototypeAction
- public abstract class Diagrams_AddNode
- extends Diagrams_Action
- implements Constants
Description of the class
- Author:
- William Grosso
- See Also:
- Serialized Form
Fields inherited from interface edu.stanford.smi.protegex.widget.diagram.Constants |
CONFIGURATION_BASED_VISIBILITY_CHECKER, CONNECTOR_CLASS, CONNECTORS_SLOT, DEFAULT_LAST_DIVIDER_LOCATION, DEFAULT_LOWER_BOUND_ON_DIAGRAM_LOGICAL_HEIGHT, DEFAULT_LOWER_BOUND_ON_DIAGRAM_LOGICAL_WIDTH, DEFAULT_NODE_HEIGHT, DEFAULT_NODE_WIDTH, FIRST_OBJECT_SLOT_NAME, FIRST_OBJECT_SLOT_POINTER_NAME, IMAGE_CONTROLPOINT_PRECISION, IMAGE_MINIMUM_SIZE, LAST_DIVIDER_LOCATION, LAYOUT_INFORMATION_SLOT, LOCATION_SLOT, LOWER_RIGHT_CORNER_SLOT, MAIN_SIDE_RECTANGLE_HEIGHT, MAIN_SIDE_RECTANGLE_WIDTH, NETWORK_CLASS, NETWORK_METACLASS, NODE_SLOT, OBJECT_LOCATION_CLASS, OBJECT_SLOT, POINT_CLASS, POINT_X_SLOT, POINT_Y_SLOT, PROJECT_VISIBILITY_CHECKER, RECTANGLE_CLASS, SECOND_OBJECT_SLOT_NAME, SECOND_OBJECT_SLOT_POINTER_NAME, UPPER_LEFT_CORNER_SLOT, WIRE_CONTROLPOINT_PRECISION, WIRE_MINIMUM_SIZE |
_panel
protected DiagramsPanel _panel
Diagrams_AddNode
public Diagrams_AddNode(DiagramsPanel panel,
DiagramWidget widget,
AnimationContext mainDrawingArea,
String toolTip,
Icon icon)
actionPerformed
public abstract void actionPerformed(ActionEvent event)
- Overrides:
actionPerformed
in class Diagrams_Action
addConnector
protected void addConnector(edu.stanford.smi.protege.model.Instance instance)
addInstance
protected void addInstance(edu.stanford.smi.protege.model.Instance instance)
addInstances
protected void addInstances(Collection newSelections)
addNode
protected void addNode(edu.stanford.smi.protege.model.Instance instance)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.