Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2018-11-09 09:24:42 +0000
committerLars Vogel2018-11-13 11:28:30 +0000
commite87d43075616f5fc3e2f04941787ba94ceae01d8 (patch)
tree957b8b01e3b21f634ba15b5f4956c1c87e36d7a2
parent6792f926524342d0c240b5d0f2ba54aad06a292c (diff)
downloadeclipse.platform.ui-e87d43075616f5fc3e2f04941787ba94ceae01d8.tar.gz
eclipse.platform.ui-e87d43075616f5fc3e2f04941787ba94ceae01d8.tar.xz
eclipse.platform.ui-e87d43075616f5fc3e2f04941787ba94ceae01d8.zip
Adds minimal Javadoc the the ECommandService#createCommand method
Change-Id: Ibae9aa308801e975e77bfbd4f3b8f6ffb02db3a3 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/ECommandService.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/ECommandService.java b/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/ECommandService.java
index 923c323b0e0..f9a1cfbf7e1 100644
--- a/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/ECommandService.java
+++ b/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/ECommandService.java
@@ -24,6 +24,13 @@ import org.eclipse.core.commands.ParameterizedCommand;
* @noimplement
*/
public interface ECommandService {
+ /**
+ * Allows to create an instance of an existing command based on the id parameter
+ *
+ * @param id - Command to create
+ * @param parameters - Map of the parameters of the command or null
+ * @return ParameterizedCommand - created command or null
+ */
public ParameterizedCommand createCommand(String id, Map<String, ?> parameters);
/**

Back to the top