[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.uml2] Adding activities to a model
|
- From: luis.costa@xxxxxxxxx (Luis Costa)
- Date: Thu, 26 Oct 2006 13:06:13 +0000 (UTC)
- Newsgroups: eclipse.tools.uml2
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hello,
I'm migrating an application that used UML2 1 to use UML 2 2 instead.
But I'm having problems when adding an Activity to a Model.
This a sample of my code (the error happens in the "add" instruction)
Activity activity = UMLFactory.eINSTANCE.createActivity();
((Model) parent).getOwnedMembers().add(activity);
Anyone had similar problems or has some hint?
Thanks in advance,
Luís Costa
SINTEF ICT