Hi! -------- Original-Nachricht -------- > Datum: Thu, 28 May 2009 15:52:14 +0200 > Von: Thomas Neustupny <[email protected]> > An: [email protected] > Betreff: Re: [argouml-dev] Tom\'s UmlFactory vs Eclipse UMLFactory
--<snip>-- > I don't understand why we can't access eclipse's > UMLFactory.eInstance.createActivity() method in our own createActivity > method? It's like the > createClass Method in CoreFactoryEUMLImpl. Why do we need to reimplement the > eclipse UML code? We can use the eInstance method, if we implement the entire interface. All the methods! But if we don't extend Tom's interface, we have to distinguish the factory version throughout the entire Argo code, because both factories use different methods to create the model elements. --<snip>-- > > In both cases the same model subsystem interfaces are used, only the > implementation differs. The 'if' statements are not for choosing another model > subsystem interface, but they are because of different usage of the it's > methods, because of the different UML specification version. So, the MDR implementation would have to implement all the UMLFactory methods, too? Lots of emtpy methods... --<snip>-- > > If methods like createClass() have the same name in UML1 and UML2, then > only one interface method is needed. We don't need to use all methods of the > eclipse UMLFactory, only those we need for the supported features. But we have to implement the whole interface! We cannot implement _some_ methods and forget about the rest... --<snip>-- 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=2356184 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]]
