Hi! -------- Original-Nachricht -------- > Datum: Wed, 27 May 2009 18:07:40 +0200 > Von: Linus Tolke <[email protected]> > An: [email protected] > Betreff: Re: [argouml-dev] Tom\'s UmlFactory vs Eclipse UMLFactory
> Hello Andreas! > The question on how to make the transition is the question on how long we > support the MDR implementation. Yup, that's the main problem. And I'd like to avoid MDR implementations of all those createXXXX methods, that are empty anyway... --<snip>-- > If there are benefits from this, or not, I am not ready to say. That > depends > on how much work it is to implement the create<xxx> function and how well > they fit between the UMLFactory and the *Factory classes. On the other > hand, The problem with our implementation would be, that we cannot access the eclipse implementations of all the classes directly. UMLFactory is the only way to get an ActivityImpl as an example (AFAIK). So if we would implement our own createActivity method (as an example), we'd also have to implement ActivityImpl , which basically means, we'd have to reimplement the entire internal/* Subpackages from Eclipse. I'd say we don't want that, so we reuse the UMLFactory methods. I guess your united factory is the best approach for now. Just put all the factories back in one factory again. If we leave Tom's interface as it is and just implement the Eclipse UMLFactory in the euml model impl, we'll have to distinguish between the model implementation in the entire Argo code. Lots of 'if' 's, that are just needed as long as MDR is supported. I guess changing Tom's interface to implement UMLFactory and adding lots of empty createXXXX methods to the MDR implementation is the better way? There might be name conflicts, but we could rename those methods by adding 'UML1' or 'UML2' then? (or so.) Ciao, Andreas -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2356121 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]]
