diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplicationElement.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplicationElement.java index f3d6fc86285..182388dbeed 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplicationElement.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplicationElement.java @@ -114,7 +114,7 @@ public interface MApplicationElement { * Tags are a list of Strings that are persistent parts of the UI Model. They can be used to 'refine' a particular * model element, supplying extra 'meta' information. These tags interact with the CSS engine so that it's * possible to write CSS specific to a particular tag. The platform currently uses this mechanism to cause the - * color change in the stack comtaining the currently active part + * color change in the stack containing the currently active part *

* * @return the value of the 'Tags' attribute list. @@ -130,7 +130,7 @@ public interface MApplicationElement { * *

* This field is used to track the bundle (if any) from which the UI element was - * derived in order to faciliate its removal should the bundle go away or be updated. + * derived in order to facilitate its removal should the bundle go away or be updated. *

* * @return the value of the 'Contributor URI' attribute. @@ -158,7 +158,7 @@ public interface MApplicationElement { * * *

- * This is a String to Object map into which any desired runtime information realted to a particular element + * This is a String to Object map into which any desired runtime information related to a particular element * may be stored. It is not persisted across sessions so it is not necessary that the 'values' be * serializable. *

diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUIElement.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUIElement.java index 68a8dbbe65e..9376c9680b1 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUIElement.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUIElement.java @@ -115,7 +115,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable { * This field controls whether the given UIElement should be displayed within * the application. Note that due to lazy loading it is possible to have this field * set to true but to not have actually rendered the element itself (it does show up - * as a tab on the appropiate stack but will only be rendered when that tab is + * as a tab on the appropriate stack but will only be rendered when that tab is * selected. *

* @@ -179,7 +179,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable { * The MinMaxAddon uses this flag for example when a stack becomes minimized. By * setting the flag to false the stack's widget is cleanly removed from the UI but * is still 'rendered'. Once the widget has been cached the minimized stack can then - * display the widget using its own technques. + * display the widget using its own techniques. *

* * @return the value of the 'Visible' attribute. @@ -235,7 +235,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable { * * *

- * This is a persistend field that may be used by the parent element's renderer + * This is a persistent field that may be used by the parent element's renderer * to maintain any data that it needs to control the container. For example this is where * the SashRenderer stores the 'weight' of a particular element. *

@@ -267,7 +267,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable { * *

* This is a transient (i.e. non-persisted) field which is used in conjunction with - * MPlaceholders which are used to share elements actoss multiple perspectives. This + * MPlaceholders which are used to share elements across multiple perspectives. This * field will point back to the MPlaceholder (if any) currently hosting this one. *

* diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java index 33061be00b3..41eb5e5c1dd 100644 --- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java +++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java @@ -173,9 +173,9 @@ public class StackRenderer extends LazyStackRenderer { private static final String STACK_SELECTED_PART = "stack_selected_part"; //$NON-NLS-1$ /** - * Add this tag to prevent the next tab's activation from granting focus toac - * the part. This is used to keep the focus on the CTabFolder when traversing - * the tabs using the keyboard. + * Add this tag to prevent the next tab's activation from granting focus to the + * part. This is used to keep the focus on the CTabFolder when traversing the + * tabs using the keyboard. */ private static final String INHIBIT_FOCUS = "InhibitFocus"; //$NON-NLS-1$ @@ -1679,7 +1679,7 @@ private List getCloseableSiblingParts(MPart part) { private List getCloseableSiblingParts(MPart part, List children, final int start, final int end) { // broken out from closeSiblingParts so it can be used to determine how - // many closeable siblings are available + // many closable siblings are available List closeableSiblings = new ArrayList<>(); for (int i = start; i < end; i++) { MUIElement child = children.get(i); diff --git a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/workbench/IPresentationEngine.java b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/workbench/IPresentationEngine.java index 3d9767dc00f..32ed301c04d 100644 --- a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/workbench/IPresentationEngine.java +++ b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/workbench/IPresentationEngine.java @@ -41,11 +41,12 @@ public interface IPresentationEngine { String NO_TITLE = "NoTitle"; //$NON-NLS-1$ /** - * When applied as a tag to an MPlaceholder inhibits the display of the close affordance. This - * allows a part to be closeable in one perspective but not in a different one. + * When applied as a tag to an MPlaceholder inhibits the display of the close + * affordance. This allows a part to be closable in one perspective but not in a + * different one. * - * NOTE: If you are not using perspectives then use the MPart's 'isCloseable' attribute - * to control the affordance. + * NOTE: If you are not using perspectives then use the MPart's + * 'isCloseable' attribute to control the affordance. */ String NO_CLOSE = "NoClose"; //$NON-NLS-1$ diff --git a/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/WorkbenchPage.java b/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/WorkbenchPage.java index 89d32ebb1ae..d8afe4ba902 100644 --- a/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/WorkbenchPage.java +++ b/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/WorkbenchPage.java @@ -919,7 +919,7 @@ private void handleMinimizedStacks(@UIEventTopic(UIEvents.ApplicationElement.TOP /** * Constructs a page. restoreState(IMemento) should be called to - * restore this page from data stored in a persistance file. + * restore this page from data stored in a persistence file. * * @param w the parent window * @param input the page input