Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » [solved] How to modify a profile that is already in use? (It's about the correct usage of define() and how UML2 profiles are managed)
[solved] How to modify a profile that is already in use? [message #638933] Sat, 13 November 2010 08:57 Go to previous message
Thomas Neustupny is currently offline Thomas Neustupny
Messages: 75
Registered: October 2009
Member
EDIT: In the meantime, the results on this topic are documented here:
http://argouml.tigris.org/wiki/UML2%2C_Profiles_and_XMI
Happy reading!

---------------------------topic-begins-here---------------- -----------

Dear experts,

I've read the article about using profiles ( http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Intro duction_to_UML2_Profiles/article.html) and managed to create and (un)apply profiles programmatically for quite a long time. But I always run into a problem when an already used profile needs to be modified (extended/changed).

Here is the problem:

After making a change to the profile, I have to define it again to also update the Ecore representation. But then, I've got both the old and the new Ecore package in my profile. So I wonder what happens to my models that apply that profile *before* and *after* my modification and redefinition of the profile.

Questions:

Is it feasible to modify profiles, or are they ment to be read-only after defining and/or applying them?
Is it correct to let the profile evolve the way I described? It grows with each modification cicle!
Do different models refer to different "generations" of the Ecore package in the profile, and is this done intentionally?

Thanks for any clarification! (I'm struggling here for several months now)

Regards,
Thomas Neustupny

[Updated on: Tue, 14 December 2010 07:59]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:looking for source for old version of UML2
Next Topic:Re: ANSI-C-model and dealing with redundant references
Goto Forum:
  


Current Time: Tue May 21 21:44:55 EDT 2013

Powered by FUDForum. Page generated in 0.02428 seconds