Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ private void setUserInterfaceActive(boolean active) {
}
}
} else {
// Deactive shells in reverse order
// Deactivate shells in reverse order
for (int i = shells.length - 1; i >= 0; i--) {
if (!shells[i].isDisposed()) {
shells[i].setEnabled(active);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public void setContentProvider(IContentProvider contentProvider) {
* The <code>ContentViewer</code> implementation of this <code>Viewer</code>
* method invokes <code>inputChanged</code> on the content provider and then the
* <code>inputChanged</code> hook method. This method fails if this viewer does
* not have a content provider. Subclassers are advised to override
* not have a content provider. Subclasses are advised to override
* <code>inputChanged</code> rather than this method, but may extend this method
* if required.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1852,8 +1852,8 @@ public Widget[] testFindItems(Object element) {
/**
* Removes all elements from the map.
* <p>
* This method is internal to the framework; subclassers should not call
* this method.
* This method is internal to the framework; subclasses should not call this
* method.
* </p>
*/
protected void unmapAllElements() {
Expand Down Expand Up @@ -1881,17 +1881,16 @@ protected void unmapElement(Object element) {
}

/**
* Removes the given association from the internal element to widget map.
* Does nothing if mapping is disabled, or if the given element does not map
* to the given item.
* Removes the given association from the internal element to widget map. Does
* nothing if mapping is disabled, or if the given element does not map to the
* given item.
* <p>
* This method is internal to the framework; subclassers should not call
* this method.
* This method is internal to the framework; subclasses should not call this
* method.
* </p>
*
* @param element
* the element
* @param item the item to unmap
* @param element the element
* @param item the item to unmap
* @since 2.0
*/
protected void unmapElement(Object element, Widget item) {
Expand Down Expand Up @@ -2101,14 +2100,12 @@ protected void internalUpdate(Widget widget, Object element, String[] properties
/**
* Copies attributes of the given element into the given widget.
* <p>
* This method is internal to the framework; subclassers should not call
* this method. Calls <code>doUpdateItem(widget, element, true)</code>.
* This method is internal to the framework; subclasses should not call this
* method. Calls <code>doUpdateItem(widget, element, true)</code>.
* </p>
*
* @param widget
* the widget
* @param element
* the element
* @param widget the widget
* @param element the element
*/
protected final void updateItem(Widget widget, Object element) {
SafeRunnable.run(new UpdateItemSafeRunnable(widget, element, true));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public interface IWorkbenchPartReference {
void addPropertyListener(IPropertyListener listener);

/**
* @param listener the poperty listener to remove
* @param listener the property listener to remove
* @see IWorkbenchPart#removePropertyListener
*/
void removePropertyListener(IPropertyListener listener);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public Integer getAccelerator(IContributionItem item) {
if (getEnabled(item) == null) {
return getParentMenuManager().getOverrides().getAccelerator(item);
}
// no acclerator if the item is disabled
// no accelerator if the item is disabled
return Integer.valueOf(0);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1797,7 +1797,7 @@ public void runWithException() throws Throwable {
* @since 3.1
*/
private void fireWindowClosed() {
// let the application do further deconfiguration
// let the application do further reconfiguration
getWindowAdvisor().postWindowClose();
getWorkbenchImpl().fireWindowClosed(this);
}
Expand Down Expand Up @@ -2034,7 +2034,7 @@ private boolean hardClose(boolean remove) {
hideNonRestorableViews();
}

// clear some lables
// clear some labels
// Remove the handler submissions. Bug 64024.
final IWorkbench workbench = getWorkbench();
LegacyHandlerService windowHs = (LegacyHandlerService) model.getContext().get(IHandlerService.class);
Expand Down Expand Up @@ -2547,7 +2547,7 @@ public final void largeUpdateEnd() {

/**
* Update the visible action sets. This method is typically called from a page
* when the user changes the visible action sets within the prespective.
* when the user changes the visible action sets within the perspective.
*/
public void updateActionSets() {
if (updateDisabled) {
Expand Down
Loading