org.argouml.model.uml
Class UmlModelListener

java.lang.Object
  extended byorg.argouml.model.uml.UmlModelListener
All Implemented Interfaces:
java.util.EventListener, ru.novosoft.uml.MElementListener

public class UmlModelListener
extends java.lang.Object
implements ru.novosoft.uml.MElementListener

A single listener that converts MElementEvents into Argo events.

Since:
ARGO0.11.2

Method Summary
static UmlModelListener getInstance()
          Singleton instance access method.
 void listRoleItemSet(ru.novosoft.uml.MElementEvent mee)
          Handle the event.
protected  void notifyModelChanged(ru.novosoft.uml.MElementEvent mee)
          Common model change notification process.
 void propertySet(ru.novosoft.uml.MElementEvent mee)
          Handle the event.
 void recovered(ru.novosoft.uml.MElementEvent mee)
          Handle the event.
 void removed(ru.novosoft.uml.MElementEvent mee)
          Handle the event.
 void roleAdded(ru.novosoft.uml.MElementEvent mee)
          Handle the event.
 void roleRemoved(ru.novosoft.uml.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(ru.novosoft.uml.MElementEvent mee)
Handle the event.

Specified by:
listRoleItemSet in interface ru.novosoft.uml.MElementListener

propertySet

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

Specified by:
propertySet in interface ru.novosoft.uml.MElementListener

recovered

public void recovered(ru.novosoft.uml.MElementEvent mee)
Handle the event.

Specified by:
recovered in interface ru.novosoft.uml.MElementListener

removed

public void removed(ru.novosoft.uml.MElementEvent mee)
Handle the event.

Specified by:
removed in interface ru.novosoft.uml.MElementListener

roleAdded

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

Specified by:
roleAdded in interface ru.novosoft.uml.MElementListener

roleRemoved

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

Specified by:
roleRemoved in interface ru.novosoft.uml.MElementListener

notifyModelChanged

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



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