This service is archived, please use www.eclipse.org/forums


Home » Capella » Capella Studio » Extension attribute controlling icon of extended element
Extension attribute controlling icon of extended element [message #3067] Wed, 10 April 2019 05:50 Go to next message
felix.dorner.gmail.com is currently offline  felix.dorner.gmail.com
Messages: 117
Registered: November 2015
Senior Member
Hi Studio Team,

I need to control the icon of a capella element based on the value of one of its extension attributes. For example, in the price viewpoint there is:

Class PartPrice {
icon: "PartPrice.gif"
extends cs.Part
superClass Price
Attributes:
currentPrice type ecore.EInt changeable: true ordered: true unique: true
}

Let's say I want to change the item provider icon of parts, depending on their price. Does kitalpha have a solution ready for that?
Re: Extension attribute controlling icon of extended element [message #3068 is a reply to message #3067] Wed, 10 April 2019 08:31 Go to previous messageGo to next message
boubekeur.zendagui@thales is currently offline  boubekeur.zendagui@thales
Messages: 54
Registered: April 2015
Member
Hi Felix,

There no solution provided by Kitalpha to do that.

Best regards,
Boubekeur.
Re: Extension attribute controlling icon of extended element [message #3072 is a reply to message #3067] Thu, 11 April 2019 02:36 Go to previous message
felix.dorner.gmail.com is currently offline  felix.dorner.gmail.com
Messages: 117
Registered: November 2015
Senior Member
I'll try to find a solution for capella, but if you're interested, and if the solution is generic, I'll happily contribute to kitalpha.

Cheers,
Felix
Previous Topic: Image quality for HTML Export
Next Topic: Acceleo and Capella Query Language
Goto Forum:
  


Current Time: Sat Mar 28 03:43:50 EST 2020

Total time taken to generate the page: 0.01569 seconds