Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2011-08-16 17:25:59 +0000
committerChris Goldthorpe2011-08-16 17:25:59 +0000
commit06fdd3eae3ceae44aca7f73f1c231e5ec2714e6d (patch)
treeaa8b2f11afb7222e015a16a79e535509ea2e4d17
parentff18b124bc96a31925f7218fa1936b1d276fd3f1 (diff)
downloadeclipse.platform.ua-06fdd3eae3ceae44aca7f73f1c231e5ec2714e6d.tar.gz
eclipse.platform.ua-06fdd3eae3ceae44aca7f73f1c231e5ec2714e6d.tar.xz
eclipse.platform.ua-06fdd3eae3ceae44aca7f73f1c231e5ec2714e6d.zip
Bug 354428 - [Help] Standalone Help doesn't support enablement expressions with contributed property testers
-rw-r--r--org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpEvaluationContext.java4
-rw-r--r--org.eclipse.help.ui/src/org/eclipse/help/ui/internal/HelpUIEvaluationContext.java4
2 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpEvaluationContext.java b/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpEvaluationContext.java
index ab332e5d7..44415b725 100644
--- a/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpEvaluationContext.java
+++ b/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpEvaluationContext.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2008 IBM Corporation and others.
+ * Copyright (c) 2006, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Martin Oberhuber (Wind River) Bug 354428
*******************************************************************************/
package org.eclipse.help.internal.base;
@@ -30,6 +31,7 @@ public final class HelpEvaluationContext {
if (context == null) {
context = new EvaluationContext(null, Platform.class);
context.addVariable(VARIABLE_PLATFORM, Platform.class);
+ context.setAllowPluginActivation(true);
}
return context;
}
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/HelpUIEvaluationContext.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/HelpUIEvaluationContext.java
index 83f2e95be..c3d7cd336 100644
--- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/HelpUIEvaluationContext.java
+++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/HelpUIEvaluationContext.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2008 IBM Corporation and others.
+ * Copyright (c) 2006, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Martin Oberhuber (Wind River) Bug 354428
*******************************************************************************/
package org.eclipse.help.ui.internal;
@@ -41,6 +42,7 @@ public final class HelpUIEvaluationContext {
return null;
}
};
+ context.setAllowPluginActivation(true);
}
return context;
}

Back to the top