[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Nested Rectangles and Layout

Hi

I have 2 Rectangles in my .gmfgraph, one nested inside the other:
+Rectangle rect1
--+GridLayout
--+Rectangle rect2 (nested)
-----+GridLayoutData

And there are two Nodes:
-Node node1 (Figure rect1)
-Node node2 (Figure rect2)

This doesn't seem to work and causes an error, when generating diagram code (although it validates without errors).

The reason why I want the Rectangles nested is because I want to use a GridLayout on rect1 and GridLayoutData on rect2 (I have the GridLayout patch).

Is it possible at all to use GridLayout on Nodes nested in a Node?
If not how do I go around this problem?