Protege-2000 1.7

edu.stanford.smi.protegex.widget.diagram
Class Diagrams_CreateInstance

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--edu.stanford.smi.protegex.widget.diagram.Diagrams_Action
              |
              +--edu.stanford.smi.protegex.widget.diagram.Diagrams_AddNode
                    |
                    +--edu.stanford.smi.protegex.widget.diagram.Diagrams_CreateInstance
All Implemented Interfaces:
Action, ActionListener, Cloneable, Constants, EventListener, Serializable

public class Diagrams_CreateInstance
extends Diagrams_AddNode

Description of the class

Author:
William Grosso
See Also:
Serialized Form

Field Summary
protected  Collection _allowedClses
           
 
Fields inherited from class edu.stanford.smi.protegex.widget.diagram.Diagrams_AddNode
_panel
 
Fields inherited from class edu.stanford.smi.protegex.widget.diagram.Diagrams_Action
_mainDrawingArea, _widget
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
Diagrams_CreateInstance(DiagramsPanel panel, DiagramWidget widget, AnimationContext animationContext)
           
Diagrams_CreateInstance(DiagramsPanel panel, DiagramWidget widget, AnimationContext animationContext, Collection allowedClses)
           
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 void setAllowedClses(Collection allowedClses)
           
 
Methods inherited from class edu.stanford.smi.protegex.widget.diagram.Diagrams_AddNode
addConnector, addInstance, addInstances, addNode
 
Methods inherited from class javax.swing.AbstractAction
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

_allowedClses

protected Collection _allowedClses
Constructor Detail

Diagrams_CreateInstance

public Diagrams_CreateInstance(DiagramsPanel panel,
                               DiagramWidget widget,
                               AnimationContext animationContext)

Diagrams_CreateInstance

public Diagrams_CreateInstance(DiagramsPanel panel,
                               DiagramWidget widget,
                               AnimationContext animationContext,
                               Collection allowedClses)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Overrides:
actionPerformed in class Diagrams_AddNode

setAllowedClses

public void setAllowedClses(Collection allowedClses)

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.