I think the only sensible way to resolve
http://argouml.tigris.org/issues/show_bug.cgi?id=5758 is to pass the
association ends of the association as arguments to the FigAssociation
constructor.
I would suggest something that will allow for more flexibility in
future so that we don't have to keep on changing this signature when a
new requirement is discovered.
How about providing an interface DiagramElementSettings so that we can
then pass any information about properties of the diagram element in a
single object. The implementation of DiagramElementSettings can manage
any changes we need in future.
So the Fig constructors would go from
public FigAssociation(Object owner, DiagramSettings settings);
to
public FigAssociation(DiagramElementSettings elementSettings,
DiagramSettings diagramSettings);
Should I make DiagramElementSettings an interface or a class like
DiagramSettings for consistency.
I think we should just do this for FigAssociation for now and support
both constructor types for some time to come.
Regards
Bob.
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2388374
To unsubscribe from this discussion, e-mail:
[[email protected]].
To be allowed to post to the list contact the mailing list moderator, email:
[[email protected]]