Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Initial Positioning with xy Layout
Initial Positioning with xy Layout [message #57924] Sun, 01 October 2006 09:30 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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
>
Re: Initial Positioning with xy Layout [message #58584 is a reply to message #58171] Tue, 03 October 2006 10:16 Go to previous message
Eclipse UserFriend
Originally posted by: jr.joergreuter.ch

Thanks, Tom this helped a lot.

J
Previous Topic:ClassCastException 'Compartment Mapping'
Next Topic:Changing font of element during runtime
Goto Forum:
  


Current Time: Sun Jun 30 13:27:52 GMT 2024

Powered by FUDForum. Page generated in 0.03852 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top