Hi Linus and all!
-------- Original-Nachricht --------
> Datum: Mon, 25 May 2009 21:44:06 +0200
> Von: Linus Tolke <[email protected]>
> An: [email protected]
> Betreff: Re: [argouml-dev] UMLFactory version (2.1 vs 2.2)
> Hello Andreas!
> It looks like most of the ActivityGraphsFactory for the euml is not
> implemented yet so this may simplify that work.
Thomas and my-humble-self are a little bit further, but it seems that we're
currently hitting
the wall at some points, because the UML 2.1.x is just not complete at some
points or
at least extremely uncomfortable.
BTW: ActivityGraph's do no longer exist in UML2. They're now Activity's.
> On the other hand, the current focus is on the Class diagram so if this
> change in any way delay the class diagram, I suggest that we save it for
> the
> 0.29.5 release where the activity diagrams are included. Yet on the other
> hand, it is still not defined how much work is left for the class diagrams
> so please go ahead and do the change!
Just replacing the 2.1.1 libs with the 2.2.2 libs will break the UMLPackage and
UMLFactory
interface implementation, that's the problem. That means all kinds of types and
model elements
are affected.
That's the bad news. The good news is, that the eclipse implementation comes
with it's own
default implementations, making the euml implementation a bit redundant.
So implementing the UMLFactory interface gives you access to UMLFactoryImpl via
the eINSTANCE
var. UMLFactoryImpl already implements most (or even all?) of the required
methods.
So the methods would look like this:
=========
public Activity createActivity() {
return eINSTANCE.createActivity();
}
=========
as I see it.
Good news is, that the 2.2.x version of factory and package would also make
some parts of the
class diagram implementation easier, so maybe we should consider to move
towards 2.2 sooner
than later, because I guess we're currently implementing quite some unnecessary
code...?
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=2353658
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]]