public class ToggleGridAction extends AbstractDrawingViewAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
Constructor and Description |
---|
ToggleGridAction(DrawingEditor editor)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected void |
updateViewState()
This method is called when the active drawing view of the
drawing editor changed.
|
dispose, fireUndoableEditHappened, getDrawing, getEditor, getView, isUpdatEnabledState, setEditor, setUpdateEnabledState, updateEnabledState
public static final java.lang.String ID
public ToggleGridAction(DrawingEditor editor)
public void actionPerformed(java.awt.event.ActionEvent e)
protected void updateViewState()
AbstractDrawingViewAction
updateViewState
in class AbstractDrawingViewAction