diff --git a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/AbstractParameterValueConverter.java b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/AbstractParameterValueConverter.java index 1fb37b45a1a..320fd46748f 100644 --- a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/AbstractParameterValueConverter.java +++ b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/AbstractParameterValueConverter.java @@ -30,7 +30,7 @@ *
* This class will typically be extended so the subclass can be referenced from
* the converter attribute of the
- * commandParameterType elemement of the
+ * commandParameterType element of the
* org.eclipse.ui.commands extension-point. Objects implementing
* this interface may also be passed directly to
* {@link ParameterType#define(String, AbstractParameterValueConverter)} by
diff --git a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/Command.java b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/Command.java
index 5afacb713fc..84aae1af69e 100644
--- a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/Command.java
+++ b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/Command.java
@@ -42,8 +42,8 @@
* defined if it is declared in the XML of a resolved plug-in. If the plug-in is
* unloaded or the command is simply not declared, then it is undefined. Trying
* to reference an undefined command will succeed, but trying to access any of
- * its functionality will fail with a NotDefinedException. If
- * you need to know when a command changes from defined to undefined (or vice
+ * its functionality will fail with a NotDefinedException. If you
+ * need to know when a command changes from defined to undefined (or vice
* versa), then attach a command listener.
*
diff --git a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/CommandEvent.java b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/CommandEvent.java
index a3226b720c2..a25c76d6b5e 100644
--- a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/CommandEvent.java
+++ b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/CommandEvent.java
@@ -172,26 +172,26 @@ public CommandEvent(final Command command, final boolean categoryChanged,
* @param command
* the instance of the interface that changed.
* @param categoryChanged
- * true, iff the category property changed.
+ * true, if the category property changed.
* @param definedChanged
- * true, iff the defined property changed.
+ * true, if the defined property changed.
* @param descriptionChanged
- * true, iff the description property changed.
+ * true, if the description property changed.
* @param handledChanged
- * true, iff the handled property changed.
+ * true, if the handled property changed.
* @param nameChanged
- * true, iff the name property changed.
+ * true, if the name property changed.
* @param parametersChanged
* true if the parameters have changed;
* false otherwise.
* @param returnTypeChanged
- * true iff the return type property changed;
+ * true if the return type property changed;
* false otherwise.
* @param helpContextIdChanged
- * true iff the help context identifier changed;
+ * true if the help context identifier changed;
* false otherwise.
* @param enabledChanged
- * true iff the comand enablement changed;
+ * true if the command enablement changed;
* false otherwise.
* @since 3.3
*/
@@ -287,7 +287,7 @@ public final boolean isReturnTypeChanged() {
/**
* Return whether the enable property changed.
*
- * @return true iff the comand enablement changed
+ * @return true if the command enablement changed
* @since 3.3
*/
public final boolean isEnabledChanged() {
diff --git a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java
index fdc32c39ea4..8eb1cf0cdc4 100644
--- a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java
+++ b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java
@@ -434,7 +434,7 @@ public boolean equals(final Object object) {
/**
* Executes this command with its parameters. This method will succeed
* regardless of whether the command is enabled or defined. It is
- * preferrable to use {@link #executeWithChecks(Object, Object)}.
+ * preferable to use {@link #executeWithChecks(Object, Object)}.
*
* @param trigger
* The object that triggered the execution; may be
diff --git a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/NamedHandleObject.java b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/NamedHandleObject.java
index 39b8dd7952e..2ca178c23f1 100644
--- a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/NamedHandleObject.java
+++ b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/NamedHandleObject.java
@@ -29,7 +29,7 @@ public abstract class NamedHandleObject extends HandleObject {
protected String description = null;
/**
- * The name of this handle. This valud should not be null
+ * The name of this handle. This value should not be null
* unless the handle is undefined.
*/
protected String name = null;
diff --git a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/NamedHandleObjectComparator.java b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/NamedHandleObjectComparator.java
index 7ec749182d6..bd7f30a5d42 100644
--- a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/NamedHandleObjectComparator.java
+++ b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/NamedHandleObjectComparator.java
@@ -32,7 +32,7 @@ public class NamedHandleObjectComparator implements Comparator {
* useful is they are display to an end user.
*
* @param left
- * The first obect to compare; may be null.
+ * The first object to compare; may be null.
* @param right
* The second object to compare; may be null.
* @return -1 if left is null
diff --git a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/IAdvancedUndoableOperation.java b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/IAdvancedUndoableOperation.java
index b41d205688d..239df592372 100644
--- a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/IAdvancedUndoableOperation.java
+++ b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/IAdvancedUndoableOperation.java
@@ -89,7 +89,7 @@ public interface IAdvancedUndoableOperation {
* @return the IStatus indicating the validity of the undo. The status
* severity should be set to OK if the undo can
* successfully be performed, and ERROR if it
- * cannnot. Any other status is assumed to represent an ambiguous
+ * cannot. Any other status is assumed to represent an ambiguous
* state.
* @throws ExecutionException
* if an exception occurs while computing the validity.
@@ -119,7 +119,7 @@ IStatus computeUndoableStatus(IProgressMonitor monitor)
* @return the IStatus indicating the validity of the redo. The status
* severity should be set to OK if the redo can
* successfully be performed, and ERROR if it
- * cannnot. Any other status is assumed to represent an ambiguous
+ * cannot. Any other status is assumed to represent an ambiguous
* state.
* @throws ExecutionException
* if an exception occurs while computing the validity.