Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Computed color expression to return R,G,B in one service call
Computed color expression to return R,G,B in one service call [message #1769419] Mon, 31 July 2017 12:36 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 370
Registered: December 2015
Senior Member
Hi,

This has bothered me for some time:

for a computed color, I invoke a service method which determines the color on some properties of the model. Since there are three expressions, (R,G,B), the service method is called 3 times, this just feels wrong. In my case it would be really better if I could return a single RGB string, such as one returned by org.eclipse.jface.resource.StringConverter.asString(RGB), so the service method is just called once, returning such a string. I have never seen the advantage to have a separate expression for each color component.

Felix
Re: Computed color expression to return R,G,B in one service call [message #1769424 is a reply to message #1769419] Mon, 31 July 2017 13:04 Go to previous message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 267
Registered: July 2009
Senior Member
Hi Felix,
A corresponding enhancement exists on bugzilla : https://bugs.eclipse.org/bugs/show_bug.cgi?id=484125 with a specification. But, it was never included in a roadmap.
Regards,
Laurent


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:[Resolved] Sirius Open Dialog
Next Topic:Only one label when multiple edges with same target mappings
Goto Forum:
  


Current Time: Tue Jan 19 19:56:10 GMT 2021

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

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

Back to the top