Skip to main content
summaryrefslogtreecommitdiffstats
path: root/cross
diff options
context:
space:
mode:
authorDan Ungureanu2014-02-18 06:25:39 -0500
committerMarc Khouzam2014-02-18 09:37:26 -0500
commitc6630246d97e68971d50a34a58ef7aca6109e59c (patch)
tree97eee1f0ed616540a6abdefdd66177a91edf29d5 /cross
parent1ea82aff04fb9963da689df77af04d8d02f85e0a (diff)
downloadorg.eclipse.cdt-c6630246d97e68971d50a34a58ef7aca6109e59c.tar.gz
org.eclipse.cdt-c6630246d97e68971d50a34a58ef7aca6109e59c.tar.xz
org.eclipse.cdt-c6630246d97e68971d50a34a58ef7aca6109e59c.zip
Bug 428367 - Fixed missing title for Properties dialog
Change-Id: I5abc99be6aa8bf02b84a549c3c11fd929e9acbc7 Signed-off-by: Dan Ungureanu <dan.ungureanu@freescale.com> Reviewed-on: https://git.eclipse.org/r/22149 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
Diffstat (limited to 'cross')
-rw-r--r--cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCDSFMainTab.java10
-rw-r--r--cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCMainTab.java10
2 files changed, 18 insertions, 2 deletions
diff --git a/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCDSFMainTab.java b/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCDSFMainTab.java
index aa911f3e5c..0fdf871266 100644
--- a/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCDSFMainTab.java
+++ b/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCDSFMainTab.java
@@ -20,6 +20,7 @@
* Anna Dushistova (Mentor Graphics) - moved to org.eclipse.cdt.launch.remote.tabs
* Anna Dushistova (Mentor Graphics) - [318052] [remote launch] Properties are not saved/used
* Anna Dushistova (MontaVista) - [375067] [remote] Automated remote launch does not support project-less debug
+ * Dan Ungureanu (Freescale) - [428367] [remote launch] Fix missing title for Properties dialog
*******************************************************************************/
package org.eclipse.cdt.launch.remote.tabs;
@@ -337,14 +338,21 @@ public class RemoteCDSFMainTab extends CMainTab {
boolean fbLocalHost;
private Button fSkipDownloadBtn;
private Text fWSRoot;
+ private String fDialogTitle;
public RemoteConnectionPropertyDialog(Shell parentShell,
String dialogTitle, IHost host) {
super(parentShell);
- parentShell.setText(dialogTitle);
+ fDialogTitle = dialogTitle;
fHost = host;
fbLocalHost = fHost.getSystemType().isLocal();
}
+
+ @Override
+ protected void configureShell(Shell shell) {
+ super.configureShell(shell);
+ shell.setText(fDialogTitle);
+ }
@Override
protected Control createDialogArea(Composite parent) {
diff --git a/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCMainTab.java b/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCMainTab.java
index 37d897b2b9..8798bc2795 100644
--- a/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCMainTab.java
+++ b/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCMainTab.java
@@ -20,6 +20,7 @@
* Anna Dushistova (Mentor Graphics) - moved to org.eclipse.cdt.launch.remote.tabs
* Anna Dushistova (Mentor Graphics) - [318052] [remote launch] Properties are not saved/used
* Anna Dushistova (Mentor Graphics) - [333453] adapted the fix from RemoteCDSFMainTab.java
+ * Dan Ungureanu (Freescale) - [428367] [remote launch] Fix missing title for Properties dialog
*******************************************************************************/
package org.eclipse.cdt.launch.remote.tabs;
@@ -420,14 +421,21 @@ public class RemoteCMainTab extends CMainTab {
boolean fbLocalHost;
private Button fSkipDownloadBtn;
private Text fWSRoot;
+ private String fDialogTitle;
public RemoteConnectionPropertyDialog(Shell parentShell,
String dialogTitle, IHost host) {
super(parentShell);
- parentShell.setText(dialogTitle);
+ fDialogTitle = dialogTitle;
fHost = host;
fbLocalHost = fHost.getSystemType().isLocal();
}
+
+ @Override
+ protected void configureShell(Shell shell) {
+ super.configureShell(shell);
+ shell.setText(fDialogTitle);
+ }
@Override
protected Control createDialogArea(Composite parent) {

Back to the top