Skip to main content

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

Take a look at org.eclipse.gef.ui.actions.ToggleGridVisibilityAction.
----- Original Message -----
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