Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » draw2D
draw2D [message #223910] Mon, 09 October 2006 06:47 Go to next message
Sheldon is currently offline SheldonFriend
Messages: 16
Registered: July 2009
Junior Member
Hi,

I am currently working on a basic GUI builder, i need some info
regarding draw2D. I have gone through the visual editor project but could
not figure out the way they draw the figures on the GEF editor. I need to
draw the figures in such a way that the look is exactly the way it will be
when i run the app.

For example when we create GUI in SWT there will be a shell which contains
a group of widgets, in the same way i need to picture this on the editor.
Is it possible please let me know

Regards,
Sheldon
Re: draw2D [message #223940 is a reply to message #223910] Mon, 09 October 2006 23:55 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

They use screen-scraping. They launch the actual GUI (at some coordinates
off the screen) and take a screen capture. They use this image as the
background in the edior and then use editparts with transparent figures in
the editor. Info about where these invisible figures should be placed is
derived from the model or the GUI that was launched (in case of automatic
layouts). You should follow up your questions on the vep newsgroup.

"Sheldon" <sheldond@gmail.com> wrote in message
news:84ce4008e471d48a644e4556a56b8ef6$1@www.eclipse.org...
> Hi,
>
> I am currently working on a basic GUI builder, i need some info
> regarding draw2D. I have gone through the visual editor project but could
> not figure out the way they draw the figures on the GEF editor. I need to
> draw the figures in such a way that the look is exactly the way it will be
> when i run the app.
>
> For example when we create GUI in SWT there will be a shell which contains
> a group of widgets, in the same way i need to picture this on the editor.
> Is it possible please let me know
>
> Regards,
> Sheldon
>
>
>
>
Previous Topic:how to add shape to anthoer shape's bound?
Next Topic:Right time to make connections - after layout, before visible
Goto Forum:
  


Current Time: Thu Apr 25 14:59:02 GMT 2024

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

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

Back to the top