Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Dynamic Node Color Change(Changing the color of a node based on an attribute)
Dynamic Node Color Change [message #1703257] Wed, 29 July 2015 20:52
Anton Antonenko is currently offline Anton AntonenkoFriend
Messages: 4
Registered: July 2015
Junior Member
Hello there,

I have a problem with my GMF Editor. I have nodes/objects that have to change their color at the moment a boolean attribute of them, called isActive, switches to false (default is of course true).
I've already found answers and solutions where I'm about to use Diagram Pins and Visual Effect mapping and the like. That I do, but this requires an OCL expression in Visual Effect Mapping which, as far as I understand Color Pins, has to return a color or color-like expression with the rgb-values in order?
I'm pretty new to GMF and even more inexperienced in ocl and as far as I was searching, the last bit of information was never revealed to me.

Help would be appreciated,
Previous Topic:Executable GMF diagrams
Next Topic:node generated as link
Goto Forum:
  


Current Time: Thu Apr 25 09:40:19 GMT 2024

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

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

Back to the top