Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2014-10-07 14:47:28 +0000
committerLars Vogel2014-10-07 14:49:09 +0000
commitc7395ea23d91a525592731a6f04e48897c880fd5 (patch)
tree5cd827f7e0c58767034386dc8e19dacbfca699fa /org.eclipse.ui.intro
parentccd61518b0c1ed7ecb3f7a04dfac074d767c564e (diff)
downloadeclipse.platform.ua-c7395ea23d91a525592731a6f04e48897c880fd5.tar.gz
eclipse.platform.ua-c7395ea23d91a525592731a6f04e48897c880fd5.tar.xz
eclipse.platform.ua-c7395ea23d91a525592731a6f04e48897c880fd5.zip
[Bug 440136] Delete org.eclipse.ui.presentations from theI20141007-1500
org.eclipse.ui.workbench plug-in Change-Id: I639c600b424f584ef359b198c10f317116b8a4a7 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.ui.intro')
-rw-r--r--org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/presentations/IntroLaunchBar.java11
1 files changed, 7 insertions, 4 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 bcbdbe068..dae737cce 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
@@ -34,7 +34,6 @@ import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Layout;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.ToolBar;
-import org.eclipse.ui.IWorkbenchPreferenceConstants;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.internal.AnimationEngine;
@@ -78,8 +77,6 @@ public class IntroLaunchBar implements IWindowTrim {
private IntroLaunchBarElement element;
protected boolean simple;
-
- private String presentationId;
private IntroTheme theme;
@@ -209,8 +206,14 @@ public class IntroLaunchBar implements IWindowTrim {
return null; // not using the default workbench window
}
+ /**
+ * Not supported anymore as of the removal of the presentation API
+ * TODO remove usage, see Bug 446171
+ *
+ * @return
+ */
protected boolean isPlain() {
- return !"org.eclipse.ui.presentations.default".equals(presentationId); //$NON-NLS-1$
+ return true;
}
public void createControl(Composite parent) {

Back to the top