Initial Positioning with xy Layout [message #57924] |
Sun, 01 October 2006 09:30 |
Eclipse User |
|
|
|
Originally posted by: jr.joergreuter.ch
Hello,
I use xXYLayout in a View. I add children on view creation programmatically
using the EditHelper. How can I position these children initially? When
performing an Autosize these children should take again the same positions.
Thanks for support
|
|
|
Re: Initial Positioning with xy Layout [message #58171 is a reply to message #57924] |
Mon, 02 October 2006 13:22 |
Eclipse User |
|
|
|
Originally posted by: thmeier.fastmail.fm
Hi Joerg
Simply add a new LayoutProvider for your editor. There is a good tutorial on
how to do this in the eclipse help accompanied by an example plugin (open
eclipse help, go to 'GMF Developer Guide', open 'Examples Guide' -->
'Runtime' --> 'Layout Service'). The help also contains information on how
to install the examples (to see the source code simply import the plugins
using the 'import' command)
-Tom
"Joerg Reuter" <jr@joergreuter.ch> wrote in message
news:efo1rf$ngq$1@utils.eclipse.org...
> Hello,
>
> I use xXYLayout in a View. I add children on view creation
> programmatically using the EditHelper. How can I position these children
> initially? When performing an Autosize these children should take again
> the same positions.
> Thanks for support
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03209 seconds