Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] enabling a grid


Guys, please have this discussion on the newsgroup where it will be available to more readers.

-Randy



"Eugene Ostroukhov" <eostroukhov@xxxxxxxxxxx>
Sent by: gef-dev-admin@xxxxxxxxxxx

04/18/2004 04:10 AM
Please respond to gef-dev

       
        To:        <gef-dev@xxxxxxxxxxx>
        cc:        
        Subject:        Re: [gef-dev] enabling a grid



Grids, rulers, palette view, etc. are not available in the GEF SDK 2.1.3 - you should use the latest version of the SDK and logic example.
 
Eugene
----- Original Message -----
From: steven melzer
To: gef-dev@xxxxxxxxxxx
Sent: Sunday, April 18, 2004 5:29 AM
Subject: Re: [gef-dev] enabling a grid

i see the ToggleGridVisibilityAction in the CVS repository for GEF.  however, i just downloaded the gef 2.1.3 release and i do not see it in the gef.jar.  it also isn't in the gef 2.1.2 release.  further, i don't see the GridLayer either.  am i missing something?
 
thanks,
steve
----- Original Message -----
From: Eugene Ostroukhov
To: gef-dev@xxxxxxxxxxx
Sent: Saturday, April 17, 2004 5:49 AM
Subject: Re: [gef-dev] enabling a grid

Take a look at org.eclipse.gef.ui.actions.ToggleGridVisibilityAction.
----- Original Message -----
From: steven melzer
To: gef-dev@xxxxxxxxxxx
Sent: Saturday, April 17, 2004 6:10 AM
Subject: [gef-dev] enabling a grid

hello,
 
i am very new to GEF.  i want to create a viewer that contains a grid (and can be turned off).  it appears that the ScalableFreeformRootEditPart contains a GridLayer and GridLayer has methods to add a grid.  The GridLayer has a method called paintGrid which has the JavaDoc saying the grid needs to be enabled.  i cannot figure out how to enable the grid.  Can someone tell me how to enable the grid and display the grid on the ScrollingGraphicViewer.
 
thanks,
steve

Back to the top