|Diagram does not refresh correctly [message #893313]
||Tue, 03 July 2012 14:06
| Matthias N
Registered: June 2012
I have a domain model with class "Port" and an attribute "direction".
Direction is a Enum (<<enum>>) with values "in, out, inout".
In GMF tooling, I have 3 creation tools for "Port in", "Port out" and "Port inout".
In GMF Mapping I have 3 top node references:
Top Node Reference <ports:port/PortIN>
- Node Mapping <port/PortIN>
-- Constraint self.direction = <<enum>>::in
-- Feature Seq Initializer <port(direction)>
--- Feature Value Spec <direction:= <<enum>>::in>
---- Value Expression <<enum>>::in
So, "PortIN" has a green rectangle, "PortOUT" a blue rectangle and "PortINOUT" a red rectangle.
I can create the nodes as expected, works fine. But If I change an attribute of a port from "in" to "out" for Example, nothing happens. Only if I press F5, the diagram changes.
Another strange thing is, when I change from "inout" to "in" and press F5, the node is duplicated and moved to the right or left. When I press F5 again the original node is removed and the duplicated one remains.
Can someone give me suggestions how to solve this ?!
[Updated on: Tue, 03 July 2012 14:34]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02105 seconds