org.argouml.util
Class ChangeRegistry

java.lang.Object
  |
  +--org.argouml.util.ChangeRegistry
Direct Known Subclasses:
UMLChangeRegistry

public class ChangeRegistry
extends java.lang.Object

This class holds the information about the saving state of the current project. The state is changed by every change made to its diagrams.

See Also:
Project

Field Summary
protected  boolean changeFlag
           
 
Constructor Summary
ChangeRegistry()
           
 
Method Summary
 void edgeAdded(GraphEvent e)
           
 void edgeRemoved(GraphEvent e)
           
 void graphChanged(GraphEvent e)
           
 boolean hasChanged()
           
 void nodeAdded(GraphEvent e)
           
 void nodeRemoved(GraphEvent e)
           
 void setChangeFlag(boolean newValue)
          changes save state / notifies gui.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changeFlag

protected boolean changeFlag
Constructor Detail

ChangeRegistry

public ChangeRegistry()
Method Detail

setChangeFlag

public void setChangeFlag(boolean newValue)
changes save state / notifies gui.


hasChanged

public boolean hasChanged()

nodeAdded

public void nodeAdded(GraphEvent e)

edgeAdded

public void edgeAdded(GraphEvent e)

nodeRemoved

public void nodeRemoved(GraphEvent e)

edgeRemoved

public void edgeRemoved(GraphEvent e)

graphChanged

public void graphChanged(GraphEvent e)


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