org.argouml.util
Class ChangeRegistry
java.lang.Object
org.argouml.util.ChangeRegistry
- All Implemented Interfaces:
- java.util.EventListener, org.tigris.gef.graph.GraphListener
- Direct Known Subclasses:
- UMLChangeRegistry
- public class ChangeRegistry
- extends java.lang.Object
- implements org.tigris.gef.graph.GraphListener
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
changeFlag
protected boolean changeFlag
ChangeRegistry
public ChangeRegistry()
setChangeFlag
public void setChangeFlag(boolean newValue)
- changes save state / notifies gui.
hasChanged
public boolean hasChanged()
nodeAdded
public void nodeAdded(org.tigris.gef.graph.GraphEvent e)
- Specified by:
nodeAdded
in interface org.tigris.gef.graph.GraphListener
edgeAdded
public void edgeAdded(org.tigris.gef.graph.GraphEvent e)
- Specified by:
edgeAdded
in interface org.tigris.gef.graph.GraphListener
nodeRemoved
public void nodeRemoved(org.tigris.gef.graph.GraphEvent e)
- Specified by:
nodeRemoved
in interface org.tigris.gef.graph.GraphListener
edgeRemoved
public void edgeRemoved(org.tigris.gef.graph.GraphEvent e)
- Specified by:
edgeRemoved
in interface org.tigris.gef.graph.GraphListener
graphChanged
public void graphChanged(org.tigris.gef.graph.GraphEvent e)
- Specified by:
graphChanged
in interface org.tigris.gef.graph.GraphListener