Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-08-07 02:34:18 -0400
committerLars Vogel2020-08-07 02:35:55 -0400
commit44bca157e7413eef734fab14561e6e5ddbc438ee (patch)
tree3fc34caa2864fe54e4a8a17407b339487b59918a
parentca3cfcf16f71fe7397962afa04612854f704089b (diff)
downloadeclipse.platform.ua-I20200818-0600.tar.gz
eclipse.platform.ua-I20200818-0600.tar.xz
eclipse.platform.ua-I20200818-0600.zip
Removes unused field in IntroLaunchBar Change-Id: I76c7b5768354b209ec14069625a4546cd5a77d0b Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/presentations/IntroLaunchBar.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/presentations/IntroLaunchBar.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/presentations/IntroLaunchBar.java
index 24c3acf0b..67a0f061f 100644
--- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/presentations/IntroLaunchBar.java
+++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/presentations/IntroLaunchBar.java
@@ -119,8 +119,6 @@ public class IntroLaunchBar {
private final static String LAUNCH_COMMAND_BASE = "http://org.eclipse.ui.intro/showPage?id="; //$NON-NLS-1$
- private Color fg;
-
private Color bg;
private MToolControl trimControl;
@@ -336,14 +334,6 @@ public class IntroLaunchBar {
bg = new Color(display, r);
}
}
- if (element.getForeground() != null) {
- String value = resolveColor(element.getForeground());
- if (value!=null) {
- RGB r = SharedStyleManager.parseRGB(value);
- if (r != null)
- fg = new Color(display, r);
- }
- }
}
private String resolveColor(String value) {

Back to the top