Skip to main content



      Home
Home » Eclipse Projects » GEF » Draw2D
Draw2D [message #100403] Thu, 16 October 2003 18:09 Go to next message
Eclipse UserFriend
Originally posted by: shathaway.antennasoftware.com

I need to create a figure that looks like a grid, and I have been unable to
find a Draw2D figure that fits the requirements. If I was using SWT, I could
use a GridLayout to create the grid. Is it possible to use SWT stuff in
Draw2D or does anyone know a way to create a grid in Draw2D?

thanks
Re: Draw2D [message #100496 is a reply to message #100403] Fri, 17 October 2003 10:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ingokoch.gmx.net

Hello Scott!

I use a dotted grid as Background for my application:
Shouldn
Re: Draw2D [message #100811 is a reply to message #100403] Mon, 20 October 2003 07:01 Go to previous message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

Scott Hathaway wrote:
> I need to create a figure that looks like a grid, and I have been
> unable to find a Draw2D figure that fits the requirements. If I was
> using SWT, I could use a GridLayout to create the grid. Is it
> possible to use SWT stuff in Draw2D or does anyone know a way to
> create a grid in Draw2D?

If you need to display a grid, simply overwrite the paint method of your
figure that should display the grid and paint it yourself. If you need a
grid layout it's up to you to implement a grid (or snap-to-grid) layout
yourself. Draw2D doesn't provide one but I think it is planned for 3.0. Not
sure.

Cu, Gunnar
Previous Topic:Unhandled exception in event loop
Next Topic:Global variables per Editor
Goto Forum:
  


Current Time: Sun May 11 09:42:24 EDT 2025

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

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

Back to the top