Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDejan Gloszic2006-01-17 17:47:37 -0500
committerDejan Gloszic2006-01-17 17:47:37 -0500
commitd3e8be5256748de9dce2890a5db7ec6915b7efe1 (patch)
tree0f4ef155f518ff1ea99eb9d8a1bae0dd37942f0e /org.eclipse.help
parentf5d9521bf46322854ab4dcd7580071329b684668 (diff)
downloadeclipse.platform.ua-d3e8be5256748de9dce2890a5db7ec6915b7efe1.tar.gz
eclipse.platform.ua-d3e8be5256748de9dce2890a5db7ec6915b7efe1.tar.xz
eclipse.platform.ua-d3e8be5256748de9dce2890a5db7ec6915b7efe1.zip
*** empty log message ***
Diffstat (limited to 'org.eclipse.help')
-rw-r--r--org.eclipse.help/livehelp.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/org.eclipse.help/livehelp.js b/org.eclipse.help/livehelp.js
index a1678a438..0c94e9e31 100644
--- a/org.eclipse.help/livehelp.js
+++ b/org.eclipse.help/livehelp.js
@@ -26,6 +26,21 @@ function findHelpTop() {
}
/**
+ * Call this Javascript method to execute a serialized command in
+ * the workbench.
+ *
+ * The parameter is a serialized parameterized command as described
+ * in the JavaDoc for ParameterizedCommand#serialize().
+ */
+function executeCommand(command)
+{
+ liveAction(
+ "org.eclipse.ui.workbench",
+ "org.eclipse.ui.internal.help.ExecuteCommandAction",
+ command);
+}
+
+/**
* Call this Javascript method to trigger a specified live help action
* in the workbench.
* The parameters for liveAction are:

Back to the top