public class ToggleLineNumbersAction extends AbstractViewAction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
ENABLED_PROPERTY, VIEW_PROPERTY| Constructor and Description |
|---|
ToggleLineNumbersAction(Application app,
View view)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
TeddyView |
getActiveView() |
protected void |
updateView()
This method is invoked, when the property changed and when
the view changed.
|
getApplication, getPropertyName, installViewListeners, isEnabled, setEnabled, setPropertyName, uninstallViewListeners, updateEnabled, updateViewpublic static final java.lang.String ID
public ToggleLineNumbersAction(Application app, View view)
public TeddyView getActiveView()
getActiveView in class AbstractViewActionpublic void actionPerformed(java.awt.event.ActionEvent e)
protected void updateView()
AbstractViewActionupdateView in class AbstractViewAction