Skip to content

Commit f2def16

Browse files
authored
Merge branch 'eclipse-platform:master' into master
2 parents 2458545 + 62f9b98 commit f2def16

File tree

36 files changed

+156
-228
lines changed

36 files changed

+156
-228
lines changed

bundles/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/NumberToNumberConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public final T convert(Object fromObject) {
8080
/**
8181
* Invoked when the number should converted.
8282
*
83-
* @return number if conversion was successfule, <code>null</code> if the
83+
* @return number if conversion was successful, <code>null</code> if the
8484
* number was out of range
8585
*/
8686
protected abstract T doConvert(Number number);

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,12 +908,21 @@ public void adjustTopRight(final CTabFolder tabFolder) {
908908
// We need to modify the 'exclude' bit based on if the menuTB is
909909
// visible or not
910910
RowData rd = (RowData) menuTB.getLayoutData();
911+
ToolItem item = menuTB.getItem(0);
911912
if (needsMenu) {
912-
menuTB.getItem(0).setData(THE_PART_KEY, part);
913+
item.setData(THE_PART_KEY, part);
913914
rd.exclude = false;
915+
String tooltip = viewMenu.getTooltip();
916+
if (tooltip == null) {
917+
tooltip = viewMenu.getLabel();
918+
}
919+
if (tooltip == null) {
920+
tooltip = SWTRenderersMessages.viewMenu;
921+
}
922+
item.setToolTipText(tooltip);
914923
menuTB.setVisible(true);
915924
} else {
916-
menuTB.getItem(0).setData(THE_PART_KEY, null);
925+
item.setData(THE_PART_KEY, null);
917926
rd.exclude = true;
918927
menuTB.setVisible(false);
919928
}

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,11 @@ public void hookControllerLogic(MUIElement me) {
534534
@Override
535535
public void controlResized(ControlEvent e) {
536536
// Don't store the maximized size in the model
537+
// But set the maximized tag so that the user can access the current state
537538
if (shell.getMaximized()) {
538-
return;
539+
me.getTags().add(ShellMaximizedTag);
540+
} else {
541+
me.getTags().remove(ShellMaximizedTag);
539542
}
540543

541544
try {

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.genericeditor/src/org/eclipse/ui/internal/genericeditor/DefaultWordHighlightStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
/**
4848
*
49-
* This Reconciler Strategy is a default stategy which will be present if no other highlightReconcilers are registered for a given content-type. It splits the text into 'words' (which are defined as
49+
* This Reconciler Strategy is a default strategy which will be present if no other highlightReconcilers are registered for a given content-type. It splits the text into 'words' (which are defined as
5050
* anything in-between non-alphanumeric characters) and searches the document highlighting all like words.
5151
*
5252
* E.g. if your file contains "t^he dog in the bog" and you leave your caret at ^ you will get both instances of 'the' highlighted.

bundles/org.eclipse.ui.ide.application/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: %Plugin.name
44
Bundle-SymbolicName: org.eclipse.ui.ide.application;singleton:=true
5-
Bundle-Version: 1.5.700.qualifier
5+
Bundle-Version: 1.5.800.qualifier
66
Bundle-Vendor: %Plugin.providerName
77
Bundle-Localization: plugin
88
Require-Bundle: org.eclipse.ui.ide;bundle-version="[3.21.0,4.0.0)",

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
*/

0 commit comments

Comments
 (0)