Changeset 14784 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2019-02-12T01:02:57+01:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ToggleAction.java
r14695 r14784 121 121 * This method needs to be called especially if the action is associated with a keyboard shortcut to ensure correct selected state. 122 122 * @param e ActionEvent that trigerred the action 123 * @see <a href="https://weblogs.java.net/blog/zixle/archive/2005/11/changes_to_acti.html">Changes to Actions in 1.6</a> 124 * @see <a href="https://docs.oracle.com/javase/6/docs/api/javax/swing/Action.html">Interface Action</a> 123 * @see <a href="https://docs.oracle.com/javase/8/docs/api/javax/swing/Action.html">Interface Action</a> 125 124 */ 126 125 protected final void toggleSelectedState(ActionEvent e) { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/PaintColors.java
r12987 r14784 79 79 AREA_TEXT(marktr("areatext"), Color.LIGHT_GRAY); 80 80 81 /**82 * The name of the color83 */84 private final String name;85 private final Color defaultColor;86 81 private final NamedColorProperty baseProperty; 87 82 private final CachingProperty<Color> property; … … 90 85 baseProperty = new NamedColorProperty(name, defaultColor); 91 86 property = baseProperty.cached(); 92 this.name = name;93 this.defaultColor = defaultColor;94 87 } 95 88
Note:
See TracChangeset
for help on using the changeset viewer.