|
21 | 21 | public class ColorMap { |
22 | 22 |
|
23 | 23 | // TODO: use themes? |
24 | | - public static final Color LANDMARK = new Color(Display.getDefault(), 36, 22, 50); |
25 | | - |
26 | | - public static final Color BACKGROUND_COLOR = new Color(Display.getDefault(), 255, 255, 255); |
27 | | - |
28 | | - public static final Color DEFAULT = null;//Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND);//new Color(Display.getDefault(), 255, 255, 255); |
29 | | - |
30 | | - public static final Color GRAY_DARK = new Color(Display.getDefault(), 70, 70, 70); |
| 24 | + public static final Color LANDMARK = new Color(Display.getDefault(), 80, 140, 200); |
31 | 25 |
|
32 | 26 | public static final Color GRAY_MEDIUM = new Color(Display.getDefault(), 105, 105, 105); |
33 | 27 |
|
34 | 28 | public static final Color GRAY_LIGHT = new Color(Display.getDefault(), 145, 145, 145); |
35 | 29 |
|
36 | | - public static final Color GRAY_VERY_LIGHT = new Color(Display.getDefault(), 200, 200, 200); |
37 | | - |
38 | | - public static final Color RELATIONSHIP = new Color(Display.getDefault(), 32, 104, 157); |
39 | | - |
40 | | - // FIXME 3.9 rename to HIGHLIGHTER_RED_INTERSECTION |
41 | | - public static final Color HIGLIGHTER_RED_INTERSECTION = new Color(Display.getDefault(), 200, 0, 0); |
42 | | - |
43 | | - public static final Color HIGHLIGHTER_ORANGE_GRADIENT = new Color(Display.getDefault(), 222, 137, 71); |
44 | | - |
45 | | - public static final Color HIGLIGHTER_BLUE_GRADIENT = new Color(Display.getDefault(), 81, 158, 235); |
46 | | - |
47 | | - public static final Color HIGHLIGHTER_YELLOW = new Color(Display.getDefault(), 255, 238, 99); |
48 | | - |
49 | | - public static final Color PANTONE_PASTEL_YELLOW = new Color(Display.getDefault(), 244, 238, 175); |
50 | | - |
51 | | - public static final Color PANTONE_PASTEL_ROSE = new Color(Display.getDefault(), 254, 179, 190); |
52 | | - |
53 | | - public static final Color PANTONE_PASTEL_MAUVE = new Color(Display.getDefault(), 241, 183, 216); |
54 | | - |
55 | | - public static final Color PANTONE_PASTEL_PURPLE = new Color(Display.getDefault(), 202, 169, 222); |
56 | | - |
57 | | - public static final Color PANTONE_PASTEL_BLUE = new Color(Display.getDefault(), 120, 160, 250); |
58 | | - |
59 | | - public static final Color PANTONE_PASTERL_GREEN = new Color(Display.getDefault(), 162, 231, 215); |
60 | | - |
61 | | - public static final Color COLOR_WHITE = new Color(Display.getCurrent(), 255, 255, 255); |
62 | | - |
63 | | - public static final Color COLOR_BLACK = new Color(Display.getCurrent(), 0, 0, 0); |
| 30 | + public static final Color RELATIONSHIP = new Color(Display.getDefault(), 0, 254, 0); |
64 | 31 |
|
65 | 32 | public void dispose() { |
66 | 33 | LANDMARK.dispose(); |
67 | | - BACKGROUND_COLOR.dispose(); |
68 | | - GRAY_DARK.dispose(); |
69 | | - GRAY_MEDIUM.dispose(); |
70 | 34 | GRAY_LIGHT.dispose(); |
71 | | - GRAY_VERY_LIGHT.dispose(); |
| 35 | + GRAY_MEDIUM.dispose(); |
72 | 36 | RELATIONSHIP.dispose(); |
73 | | - HIGLIGHTER_RED_INTERSECTION.dispose(); |
74 | | - HIGHLIGHTER_ORANGE_GRADIENT.dispose(); |
75 | | - HIGHLIGHTER_YELLOW.dispose(); |
76 | | - PANTONE_PASTERL_GREEN.dispose(); |
77 | | - PANTONE_PASTEL_BLUE.dispose(); |
78 | | - PANTONE_PASTEL_MAUVE.dispose(); |
79 | | - PANTONE_PASTEL_PURPLE.dispose(); |
80 | | - PANTONE_PASTEL_ROSE.dispose(); |
81 | | - PANTONE_PASTEL_YELLOW.dispose(); |
82 | | - COLOR_WHITE.dispose(); |
83 | | - COLOR_BLACK.dispose(); |
84 | 37 |
|
85 | 38 | // below disposed by registry |
86 | 39 | // DEFAULT.dispose(); |
|
0 commit comments