org.argouml.model.uml
Class UmlModelListener

java.lang.Object
  |
  +--org.argouml.model.uml.UmlModelListener

public class UmlModelListener
extends java.lang.Object

A single listener that converts MElementEvents into Argo events.

Since:
ARGO0.11.2

Method Summary
static UmlModelListener getInstance()
          Singleton instance access method.
 void listRoleItemSet(MElementEvent mee)
          Handle the event.
protected  void notifyModelChanged(MElementEvent mee)
          Common model change notification process.
 void propertySet(MElementEvent mee)
          Handle the event.
 void recovered(MElementEvent mee)
          Handle the event.
 void removed(MElementEvent mee)
          Handle the event.
 void roleAdded(MElementEvent mee)
          Handle the event.
 void roleRemoved(MElementEvent mee)
          Handle the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static UmlModelListener getInstance()
Singleton instance access method.


listRoleItemSet

public void listRoleItemSet(MElementEvent mee)
Handle the event.


propertySet

public void propertySet(MElementEvent mee)
Handle the event. Provides a model change notification only if the property values differ.


recovered

public void recovered(MElementEvent mee)
Handle the event.


removed

public void removed(MElementEvent mee)
Handle the event.


roleAdded

public void roleAdded(MElementEvent mee)
Handle the event. Provides a model change notification.


roleRemoved

public void roleRemoved(MElementEvent mee)
Handle the event. Provides a model change notification.


notifyModelChanged

protected void notifyModelChanged(MElementEvent mee)
Common model change notification process.



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