Hi Randy,
For us, we do expect the grid span into nested
containers using XYLayoutEditPolicy and this feature can be
activated/deactivated as needed globally. Does this feature apply to Mahanttan
router as well ?
julien
----- Original Message -----
Sent: Tuesday, July 22, 2003 7:33
PM
Subject: Re: [gef-dev] Snap-to-Grid
implementations
Actually, we can't look at
your code unless you post it to our newsgroup or mailing-list (or bugzilla).
Legal issues :-(
But, if
you'd want to share just the approach and problems encountered, that would be
great. We think we know how to do this for the logic example, but we
wonder if this is representative of the typical application. It's
actually not a lot of code, but the key is where you implement the code so
that other's can tailor it to their application.
I think the questions are how does the grid span into
nested containers? Does it? When does the grid appear?
-Randy
| "Alex Selkov"
<as@xxxxxxxxxxxxxx> Sent by: gef-dev-admin@xxxxxxxxxxx
07/22/2003 01:03 PM Please respond to gef-dev
| To:
<gef-dev@xxxxxxxxxxx> cc:
Subject: Re: [gef-dev]
Snap-to-Grid implementations |
Dan,
you may look at our sample HelloGrid plugin
in :pserver:anonymous@xxxxxxxxxxxxxx:/usr/cvsroot
Regards,
as
>
We are in the process of adding Snap-to-Grid functionality to GEF. If
you > have implemented snap-to-grid in your editor, we are
interested in any > advice that can be given on this subject. > In
particular: > Has anyone made a zoom-able editor that handles
snap-to-grid? What > coordinate system issues were involved
here? > What EditPolicy changes were made to allow the "snap" ? >
Does your editor make its feedback snap to the grid, or just the
Figures > themselves? If feedback snaps, how was this
implemented? > How did you paint the grid in your
editor? > > Thanks > >
Dan > > >
_______________________________________________ gef-dev
mailing
list gef-dev@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/gef-dev
|