diff --git a/bundles/org.eclipse.e4.ui.css.core/src/org/eclipse/e4/ui/css/core/dom/ElementAdapter.java b/bundles/org.eclipse.e4.ui.css.core/src/org/eclipse/e4/ui/css/core/dom/ElementAdapter.java index 24262ed866c..d8e1fd71158 100644 --- a/bundles/org.eclipse.e4.ui.css.core/src/org/eclipse/e4/ui/css/core/dom/ElementAdapter.java +++ b/bundles/org.eclipse.e4.ui.css.core/src/org/eclipse/e4/ui/css/core/dom/ElementAdapter.java @@ -72,7 +72,7 @@ public boolean isStaticPseudoInstance(String s) { @Override public void copyDefaultStyleDeclarations(CSSStylableElement stylableElement) { - // Copy default style decalaration + // Copy default style declaration this.setDefaultStyleDeclaration(null, stylableElement .getDefaultStyleDeclaration(null)); // Copy all static pseudo instances diff --git a/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore b/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore index 5700be9e4b6..f6b0f277fcb 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore +++ b/bundles/org.eclipse.e4.ui.model.workbench/model/UIElements.ecore @@ -100,7 +100,7 @@ -
+
@@ -112,7 +112,7 @@ -
+
@@ -1185,7 +1185,7 @@ -
+
diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MAddon.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MAddon.java index 0a06643676a..efd7dc72080 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MAddon.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MAddon.java @@ -26,7 +26,7 @@ *

* Addons are expected to be capable of being removed without damage to the * original UI. While not yet implemented there will be an uninstall protocol defined - * In the future allowing an addon to remove any model elements specific to the + * in the future allowing an addon to remove any model elements specific to the * addon (i.e. The MinMaxAddon's TrimElements. *

* @since 1.0 diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptor.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptor.java index 57bc7bc5ec1..db228c86825 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptor.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/descriptor/basic/MPartDescriptor.java @@ -66,7 +66,7 @@ public interface MPartDescriptor extends MApplicationElement, MUILabel, MHandler * * *

- * Determines whether or not the part represented by this descriptot can have multiple + * Determines whether or not the part represented by this descriptor can have multiple * instances with a given window. *

* diff --git a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/IJobRunnable.java b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/IJobRunnable.java index 1462f2fe4fa..dda2887b1da 100644 --- a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/IJobRunnable.java +++ b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/IJobRunnable.java @@ -29,15 +29,13 @@ public interface IJobRunnable { *

* The provided monitor can be used to report progress and respond to * cancellation. If the progress monitor has been canceled, the runnable should - * finish its execution at the earliest convenience and return a result - * status of severity IStatus.CANCEL. The singleton cancel - * status Status.CANCEL_STATUS can be used for this purpose. + * finish its execution at the earliest convenience and return a result status + * of severity IStatus.CANCEL. The singleton cancel status + * Status.CANCEL_STATUS can be used for this purpose. * - * @param monitor - * the monitor to be used for reporting progress and responding - * to cancelation. The monitor is never null - * @return resulting status of the run. The result must not be - * null + * @param monitor the monitor to be used for reporting progress and responding + * to cancellation. The monitor is never null + * @return resulting status of the run. The result must not be null */ public IStatus run(IProgressMonitor monitor); diff --git a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/IProgressService.java b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/IProgressService.java index ab0f7cd1334..4c855db6d03 100644 --- a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/IProgressService.java +++ b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/IProgressService.java @@ -105,7 +105,7 @@ public interface IProgressService extends IRunnableContext { * @throws InvocationTargetException wraps any exception or error which occurs * while running the runnable * @throws InterruptedException propagated by the context if the runnable - * acknowledges cancelation by throwing this + * acknowledges cancellation by throwing this * exception. */ public void runInUI(IRunnableContext context, diff --git a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/AnimationItem.java b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/AnimationItem.java index 7ec34cd664c..b52c9c6f08d 100644 --- a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/AnimationItem.java +++ b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/AnimationItem.java @@ -39,7 +39,7 @@ interface IAnimationContainer { public abstract void animationDone(); } - //Create a containter that does nothing by default + // Create a container that does nothing by default IAnimationContainer animationContainer = new IAnimationContainer() { @Override public void animationDone() { diff --git a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressManagerUtil.java b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressManagerUtil.java index deb18f33a2b..3d31eccfc4e 100644 --- a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressManagerUtil.java +++ b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressManagerUtil.java @@ -197,13 +197,11 @@ static String shortenText(String textValue, Control control) { } /** - * Find the second index of a whitespace. Return the first index if there - * isn't one or 0 if there is no space at all. + * Find the second index of a whitespace. Return the first index if there isn't + * one or 0 if there is no space at all. * - * @param gc - * The GC to test max length - * @param maxWidth - * The maximim extent + * @param gc The GC to test max length + * @param maxWidth The maximum extent * @return int */ private static int findSecondWhitespace(String textValue, GC gc, diff --git a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressRegion.java b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressRegion.java index 178dd38fc08..e6c06289750 100644 --- a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressRegion.java +++ b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressRegion.java @@ -214,7 +214,7 @@ public void dock(int dropSide) { } /** - * Answer true if the side is a horizonal one + * Answer true if the side is a horizontal one * * @return true if the side is horizontal */ @@ -227,9 +227,9 @@ private boolean isHorizontal(int dropSide) { /** - * Answer true if the side is a horizonal one + * Answer true if the side is a vertical one * - * @return true if the side is horizontal + * @return true if the side is vertical */ private boolean isVertical(int dropSide) { if (forceHorizontal) { diff --git a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/TaskInfo.java b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/TaskInfo.java index dc052c9dd17..5b741dfbe70 100644 --- a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/TaskInfo.java +++ b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/TaskInfo.java @@ -49,15 +49,12 @@ void addWork(double workIncrement) { } /** - * Add the amount of work to the recevier. Update a parent monitor by the + * Add the amount of work to the receiver. Update a parent monitor by the * increment scaled to the amount of ticks this represents. * - * @param workIncrement - * int the amount of work in the receiver - * @param parentMonitor - * The IProgressMonitor that is also listening - * @param parentTicks - * the number of ticks this monitor represents + * @param workIncrement int the amount of work in the receiver + * @param parentMonitor The IProgressMonitor that is also listening + * @param parentTicks the number of ticks this monitor represents */ void addWork(double workIncrement, IProgressMonitor parentMonitor, int parentTicks) {