Skip to content

Commit 36f81f0

Browse files
elsazacakurtakov
authored andcommitted
Fix javadoc errors
1 parent 5cea2a0 commit 36f81f0

File tree

5 files changed

+17
-16
lines changed

5 files changed

+17
-16
lines changed

bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/MApplicationElement.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public interface MApplicationElement {
114114
* Tags are a list of Strings that are persistent parts of the UI Model. They can be used to 'refine' a particular
115115
* model element, supplying extra 'meta' information. These tags interact with the CSS engine so that it's
116116
* possible to write CSS specific to a particular tag. The platform currently uses this mechanism to cause the
117-
* color change in the stack comtaining the currently active part
117+
* color change in the stack containing the currently active part
118118
* </p>
119119
* <!-- end-model-doc -->
120120
* @return the value of the '<em>Tags</em>' attribute list.
@@ -130,7 +130,7 @@ public interface MApplicationElement {
130130
* <!-- begin-model-doc -->
131131
* <p>
132132
* This field is used to track the bundle (if any) from which the UI element was
133-
* derived in order to faciliate its removal should the bundle go away or be updated.
133+
* derived in order to facilitate its removal should the bundle go away or be updated.
134134
* </p>
135135
* <!-- end-model-doc -->
136136
* @return the value of the '<em>Contributor URI</em>' attribute.
@@ -158,7 +158,7 @@ public interface MApplicationElement {
158158
* <!-- end-user-doc -->
159159
* <!-- begin-model-doc -->
160160
* <p>
161-
* This is a String to Object map into which any desired runtime information realted to a particular element
161+
* This is a String to Object map into which any desired runtime information related to a particular element
162162
* may be stored. It is <i>not</i> persisted across sessions so it is not necessary that the 'values' be
163163
* serializable.
164164
* </p>

bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/MUIElement.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable {
115115
* This field controls whether the given UIElement should be displayed within
116116
* the application. Note that due to lazy loading it is possible to have this field
117117
* set to true but to not have actually rendered the element itself (it does show up
118-
* as a tab on the appropiate stack but will only be rendered when that tab is
118+
* as a tab on the appropriate stack but will only be rendered when that tab is
119119
* selected.
120120
* </p>
121121
* <!-- end-model-doc -->
@@ -179,7 +179,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable {
179179
* The MinMaxAddon uses this flag for example when a stack becomes minimized. By
180180
* setting the flag to false the stack's widget is cleanly removed from the UI but
181181
* is still 'rendered'. Once the widget has been cached the minimized stack can then
182-
* display the widget using its own technques.
182+
* display the widget using its own techniques.
183183
* </p>
184184
* <!-- end-model-doc -->
185185
* @return the value of the '<em>Visible</em>' attribute.
@@ -235,7 +235,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable {
235235
* <!-- end-user-doc -->
236236
* <!-- begin-model-doc -->
237237
* <p>
238-
* This is a persistend field that may be used by the <b>parent</b> element's renderer
238+
* This is a persistent field that may be used by the <b>parent</b> element's renderer
239239
* to maintain any data that it needs to control the container. For example this is where
240240
* the SashRenderer stores the 'weight' of a particular element.
241241
* </p> <p>
@@ -267,7 +267,7 @@ public interface MUIElement extends MApplicationElement, MLocalizable {
267267
* <!-- begin-model-doc -->
268268
* <p>
269269
* This is a transient (i.e. non-persisted) field which is used in conjunction with
270-
* MPlaceholders which are used to share elements actoss multiple perspectives. This
270+
* MPlaceholders which are used to share elements across multiple perspectives. This
271271
* field will point back to the MPlaceholder (if any) currently hosting this one.
272272
* </p>
273273
* <!-- end-model-doc -->

bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ public class StackRenderer extends LazyStackRenderer {
173173
private static final String STACK_SELECTED_PART = "stack_selected_part"; //$NON-NLS-1$
174174

175175
/**
176-
* Add this tag to prevent the next tab's activation from granting focus toac
177-
* the part. This is used to keep the focus on the CTabFolder when traversing
178-
* the tabs using the keyboard.
176+
* Add this tag to prevent the next tab's activation from granting focus to the
177+
* part. This is used to keep the focus on the CTabFolder when traversing the
178+
* tabs using the keyboard.
179179
*/
180180
private static final String INHIBIT_FOCUS = "InhibitFocus"; //$NON-NLS-1$
181181

@@ -1679,7 +1679,7 @@ private List<MPart> getCloseableSiblingParts(MPart part) {
16791679
private List<MPart> getCloseableSiblingParts(MPart part, List<MUIElement> children, final int start,
16801680
final int end) {
16811681
// broken out from closeSiblingParts so it can be used to determine how
1682-
// many closeable siblings are available
1682+
// many closable siblings are available
16831683
List<MPart> closeableSiblings = new ArrayList<>();
16841684
for (int i = start; i < end; i++) {
16851685
MUIElement child = children.get(i);

bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/workbench/IPresentationEngine.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ public interface IPresentationEngine {
4141
String NO_TITLE = "NoTitle"; //$NON-NLS-1$
4242

4343
/**
44-
* When applied as a tag to an MPlaceholder inhibits the display of the close affordance. This
45-
* allows a part to be closeable in one perspective but not in a different one.
44+
* When applied as a tag to an MPlaceholder inhibits the display of the close
45+
* affordance. This allows a part to be closable in one perspective but not in a
46+
* different one.
4647
*
47-
* <b>NOTE:</b> If you are not using perspectives then use the MPart's 'isCloseable' attribute
48-
* to control the affordance.
48+
* <b>NOTE:</b> If you are not using perspectives then use the MPart's
49+
* 'isCloseable' attribute to control the affordance.
4950
*/
5051
String NO_CLOSE = "NoClose"; //$NON-NLS-1$
5152

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/WorkbenchPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ private void handleMinimizedStacks(@UIEventTopic(UIEvents.ApplicationElement.TOP
919919

920920
/**
921921
* Constructs a page. <code>restoreState(IMemento)</code> should be called to
922-
* restore this page from data stored in a persistance file.
922+
* restore this page from data stored in a persistence file.
923923
*
924924
* @param w the parent window
925925
* @param input the page input

0 commit comments

Comments
 (0)