Skip to main content


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 14:40 Go to next message
christophe seguinot is currently offline christophe seguinotFriend
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 18:45 Go to previous message
Rafael Chaves is currently offline Rafael ChavesFriend
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: Thu Apr 25 13:26:40 GMT 2024

Powered by FUDForum. Page generated in 0.03337 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top