Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Grid Origin Question
Grid Origin Question [message #150352] Thu, 09 September 2004 19:05 Go to next message
J Schofield is currently offline J SchofieldFriend
Messages: 28
Registered: July 2009
Junior Member
I have two diagrams and I'm trying to set the grid origin differently for
each of them. Only the first setting seems to be applied to both. I would
have thought that since this is a property (SnapToGrid.PROPERTY_GRID_ORIGIN)
that changing it's value would cause a property change event and gef would
respond accordingly. I'm I missing something?

thanks,
regards,
Jody
Re: Grid Origin Question [message #150360 is a reply to message #150352] Thu, 09 September 2004 22:09 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
If you set/change that property on the viewer, the grid should automatically
refresh, unless you are using a custom root edit part. Look at
FreeformGraphicalRootEditPart#refreshGridLayer(). Is it not getting
invoked?

"Jody Schofield" <jodyschofield@rogers.com> wrote in message
news:chq9a0$kfq$1@eclipse.org...
> I have two diagrams and I'm trying to set the grid origin differently for
> each of them. Only the first setting seems to be applied to both. I would
> have thought that since this is a property
(SnapToGrid.PROPERTY_GRID_ORIGIN)
> that changing it's value would cause a property change event and gef would
> respond accordingly. I'm I missing something?
>
> thanks,
> regards,
> Jody
>
>
Previous Topic:FigureCanvas and scrolling problems
Next Topic:1-2 mth contract in Redwood City, CA
Goto Forum:
  


Current Time: Sat Apr 27 04:06:23 GMT 2024

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

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

Back to the top