Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » storing stereotype/profile applications in arbitrary models
storing stereotype/profile applications in arbitrary models [message #594123] Fri, 02 March 2007 10:21
Rafael Chaves is currently offline Rafael Chaves
Messages: 362
Registered: July 2009
Senior Member
I want to be able to apply stereotypes to a model but store the
ProfileApplication and StereotypeApplication elements elsewhere. Think
of a model that enriches another (read-only) model by applying
stereotypes to its elements. Would that be feasible, at least from the
point of view of the spec?

From what I understand, StereotypeApplications and ProfileApplications
are model elements themselves, so theoretically it should be possible to
store them in a different model from the one they are applied to.

One caveat seems that Element#applyStereotype and Package#applyProfile
will add the corresponding StereotypeApplication and ProfileApplication
objects to the target element/package namespace. I could adapt the
implementation of those two methods to take a package where to store
the application objects. Besides that, do you foresee any technical blocks?

Thanks,

Rafael
Previous Topic:Ecore for Sequence diagram
Next Topic:storing stereotype/profile applications in arbitrary models
Goto Forum:
  


Current Time: Fri Jul 25 02:55:52 EDT 2014

Powered by FUDForum. Page generated in 0.07072 seconds