[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Re: Nested Rectangles and Layout
|
Could you please describe what's the error you get and which GMF version do
you use? With GMF 1.0, node2 might not work because we ensured parent figure
has GridLayout installed, and with node2 this is not true.
Artem
"exquisitus" <me@xxxxxxx> wrote in message
news:bfd7b27b23a61ca9c5e484913abf5c44$1@xxxxxxxxxxxxxxxxxx
> 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?
>