|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.uml.ui.UMLNameEventListener
This class is used to dispatch a NSUML change event (which may occur on a non-UI) thread) to user interface components. The class is created in response to a NSUML change event being captures by a UMLUserInterfaceContainer and then is passed as an argument to InvokeLater to be run on the user interface thread.
Field Summary | |
private Container |
container
|
private Class[] |
metaClasses
|
Constructor Summary | |
UMLNameEventListener(Container c,
Class[] mc)
Creates a UMLChangeDispatch. |
Method Summary | |
void |
listRoleItemSet(ru.novosoft.uml.MElementEvent mee)
configures this instance to dispatch a listRoleItemSet event. |
void |
propertySet(ru.novosoft.uml.MElementEvent mee)
configures this instance to dispatch a propertySet event. |
void |
recovered(ru.novosoft.uml.MElementEvent mee)
configures this instance to dispatch a recovered event. |
void |
removed(ru.novosoft.uml.MElementEvent mee)
configures this instance to dispatch a removed event. |
void |
roleAdded(ru.novosoft.uml.MElementEvent mee)
configures this instance to dispatch a roleAdded event. |
void |
roleRemoved(ru.novosoft.uml.MElementEvent mee)
configures this instance to dispatch a roleRemoved event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Container container
private Class[] metaClasses
Constructor Detail |
public UMLNameEventListener(Container c, Class[] mc)
c
- user interface container to which changes are dispatched.mc
- an array of classes (possibly null) whose names should
monitored. For example, passing MClassifier.class will monitor name
changes on classifiers.Method Detail |
public void propertySet(ru.novosoft.uml.MElementEvent mee)
propertySet
in interface ru.novosoft.uml.MElementListener
mee
- NSUML eventpublic void listRoleItemSet(ru.novosoft.uml.MElementEvent mee)
listRoleItemSet
in interface ru.novosoft.uml.MElementListener
mee
- NSUML eventpublic void recovered(ru.novosoft.uml.MElementEvent mee)
recovered
in interface ru.novosoft.uml.MElementListener
mee
- NSUML event.public void removed(ru.novosoft.uml.MElementEvent mee)
removed
in interface ru.novosoft.uml.MElementListener
mee
- NSUML event.public void roleAdded(ru.novosoft.uml.MElementEvent mee)
roleAdded
in interface ru.novosoft.uml.MElementListener
mee
- NSUML event.public void roleRemoved(ru.novosoft.uml.MElementEvent mee)
roleRemoved
in interface ru.novosoft.uml.MElementListener
mee
- NSUML event
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |