diff options
author | aradermache | 2013-06-23 21:43:48 +0000 |
---|---|---|
committer | aradermache | 2013-06-23 21:43:48 +0000 |
commit | e2e3996898c87334ef2c52fed350906c8933de3a (patch) | |
tree | e42f97a13af0f8ec7d0a5a1a32b21568378aad0c | |
parent | b5f0339e7979b144dc122565b827590183e96145 (diff) | |
download | org.eclipse.papyrus-e2e3996898c87334ef2c52fed350906c8933de3a.tar.gz org.eclipse.papyrus-e2e3996898c87334ef2c52fed350906c8933de3a.tar.xz org.eclipse.papyrus-e2e3996898c87334ef2c52fed350906c8933de3a.zip |
Fix typos in comments
2 files changed, 3 insertions, 4 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editpolicies/OldCommonDiagramDragDropEditPolicy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editpolicies/OldCommonDiagramDragDropEditPolicy.java index 564157caafc..06a1b37a921 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editpolicies/OldCommonDiagramDragDropEditPolicy.java +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editpolicies/OldCommonDiagramDragDropEditPolicy.java @@ -413,8 +413,8 @@ public abstract class OldCommonDiagramDragDropEditPolicy extends DiagramDragDrop SetBoundsCommand setBoundsCommand = new SetBoundsCommand(getEditingDomain(), "move", (IAdaptable)createCommand.getCommandResult().getReturnValue(), location); //$NON-NLS-1$
cc.compose(setBoundsCommand);
- // If specific drop, the defered command is already do in the getDropObjectCommand method
- // Only if ctrl key activate
+ // If specific drop, the deferred command is already done in the getDropObjectCommand method
+ // Only if CTRL key is active
if(!getSpecificDrop().contains(nodeVISUALID) && isCopy(request)) {
DeferredCreateCommand createCommand2 = new DeferredCreateCommand(getEditingDomain(), droppedObject, (IAdaptable)createCommand.getCommandResult().getReturnValue(), getHost().getViewer());
cc.compose(createCommand2);
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/providers/ValidationDecoratorProvider.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/providers/ValidationDecoratorProvider.java index 2debd564a74..8aba73da0cc 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/providers/ValidationDecoratorProvider.java +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/providers/ValidationDecoratorProvider.java @@ -23,7 +23,6 @@ import java.util.Map; import java.util.Observable; import java.util.Observer; -import org.eclipse.emf.common.util.EList; import org.eclipse.emf.transaction.TransactionalEditingDomain; import org.eclipse.emf.transaction.util.TransactionUtil; import org.eclipse.gef.EditPart; @@ -252,7 +251,7 @@ public abstract class ValidationDecoratorProvider extends AbstractProvider imple super.deactivate(); } - //Refresh when the decoration service add a decoration + //Refresh when the decoration service adds a decoration public void update(Observable o, Object arg) { // check whether update is for this view if(arg instanceof DecorationChange) { |