| Place default elements inside comparment [message #757008] |
Tue, 15 November 2011 19:03  |
Eclipse User |
|
|
|
Hi all,
I've been developing a graphical editor using GMF. I have elements with affixed inputs/outputs. Some of those elements are compartments that can contain the former elements. The elements can be placed in any position of the comparment, so there isn't any layout defined.
Now, for one of those compartments I want to place two default elements at a specific position while continue placing new elements from the palette in any place of the compartment.
I was investigating editPart and policies of the compartment but is a little confused.
Both element have set their affixed parent side property in gmfgraph but it doesn't affect the comparment. Does anybody know any approach?
Thanks in advance,
Gest
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03887 seconds