Hello,

I have some trouble understanding what are the valid property names of
the ModelEventPump.

Here is what I investigated so far (please notify me if I'm wrong):

The ModelEventPump notify it's listeners on only 4 kinds of events changes:
DeleteInstanceEvent, AttributeChangeEvent, RemoveAssociationEvent and
AddAssociationEvent.

DeleteInstanceEvent uses the source UML element (the notifier) and a
property name (a string)
that in some parts of ArgoUML is expected to be "remove" and in other
parts it doesn't matter it's value, the only test done is if the event
is instance of DeleteInstanceEvent.

AttributeChangeEvent is initialized with the source UML element, a
property name, old and new values. The propery name can have very
different values like: "name", "isAbstract", "isActive",
"isRoot", "isLeaf", "isSpecification", "visibility", "multiplicity",
"ownerScope", "changeability",
"targetScope" and maybe other values. (I extracted these values while
debugging).

RemoveAssociation and AddAssociation events (from the MDR
implementation source code) doesn't give me clues how should be used
because the AssociationEvent (from MDR) has no source code or javadoc.
The events are using AssociationEvent#getNewElement(),
AssociationEvent#getEndName(), AssociationEvent#getFixedElement(),
which I do not know what are doing.

The main problem for me are the valid values for property names.

Bogdan,

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to