Changeset 5266 in josm for trunk/src/org/openstreetmap/josm/actions/JosmAction.java
- Timestamp:
- 2012-06-03T16:41:25+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JosmAction.java
r5110 r5266 24 24 * Base class helper for all Actions in JOSM. Just to make the life easier. 25 25 * 26 * A JosmAction is a {@ see LayerChangeListener} and a {@seeSelectionChangedListener}. Upon27 * a layer change event or a selection change event it invokes {@ see#updateEnabled()}.28 * Subclasses can override {@ see #updateEnabled()} in order to update the {@see#isEnabled()}-state29 * of a JosmAction depending on the {@ see#getCurrentDataSet()} and the current layers30 * (see also {@ see#getEditLayer()}).26 * A JosmAction is a {@link LayerChangeListener} and a {@link SelectionChangedListener}. Upon 27 * a layer change event or a selection change event it invokes {@link #updateEnabled()}. 28 * Subclasses can override {@link #updateEnabled()} in order to update the {@link #isEnabled()}-state 29 * of a JosmAction depending on the {@link #getCurrentDataSet()} and the current layers 30 * (see also {@link #getEditLayer()}). 31 31 * 32 32 * destroy() from interface Destroyable is called e.g. for MapModes, when the last layer has … … 179 179 /** 180 180 * Override in subclasses to init the enabled state of an action when it is 181 * created. Default behaviour is to call {@ see#updateEnabledState()}181 * created. Default behaviour is to call {@link #updateEnabledState()} 182 182 * 183 183 * @see #updateEnabledState() … … 192 192 * something in the JOSM state changes, i.e. when a layer is removed or added. 193 193 * 194 * See {@ see#updateEnabledState(Collection)} to respond to changes in the collection194 * See {@link #updateEnabledState(Collection)} to respond to changes in the collection 195 195 * of selected primitives. 196 196 *
Note:
See TracChangeset
for help on using the changeset viewer.