Skip to content

Commit fff2710

Browse files
jbamptonakurtakov
authored andcommitted
misc: fix spelling
1 parent ed04ae1 commit fff2710

File tree

10 files changed

+15
-15
lines changed

10 files changed

+15
-15
lines changed

bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ContentViewer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public void labelProviderChanged(LabelProviderChangedEvent event) {
7878
Control control = getControl();
7979
if (control == null || control.isDisposed()) {
8080
if (logWhenDisposed) {
81-
String message = "Ignored labelProviderChanged notification because control is diposed." + //$NON-NLS-1$
81+
String message = "Ignored labelProviderChanged notification because control is disposed." + //$NON-NLS-1$
8282
" This indicates a potential memory leak."; //$NON-NLS-1$
8383
if (!InternalPolicy.DEBUG_LOG_LABEL_PROVIDER_NOTIFICATIONS_WHEN_DISPOSED) {
8484
// stop logging after the first

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ private int getObjectIndex(Object value) {
521521
/**
522522
* Redirects any pointers from the original to the replacement. If the replacement
523523
* causes a change in the number of elements in the parent tree, the changes are
524-
* propogated toward the root.
524+
* propagated toward the root.
525525
*
526526
* @since 3.1
527527
*/

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/handlers/ActionDelegateHandlerProxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public final class ActionDelegateHandlerProxy implements ISelectionListener, ISe
166166
* @param element The configuration element from which the real
167167
* class can be loaded at run-time; must not be
168168
* <code>null</code>.
169-
* @param delegateAttributeName The name of the attibute or element containing
169+
* @param delegateAttributeName The name of the attribute or element containing
170170
* the action delegate; must not be
171171
* <code>null</code>.
172172
* @param actionId The identifier of the underlying action; may be

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/handlers/HandlerProxy.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public final class HandlerProxy extends AbstractHandlerWithState implements IEle
127127
* @param configurationElement The configuration element from which the real
128128
* class can be loaded at run-time; must not be
129129
* <code>null</code>.
130-
* @param handlerAttributeName The name of the attibute or element containing
130+
* @param handlerAttributeName The name of the attribute or element containing
131131
* the handler executable extension; must not be
132132
* <code>null</code>.
133133
*/
@@ -247,7 +247,7 @@ private IPropertyChangeListener getEnablementListener() {
247247
}
248248

249249
/**
250-
* Passes the dipose on to the proxied handler, if it has been loaded.
250+
* Passes the dispose on to the proxied handler, if it has been loaded.
251251
*/
252252
@Override
253253
public void dispose() {
@@ -390,7 +390,7 @@ public String toString() {
390390
}
391391

392392
/**
393-
* Retrives the ConfigurationElement attribute according to the
393+
* Retrieves the ConfigurationElement attribute according to the
394394
* <code>handlerAttributeName</code>.
395395
*
396396
* @return the handlerAttributeName value, may be <code>null</code>.

docs/Eclipse_Corner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ How to Internationalize your Eclipse Plug-In
697697
This article is a roadmap for writing Eclipse plug-ins destined for the international market. We'll begin with a brief review of the motivations and technical challenges of internationalization, followed by step-by-step instructions of how to internationalize your Eclipse plug-in.
698698

699699
* [How to Internationalize your Eclipse Plug-In](http://www.eclipse.org/articles/Article-Internationalization/how2I18n.html)
700-
* [Ukranian Translation](http://softdroid.net/how2I18n-ua)
700+
* [Ukrainian Translation](http://softdroid.net/how2I18n-ua)
701701

702702

703703

@@ -1053,7 +1053,7 @@ Development environments have become very complex. As a result, providing users
10531053
BIRT Extension Mechanism, Part 1: Custom Report Items
10541054
-----------------------------------------------------
10551055

1056-
This article introduces the extension mechanism of BIRT report model, engine and designer, and shows how to create custom custom report items step-by-step.
1056+
This article introduces the extension mechanism of BIRT report model, engine and designer, and shows how to create custom report items step-by-step.
10571057

10581058
* [BIRT Extension Mechanism, Part 1: Custom Report Items](http://www.eclipse.org/articles/article.php?file=Article-BIRT-ExtensionTutorial1/index.html)
10591059

docs/JFaceDataBinding.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ Usually, when creating a model-side observable, you call a method like BeansObse
522522

523523
When the selected person changes, you could dispose the observable (and the binding) for the previously selected person and create new ones for the newly selected person, but there is a better way. By creating a _detail observable_, you can keep the same observable and binding and what you would have done manually is done for you by the framework automatically.
524524

525-
To create a detail observable, first create an observable for the current selection (this is sometimes called the _master observable_), for example through ViewersObservables.observeSingleSelection(). Then, call BeansObservables.observeDetailValue(selectionObservable, "name", String.class) to create the detail observable for the currently selected person's name attibute.
525+
To create a detail observable, first create an observable for the current selection (this is sometimes called the _master observable_), for example through ViewersObservables.observeSingleSelection(). Then, call BeansObservables.observeDetailValue(selectionObservable, "name", String.class) to create the detail observable for the currently selected person's name attribute.
526526

527527
For an example snippet, see the [Master Detail snippet](#Snippets).
528528

@@ -676,7 +676,7 @@ Since the tests are JUnit3 tests you can integrate them into your tests in stand
676676

677677

678678

679-
When subclassing, because of single inheritance, you will will have to create multiple implementations to test the mutable and immutable use cases (e.g. there would need to be a ButtonMutableObservableValueTest as well to test the mutable cases). The rest of the implementation should be straightforward. The only thing we ask is that you don't depend upon API other than the constructors. Tests are public because JUnit requires them to be, not because we want to commit to them as API. Over time we would like to have the opportunity to rename, add, remove, or optimize the test methods to ensure that we're getting the best coverage as possible. Because of the issues outlined above the preferred method is creating a JUnit suite.
679+
When subclassing, because of single inheritance, you will have to create multiple implementations to test the mutable and immutable use cases (e.g. there would need to be a ButtonMutableObservableValueTest as well to test the mutable cases). The rest of the implementation should be straightforward. The only thing we ask is that you don't depend upon API other than the constructors. Tests are public because JUnit requires them to be, not because we want to commit to them as API. Over time we would like to have the opportunity to rename, add, remove, or optimize the test methods to ensure that we're getting the best coverage as possible. Because of the issues outlined above the preferred method is creating a JUnit suite.
680680

681681
#### JUnit suite()
682682

docs/Menu_Contributions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Contents
2424
* [3.4.4 Another Expression Alternative: Specify Context at Extension Level](#Another-Expression-Alternative-Specify-Context-at-Extension-Level)
2525
* [4 Updating the menu and toolbar appearance](#Updating-the-menu-and-toolbar-appearance)
2626
* [4.1 UIElements represent each UI visible instance of a command](#UIElements-represent-each-UI-visible-instance-of-a-command)
27-
* [4.2 State associated with the command is propogated to UI visible elements](#State-associated-with-the-command-is-propogated-to-UI-visible-elements)
27+
* [4.2 State associated with the command is propagated to UI visible elements](#State-associated-with-the-command-is-propagated-to-UI-visible-elements)
2828

2929

3030
Placement and visibility
@@ -389,7 +389,7 @@ When the toggle handler runs, it can request that any UI elements have their app
389389
.getService(ICommandService.class);
390390
service.refreshElements(IJavaEditorActionDefinitionIds.TOGGLE_MARK_OCCURRENCES, null);
391391

392-
State associated with the command is propogated to UI visible elements
392+
State associated with the command is propagated to UI visible elements
393393
----------------------------------------------------------------------
394394

395395
First define the toggle mark occurrences command.

tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/databinding/DatabindingContextTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void testDisposeBindings() throws Exception {
7070

7171
assertFalse(binding.isDisposed());
7272
dbc.dispose();
73-
assertTrue("binding should be diposed when dbc is disposed", binding
73+
assertTrue("binding should be disposed when dbc is disposed", binding
7474
.isDisposed());
7575
}
7676

tests/org.eclipse.jface.tests/src/org/eclipse/jface/tests/viewers/StructuredViewerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void testDeleteSibling() {
180180
}
181181

182182
/**
183-
* Tests to ensure that the viewer is properly diposed. Includes:
183+
* Tests to ensure that the viewer is properly disposed. Includes:
184184
* removal of filters
185185
*/
186186
@Test

tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/multipageeditor/MultiPageEditorPartTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void testDisposalWithoutSuccessfulInitialization() throws Exception {
4040
"org.eclipse.ui.tests.multipageeditor.TestMultiPageEditorThrowingPartInitException"); //$NON-NLS-1$
4141

4242
assertTrue(editor instanceof ErrorEditorPart);
43-
assertTrue("The editor should have been diposed by CompatibilityPart",
43+
assertTrue("The editor should have been disposed by CompatibilityPart",
4444
TestMultiPageEditorThrowingPartInitException.disposeCalled);
4545
assertNull("No exception should have been thrown while disposing",
4646
TestMultiPageEditorThrowingPartInitException.exceptionWhileDisposing);

0 commit comments

Comments
 (0)