Ignore:
Timestamp:
2016-04-10T16:57:50+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar, javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/conflict/ConflictColors.java

    r9212 r10134  
    99import org.openstreetmap.josm.data.Preferences.ColorKey;
    1010
     11/**
     12 * Conflict color constants.
     13 * @since 4162
     14 */
    1115public enum ConflictColors implements ColorKey {
    1216
     17    /** Conflict background: no conflict */
    1318    BGCOLOR_NO_CONFLICT(marktr("Conflict background: no conflict"), new Color(234, 234, 234)),
     19    /** Conflict background: decided */
    1420    BGCOLOR_DECIDED(marktr("Conflict background: decided"), new Color(217, 255, 217)),
     21    /** Conflict background: undecided */
    1522    BGCOLOR_UNDECIDED(marktr("Conflict background: undecided"), new Color(255, 197, 197)),
     23    /** Conflict background: drop */
    1624    BGCOLOR_DROP(marktr("Conflict background: drop"), Color.white),
     25    /** Conflict background: keep */
    1726    BGCOLOR_KEEP(marktr("Conflict background: keep"), new Color(217, 255, 217)),
     27    /** Conflict background: combined */
    1828    BGCOLOR_COMBINED(marktr("Conflict background: combined"), new Color(217, 255, 217)),
     29    /** Conflict background: selected */
    1930    BGCOLOR_SELECTED(marktr("Conflict background: selected"), new Color(143, 170, 255)),
    2031
     32    /** Conflict foreground: undecided */
    2133    FGCOLOR_UNDECIDED(marktr("Conflict foreground: undecided"), Color.black),
     34    /** Conflict foreground: drop */
    2235    FGCOLOR_DROP(marktr("Conflict foreground: drop"), Color.lightGray),
     36    /** Conflict foreground: keep */
    2337    FGCOLOR_KEEP(marktr("Conflict foreground: keep"), Color.black),
    2438
     39    /** Conflict background: empty row */
    2540    BGCOLOR_EMPTY_ROW(marktr("Conflict background: empty row"), new Color(234, 234, 234)),
     41    /** Conflict background: frozen */
    2642    BGCOLOR_FROZEN(marktr("Conflict background: frozen"), new Color(234, 234, 234)),
     43    /** Conflict background: in comparison */
    2744    BGCOLOR_PARTICIPATING_IN_COMPARISON(marktr("Conflict background: in comparison"), Color.black),
     45    /** Conflict foreground: in comparison */
    2846    FGCOLOR_PARTICIPATING_IN_COMPARISON(marktr("Conflict foreground: in comparison"), Color.white),
     47    /** Conflict background */
    2948    BGCOLOR(marktr("Conflict background"), Color.white),
     49    /** Conflict foreground */
    3050    FGCOLOR(marktr("Conflict foreground"), Color.black),
    3151
     52    /** Conflict background: not in opposite */
    3253    BGCOLOR_NOT_IN_OPPOSITE(marktr("Conflict background: not in opposite"), new Color(255, 197, 197)),
     54    /** Conflict background: in opposite */
    3355    BGCOLOR_IN_OPPOSITE(marktr("Conflict background: in opposite"), new Color(255, 234, 213)),
     56    /** Conflict background: same position in opposite */
    3457    BGCOLOR_SAME_POSITION_IN_OPPOSITE(marktr("Conflict background: same position in opposite"), new Color(217, 255, 217)),
    3558
     59    /** Conflict background: keep one tag */
    3660    BGCOLOR_TAG_KEEP_ONE(marktr("Conflict background: keep one tag"), new Color(217, 255, 217)),
     61    /** Conflict foreground: keep one tag */
    3762    FGCOLOR_TAG_KEEP_ONE(marktr("Conflict foreground: keep one tag"), Color.black),
     63    /** Conflict background: drop tag */
    3864    BGCOLOR_TAG_KEEP_NONE(marktr("Conflict background: drop tag"), Color.lightGray),
     65    /** Conflict foreground: drop tag */
    3966    FGCOLOR_TAG_KEEP_NONE(marktr("Conflict foreground: drop tag"), Color.black),
     67    /** Conflict background: keep all tags */
    4068    BGCOLOR_TAG_KEEP_ALL(marktr("Conflict background: keep all tags"), new Color(255, 234, 213)),
     69    /** Conflict foreground: keep all tags */
    4170    FGCOLOR_TAG_KEEP_ALL(marktr("Conflict foreground: keep all tags"), Color.black),
     71    /** Conflict background: sum all numeric tags */
    4272    BGCOLOR_TAG_SUM_ALL_NUM(marktr("Conflict background: sum all numeric tags"), new Color(255, 234, 213)),
     73    /** Conflict foreground: sum all numeric tags */
    4374    FGCOLOR_TAG_SUM_ALL_NUM(marktr("Conflict foreground: sum all numeric tags"), Color.black),
    4475
     76    /** Conflict background: keep member */
    4577    BGCOLOR_MEMBER_KEEP(marktr("Conflict background: keep member"), new Color(217, 255, 217)),
     78    /** Conflict foreground: keep member */
    4679    FGCOLOR_MEMBER_KEEP(marktr("Conflict foreground: keep member"), Color.black),
     80    /** Conflict background: remove member */
    4781    BGCOLOR_MEMBER_REMOVE(marktr("Conflict background: remove member"), Color.lightGray),
     82    /** Conflict foreground: remove member */
    4883    FGCOLOR_MEMBER_REMOVE(marktr("Conflict foreground: remove member"), Color.black);
    4984
Note: See TracChangeset for help on using the changeset viewer.