Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Muskalla2008-04-29 15:46:16 +0000
committerBenjamin Muskalla2008-04-29 15:46:16 +0000
commit4e4f176ec863071620c00210ece9e0abbe468332 (patch)
treea3d635fb7e254cafddc687e7186aaed87ea0e1fc /bundles/org.eclipse.rap.ui/src
parente30da774e217153165dc8904902303faa4685985 (diff)
downloadorg.eclipse.rap-4e4f176ec863071620c00210ece9e0abbe468332.tar.gz
org.eclipse.rap-4e4f176ec863071620c00210ece9e0abbe468332.tar.xz
org.eclipse.rap-4e4f176ec863071620c00210ece9e0abbe468332.zip
removed useless preference constants, turned them off and removed some animations
Diffstat (limited to 'bundles/org.eclipse.rap.ui/src')
-rwxr-xr-xbundles/org.eclipse.rap.ui/src/org/eclipse/ui/internal/UIPreferenceInitializer.java44
1 files changed, 25 insertions, 19 deletions
diff --git a/bundles/org.eclipse.rap.ui/src/org/eclipse/ui/internal/UIPreferenceInitializer.java b/bundles/org.eclipse.rap.ui/src/org/eclipse/ui/internal/UIPreferenceInitializer.java
index 3d36fc46c0..a10f9f23db 100755
--- a/bundles/org.eclipse.rap.ui/src/org/eclipse/ui/internal/UIPreferenceInitializer.java
+++ b/bundles/org.eclipse.rap.ui/src/org/eclipse/ui/internal/UIPreferenceInitializer.java
@@ -47,31 +47,35 @@ public class UIPreferenceInitializer extends AbstractPreferenceInitializer {
IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
// Deprecated but kept for backwards compatibility
- node.put(IWorkbenchPreferenceConstants.PROJECT_OPEN_NEW_PERSPECTIVE,
- IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
- node.put(IWorkbenchPreferenceConstants.SHIFT_OPEN_NEW_PERSPECTIVE,
- IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
- node.put(IWorkbenchPreferenceConstants.ALTERNATE_OPEN_NEW_PERSPECTIVE,
- IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
-
+ // RAP [bm]: disabled
+// node.put(IWorkbenchPreferenceConstants.PROJECT_OPEN_NEW_PERSPECTIVE,
+// IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
+// node.put(IWorkbenchPreferenceConstants.SHIFT_OPEN_NEW_PERSPECTIVE,
+// IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
+// node.put(IWorkbenchPreferenceConstants.ALTERNATE_OPEN_NEW_PERSPECTIVE,
+// IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
+
// Although there is no longer any item on the preference pages
// for setting the linking preference, since it is now a per-part
// setting, it remains as a preference to allow product overrides of the
// initial state of linking in the Navigator. By default, linking is
// off.
- node.putBoolean(IWorkbenchPreferenceConstants.LINK_NAVIGATOR_TO_EDITOR,
- false);
+// node.putBoolean(IWorkbenchPreferenceConstants.LINK_NAVIGATOR_TO_EDITOR,
+// false);
+ // RAPEND: [bm]
// Appearance / Presentation preferences
node.put(IWorkbenchPreferenceConstants.PRESENTATION_FACTORY_ID,
IWorkbenchConstants.DEFAULT_PRESENTATION_ID);
- node
- .putBoolean(
- IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS,
- true);
- // RAP [bm]: disabled animations
- node.putBoolean(IWorkbenchPreferenceConstants.ENABLE_ANIMATIONS, false);
- node.putBoolean(IWorkbenchPreferenceConstants.USE_COLORED_LABELS, true);
+ // RAP [bm]: no sense, disabled in IWPC
+// node
+// .putBoolean(
+// IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS,
+// true);
+// node.putBoolean(IWorkbenchPreferenceConstants.ENABLE_ANIMATIONS, true);
+// node.putBoolean(IWorkbenchPreferenceConstants.USE_COLORED_LABELS, true);
+ // RAPEND: [bm]
+
node.put(IWorkbenchPreferenceConstants.DOCK_PERSPECTIVE_BAR,
IWorkbenchPreferenceConstants.TOP_RIGHT);
node.putBoolean(
@@ -89,7 +93,8 @@ public class UIPreferenceInitializer extends AbstractPreferenceInitializer {
IWorkbenchPreferenceConstants.BOTTOM);
// default to showing intro on startup
- node.putBoolean(IWorkbenchPreferenceConstants.SHOW_INTRO, true);
+ // RAP [bm]: no intro
+// node.putBoolean(IWorkbenchPreferenceConstants.SHOW_INTRO, true);
// Default to the standard key configuration.
// RAP [bm]: Bindings
@@ -127,8 +132,9 @@ public class UIPreferenceInitializer extends AbstractPreferenceInitializer {
true);
// Default for enabling detached views
- node.putBoolean(IWorkbenchPreferenceConstants.ENABLE_DETACHED_VIEWS,
- true);
+ // RAP [bm]: no detached view
+// node.putBoolean(IWorkbenchPreferenceConstants.ENABLE_DETACHED_VIEWS,
+// true);
// Default for prompting for save when saveables are still held on to by other parts
node.putBoolean(IWorkbenchPreferenceConstants.PROMPT_WHEN_SAVEABLE_STILL_OPEN,

Back to the top