org.argouml.ui
Class ArgoDiagram

java.lang.Object
  |
  +--Diagram
        |
        +--org.argouml.ui.ArgoDiagram
Direct Known Subclasses:
DiagramHelper, UMLDiagram

public class ArgoDiagram
extends Diagram

See Also:
Serialized Form

Field Summary
protected static ArgoDiagram TheInstance
           
 
Constructor Summary
ArgoDiagram()
           
ArgoDiagram(java.lang.String diagramName)
           
 
Method Summary
 void addChangeRegistryAsListener(ChangeRegistry change)
           
 void damage()
           
 Fig getContainingFig(java.lang.Object obj)
          Finds the presentation (the fig) for some object.
 java.util.Vector getEdges()
           
 ItemUID getItemUID()
           
 java.util.Vector getNodes()
           
 java.lang.String getVetoMessage(java.lang.String propertyName)
           
 void initialize(java.lang.Object owner)
           
 void removeChangeRegistryAsListener(ChangeRegistry change)
           
 void setItemUID(ItemUID id)
           
 void setName(java.lang.String n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TheInstance

protected static ArgoDiagram TheInstance
Constructor Detail

ArgoDiagram

public ArgoDiagram()

ArgoDiagram

public ArgoDiagram(java.lang.String diagramName)
Method Detail

setName

public void setName(java.lang.String n)
             throws java.beans.PropertyVetoException
java.beans.PropertyVetoException

setItemUID

public void setItemUID(ItemUID id)

getItemUID

public ItemUID getItemUID()

addChangeRegistryAsListener

public void addChangeRegistryAsListener(ChangeRegistry change)

removeChangeRegistryAsListener

public void removeChangeRegistryAsListener(ChangeRegistry change)

getVetoMessage

public java.lang.String getVetoMessage(java.lang.String propertyName)
Returns:
a message or null if not applicable.
See Also:
org.argouml.uml.ui.VetoablePropertyChange#getVetoMessage(String)

getContainingFig

public Fig getContainingFig(java.lang.Object obj)
Finds the presentation (the fig) for some object. If the object is a modelelement that is contained in some other modelelement that has its own fig, that fig is returned. It extends presentationFor that only gets the fig belonging to the node obj.


initialize

public void initialize(java.lang.Object owner)
See Also:
org.tigris.gef.base.Diagram#initialize(Object)

damage

public void damage()

getEdges

public java.util.Vector getEdges()
See Also:
org.tigris.gef.base.Diagram#getEdges()

getNodes

public java.util.Vector getNodes()
See Also:
org.tigris.gef.base.Diagram#getNodes()


ArgoUML © 1996-2003 (20030919)ArgoUML Project HomeArgoUML Cookbook