Skip to content

Commit 8b218e8

Browse files
jbamptonakurtakov
authored andcommitted
Fix spelling
1 parent c6fdb39 commit 8b218e8

File tree

11 files changed

+21
-21
lines changed

11 files changed

+21
-21
lines changed

bundles/org.eclipse.jface/src/org/eclipse/jface/action/IContributionManagerOverrides.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public interface IContributionManagerOverrides {
7979
public String getText(IContributionItem item);
8080

8181
/**
82-
* Visiblity override.
82+
* Visibility override.
8383
*
8484
* @param item the contribution item in question
8585
* @return <ul>

bundles/org.eclipse.jface/src/org/eclipse/jface/action/StatusLine.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@
7373
/** visibility state of the progressbar */
7474
protected volatile boolean fProgressIsVisible = false;
7575

76-
/** visibility state of the cancle button */
76+
/** visibility state of the cancel button */
7777
protected boolean fCancelButtonIsVisible = false;
7878

79-
/** enablement state of the cancle button */
79+
/** enablement state of the cancel button */
8080
protected volatile boolean fCancelEnabled = false;
8181

8282
/** name of the task */
@@ -85,7 +85,7 @@
8585
/** name of the task without sub-tasks */
8686
protected volatile String fBaseTaskName;
8787

88-
/** is the task is cancled */
88+
/** is the task is canceled */
8989
protected volatile boolean fIsCanceled;
9090

9191
/** the start time of the task */
@@ -115,7 +115,7 @@
115115
/** the toolbar */
116116
protected volatile ToolBar fToolBar;
117117

118-
/** the cancle button */
118+
/** the cancel button */
119119
protected volatile ToolItem fCancelButton;
120120

121121
/** stop image descriptor */

bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/deferred/AbstractVirtualTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* </p>
2929
*
3030
* <p>
31-
* This is package visiblity by design. It would only need to be made public if there was
31+
* This is package visibility by design. It would only need to be made public if there was
3232
* a demand to use the deferred content provider algorithms like
3333
* <code>BackgroundContentProvider</code> with non-JFace viewers.
3434
* </p>

bundles/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application/IDEWorkbenchAdvisor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public class IDEWorkbenchAdvisor extends WorkbenchAdvisor {
128128
private AboutInfo[] welcomePerspectiveInfos = null;
129129

130130
/**
131-
* Helper for managing activites in response to workspace changes.
131+
* Helper for managing activities in response to workspace changes.
132132
*/
133133
private IDEWorkbenchActivityHelper activityHelper = null;
134134

bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchActivityHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import org.eclipse.ui.progress.WorkbenchJob;
4040

4141
/**
42-
* Utility class that manages promotion of activites in response to workspace changes.
42+
* Utility class that manages promotion of activities in response to workspace changes.
4343
*
4444
* @since 3.0
4545
*/

bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public void partBroughtToTop(IWorkbenchPart part) {
331331
};
332332
/*
333333
* In order to ensure that the pin action toolbar sets its size
334-
* correctly, the pin action should set its visiblity before we call updatePinActionToolbar().
334+
* correctly, the pin action should set its visibility before we call updatePinActionToolbar().
335335
*
336336
* In other words we always want the PinActionContributionItem to be notified before the
337337
* WorkbenchActionBuilder.

bundles/org.eclipse.ui.navigator/schema/navigatorContent.exsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ If the required action provider is disabled or unbound to the current viewer, th
391391
<element name="commonWizard">
392392
<annotation>
393393
<documentation>
394-
Defines a binding between an existing Eclipse New/Import/Export Wizard and a given set of items. Each valid binding determines which menu items will appear in the submenus for New/Import/Export in the context menu of a Common Navigator Viewer. Since Eclipse 3.2.1, the wizard menu items respect Eclipse Capabilities (see &lt;b&gt;org.eclipse.ui.activites&lt;/b&gt; for more information).
394+
Defines a binding between an existing Eclipse New/Import/Export Wizard and a given set of items. Each valid binding determines which menu items will appear in the submenus for New/Import/Export in the context menu of a Common Navigator Viewer. Since Eclipse 3.2.1, the wizard menu items respect Eclipse Capabilities (see &lt;b&gt;org.eclipse.ui.activities&lt;/b&gt; for more information).
395395
&lt;br&gt;&lt;br&gt;
396396
All of the following conditions must be met for a &lt;b&gt;commonWizard&lt;/b&gt; item to appear in the menu: (1) The &lt;b&gt;commonWizard&lt;/b&gt; is NOT filtered by an Eclipse Capability, (2) The identifier of the &lt;b&gt;commonWizard&lt;/b&gt; is NOT null, (3) The associated &lt;b&gt;navigatorContent&lt;/b&gt; extension is &lt;i&gt;visible&lt;/i&gt; for the current content service (the content service used to initialize the &lt;code&gt;NavigatorActionService&lt;/code&gt; or supplied to &lt;code&gt;WizardActionGroup&lt;/code&gt;), (4) The associated &lt;b&gt;navigatorContent&lt;/b&gt; extension is &lt;i&gt;active&lt;/i&gt; for the current content service, and (5) The &lt;b&gt;enablement&lt;/b&gt; of the &lt;b&gt;commonWizard&lt;/b&gt; returns true for the current selection that was supplied to the context menu.
397397
</documentation>

bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/wizards/CommonWizardDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public String getNamespace() {
212212

213213
/**
214214
*
215-
* @return The identifier of the wizard descriptor for visiblity purposes (or null) if none.
215+
* @return The identifier of the wizard descriptor for visibility purposes (or null) if none.
216216
*/
217217
public String getId() {
218218
return id;

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/actions/QuickMenuCreator.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ protected Point computeMenuLocation(Tree tree) {
157157
Rectangle bounds = items[0].getBounds();
158158
Rectangle intersect = clientArea.intersection(bounds);
159159
if (intersect != null && intersect.height == bounds.height) {
160-
return new Point(Math.max(0, bounds.x + getAvarageCharWith(tree) * CHAR_INDENT),
160+
return new Point(Math.max(0, bounds.x + getAverageCharWith(tree) * CHAR_INDENT),
161161
bounds.y + bounds.height);
162162
}
163163
return null;
@@ -171,7 +171,7 @@ protected Point computeMenuLocation(Tree tree) {
171171
Point result = findBestLocation(getIncludedPositions(rectangles, clientArea),
172172
tree.toControl(cursorLocation));
173173
if (result != null) {
174-
result.x = result.x + getAvarageCharWith(tree) * CHAR_INDENT;
174+
result.x = result.x + getAverageCharWith(tree) * CHAR_INDENT;
175175
}
176176
return result;
177177
}
@@ -198,7 +198,7 @@ protected Point computeMenuLocation(Table table) {
198198
Rectangle iBounds = items[0].getImageBounds(0);
199199
Rectangle intersect = clientArea.intersection(bounds);
200200
if (intersect != null && intersect.height == bounds.height) {
201-
return new Point(Math.max(0, bounds.x + iBounds.width + getAvarageCharWith(table) * CHAR_INDENT),
201+
return new Point(Math.max(0, bounds.x + iBounds.width + getAverageCharWith(table) * CHAR_INDENT),
202202
bounds.y + bounds.height);
203203
}
204204
return null;
@@ -214,7 +214,7 @@ protected Point computeMenuLocation(Table table) {
214214
Point result = findBestLocation(getIncludedPositions(rectangles, clientArea),
215215
table.toControl(cursorLocation));
216216
if (result != null) {
217-
result.x = result.x + iBounds.width + getAvarageCharWith(table) * CHAR_INDENT;
217+
result.x = result.x + iBounds.width + getAverageCharWith(table) * CHAR_INDENT;
218218
}
219219
return result;
220220
}
@@ -257,7 +257,7 @@ private Point findBestLocation(Point[] points, Point relativeCursor) {
257257
return result;
258258
}
259259

260-
private int getAvarageCharWith(Control control) {
260+
private int getAverageCharWith(Control control) {
261261
GC gc = null;
262262
try {
263263
gc = new GC(control);

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/activities/WorkbenchActivityHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ public static Set<String> getPartiallyEnabledCategories(IActivityManager activit
445445

446446
/**
447447
* Returns whether the given category is partially enabled. A partially enabled
448-
* category is one in which the number of enabled activites is both non-zero and
448+
* category is one in which the number of enabled activities is both non-zero and
449449
* less than the total number of activities in the category.
450450
*
451451
* @param activityManager the activity manager to test against

0 commit comments

Comments
 (0)