Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » override stereotype value
icon11.gif  override stereotype value [message #780830] Thu, 19 January 2012 09:40 Go to next message
christophe seguinot is currently offline christophe seguinot
Messages: 2
Registered: January 2012
Junior Member
Hello,

we are using EMF to model our application and Acceleo to generate part of it.

In the model we have a stereotype "ihm" which has a property "pageExtension" with a default value of "AbsractPage".

Now we have a new stereotype "popup" which extends "ihm". We want to override the default value of "pageExtension" to "PopupPage". We tried to use "redifinedProperty" and several other tricks but nothing work.

Does anyone know how to do that ?

Cheers,
Chris
Re: override stereotype value [message #787577 is a reply to message #780830] Tue, 31 January 2012 13:45 Go to previous message
Rafael Chaves is currently offline Rafael Chaves
Messages: 161
Registered: July 2009
Senior Member
Wouldn't declaring a property with the same type/name and a different default value in the popup stereotype work?

Cheers,

Rafael
http://abstratt.com/blog
Previous Topic:UML code generation
Next Topic:how to add a custom property to a stereotype attribute?
Goto Forum:
  


Current Time: Sat Aug 30 06:21:25 EDT 2014

Powered by FUDForum. Page generated in 0.08457 seconds