org.eclipse.gef.ui.actions
Class ToggleSnapToGeometryAction
java.lang.Object
Action
org.eclipse.gef.ui.actions.ToggleSnapToGeometryAction
- public class ToggleSnapToGeometryAction
- extends Action
An action that toggles the snap to geometry property on the given viewer. This action can handle the case where
that property is not set on the viewer initially.
- Since:
- 3.0
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToggleSnapToGeometryAction
public ToggleSnapToGeometryAction(GraphicalViewer diagramViewer)
- Constructor
- Parameters:
diagramViewer - the GraphicalViewer whose snap to geometry property is to be
toggled
isChecked
public boolean isChecked()
- See Also:
IAction
run
public void run()
- See Also:
IAction
Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.