org.eclipse.gef.ui.actions
Class ToggleRulerVisibilityAction
java.lang.Object
Action
org.eclipse.gef.ui.actions.ToggleRulerVisibilityAction
- public class ToggleRulerVisibilityAction
- extends Action
An action that toggles the ruler visibility 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 |
diagramViewer
protected GraphicalViewer diagramViewer
- The viewer whose ruler visibility property is to be toggled
ToggleRulerVisibilityAction
public ToggleRulerVisibilityAction(GraphicalViewer diagramViewer)
- Constructor
- Parameters:
diagramViewer - the viewer whose ruler visibility 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.