Changeset 15649 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2020-01-06T22:23:57+01:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ExpertToggleAction.java
r13106 r15649 95 95 96 96 /** 97 * Determines if the given component tracks visibility changes. 98 * @param c The component. 99 * @return {@code true} if the given component tracks visibility changes 100 * @since 15649 101 */ 102 public static synchronized boolean hasVisibilitySwitcher(Component c) { 103 if (c == null) return false; 104 return visibilityToggleListeners.containsListener(c); 105 } 106 107 /** 97 108 * Constructs a new {@code ExpertToggleAction}. 98 109 */ -
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r14960 r15649 61 61 import org.openstreetmap.josm.gui.MapViewState.MapViewPoint; 62 62 import org.openstreetmap.josm.gui.NavigatableComponent; 63 import org.openstreetmap.josm.gui.WindowMenu; 63 64 import org.openstreetmap.josm.gui.draw.MapPath2D; 64 65 import org.openstreetmap.josm.gui.layer.Layer; … … 194 195 } 195 196 } 196 return MainMenu.addWithCheckbox(MainApplication.getMenu().editMenu, snapChangeAction, MainMenu.WINDOW_MENU_GROUP.VOLATILE);197 return MainMenu.addWithCheckbox(MainApplication.getMenu().editMenu, snapChangeAction, WindowMenu.WINDOW_MENU_GROUP.VOLATILE); 197 198 } 198 199 -
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r15586 r15649 51 51 import org.openstreetmap.josm.gui.MapFrame; 52 52 import org.openstreetmap.josm.gui.MapView; 53 import org.openstreetmap.josm.gui.WindowMenu; 53 54 import org.openstreetmap.josm.gui.draw.MapViewPath; 54 55 import org.openstreetmap.josm.gui.draw.SymbolShape; … … 251 252 } 252 253 } 253 return MainMenu.addWithCheckbox(MainApplication.getMenu().editMenu, dualAlignChangeAction, MainMenu.WINDOW_MENU_GROUP.VOLATILE);254 return MainMenu.addWithCheckbox(MainApplication.getMenu().editMenu, dualAlignChangeAction, WindowMenu.WINDOW_MENU_GROUP.VOLATILE); 254 255 } 255 256
Note:
See TracChangeset
for help on using the changeset viewer.