Changeset 16553 in josm for trunk/src/org/openstreetmap/josm/actions/ToggleAction.java
- Timestamp:
- 2020-06-07T14:49:02+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ToggleAction.java
r14784 r16553 40 40 * @param installAdapters false, if you don't want to install layer changed and selection changed adapters 41 41 */ 42 p ublicToggleAction(String name, ImageProvider icon, String tooltip, Shortcut shortcut, boolean registerInToolbar,42 protected ToggleAction(String name, ImageProvider icon, String tooltip, Shortcut shortcut, boolean registerInToolbar, 43 43 String toolbarId, boolean installAdapters) { 44 44 super(name, icon, tooltip, shortcut, registerInToolbar, toolbarId, installAdapters); … … 60 60 * @param registerInToolbar register this action for the toolbar preferences? 61 61 */ 62 p ublicToggleAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {62 protected ToggleAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) { 63 63 super(name, iconName, tooltip, shortcut, registerInToolbar); 64 64 // It is required to set the SELECTED_KEY to a non-null value in order to let Swing components update it
Note:
See TracChangeset
for help on using the changeset viewer.