Changeset 10134 in josm for trunk/src/org/openstreetmap/josm/gui/conflict/ConflictColors.java
- Timestamp:
- 2016-04-10T16:57:50+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/ConflictColors.java
r9212 r10134 9 9 import org.openstreetmap.josm.data.Preferences.ColorKey; 10 10 11 /** 12 * Conflict color constants. 13 * @since 4162 14 */ 11 15 public enum ConflictColors implements ColorKey { 12 16 17 /** Conflict background: no conflict */ 13 18 BGCOLOR_NO_CONFLICT(marktr("Conflict background: no conflict"), new Color(234, 234, 234)), 19 /** Conflict background: decided */ 14 20 BGCOLOR_DECIDED(marktr("Conflict background: decided"), new Color(217, 255, 217)), 21 /** Conflict background: undecided */ 15 22 BGCOLOR_UNDECIDED(marktr("Conflict background: undecided"), new Color(255, 197, 197)), 23 /** Conflict background: drop */ 16 24 BGCOLOR_DROP(marktr("Conflict background: drop"), Color.white), 25 /** Conflict background: keep */ 17 26 BGCOLOR_KEEP(marktr("Conflict background: keep"), new Color(217, 255, 217)), 27 /** Conflict background: combined */ 18 28 BGCOLOR_COMBINED(marktr("Conflict background: combined"), new Color(217, 255, 217)), 29 /** Conflict background: selected */ 19 30 BGCOLOR_SELECTED(marktr("Conflict background: selected"), new Color(143, 170, 255)), 20 31 32 /** Conflict foreground: undecided */ 21 33 FGCOLOR_UNDECIDED(marktr("Conflict foreground: undecided"), Color.black), 34 /** Conflict foreground: drop */ 22 35 FGCOLOR_DROP(marktr("Conflict foreground: drop"), Color.lightGray), 36 /** Conflict foreground: keep */ 23 37 FGCOLOR_KEEP(marktr("Conflict foreground: keep"), Color.black), 24 38 39 /** Conflict background: empty row */ 25 40 BGCOLOR_EMPTY_ROW(marktr("Conflict background: empty row"), new Color(234, 234, 234)), 41 /** Conflict background: frozen */ 26 42 BGCOLOR_FROZEN(marktr("Conflict background: frozen"), new Color(234, 234, 234)), 43 /** Conflict background: in comparison */ 27 44 BGCOLOR_PARTICIPATING_IN_COMPARISON(marktr("Conflict background: in comparison"), Color.black), 45 /** Conflict foreground: in comparison */ 28 46 FGCOLOR_PARTICIPATING_IN_COMPARISON(marktr("Conflict foreground: in comparison"), Color.white), 47 /** Conflict background */ 29 48 BGCOLOR(marktr("Conflict background"), Color.white), 49 /** Conflict foreground */ 30 50 FGCOLOR(marktr("Conflict foreground"), Color.black), 31 51 52 /** Conflict background: not in opposite */ 32 53 BGCOLOR_NOT_IN_OPPOSITE(marktr("Conflict background: not in opposite"), new Color(255, 197, 197)), 54 /** Conflict background: in opposite */ 33 55 BGCOLOR_IN_OPPOSITE(marktr("Conflict background: in opposite"), new Color(255, 234, 213)), 56 /** Conflict background: same position in opposite */ 34 57 BGCOLOR_SAME_POSITION_IN_OPPOSITE(marktr("Conflict background: same position in opposite"), new Color(217, 255, 217)), 35 58 59 /** Conflict background: keep one tag */ 36 60 BGCOLOR_TAG_KEEP_ONE(marktr("Conflict background: keep one tag"), new Color(217, 255, 217)), 61 /** Conflict foreground: keep one tag */ 37 62 FGCOLOR_TAG_KEEP_ONE(marktr("Conflict foreground: keep one tag"), Color.black), 63 /** Conflict background: drop tag */ 38 64 BGCOLOR_TAG_KEEP_NONE(marktr("Conflict background: drop tag"), Color.lightGray), 65 /** Conflict foreground: drop tag */ 39 66 FGCOLOR_TAG_KEEP_NONE(marktr("Conflict foreground: drop tag"), Color.black), 67 /** Conflict background: keep all tags */ 40 68 BGCOLOR_TAG_KEEP_ALL(marktr("Conflict background: keep all tags"), new Color(255, 234, 213)), 69 /** Conflict foreground: keep all tags */ 41 70 FGCOLOR_TAG_KEEP_ALL(marktr("Conflict foreground: keep all tags"), Color.black), 71 /** Conflict background: sum all numeric tags */ 42 72 BGCOLOR_TAG_SUM_ALL_NUM(marktr("Conflict background: sum all numeric tags"), new Color(255, 234, 213)), 73 /** Conflict foreground: sum all numeric tags */ 43 74 FGCOLOR_TAG_SUM_ALL_NUM(marktr("Conflict foreground: sum all numeric tags"), Color.black), 44 75 76 /** Conflict background: keep member */ 45 77 BGCOLOR_MEMBER_KEEP(marktr("Conflict background: keep member"), new Color(217, 255, 217)), 78 /** Conflict foreground: keep member */ 46 79 FGCOLOR_MEMBER_KEEP(marktr("Conflict foreground: keep member"), Color.black), 80 /** Conflict background: remove member */ 47 81 BGCOLOR_MEMBER_REMOVE(marktr("Conflict background: remove member"), Color.lightGray), 82 /** Conflict foreground: remove member */ 48 83 FGCOLOR_MEMBER_REMOVE(marktr("Conflict foreground: remove member"), Color.black); 49 84
Note:
See TracChangeset
for help on using the changeset viewer.