diff options
author | Dan Ungureanu | 2014-02-18 11:25:39 +0000 |
---|---|---|
committer | Marc Khouzam | 2014-02-18 14:37:26 +0000 |
commit | c6630246d97e68971d50a34a58ef7aca6109e59c (patch) | |
tree | 97eee1f0ed616540a6abdefdd66177a91edf29d5 /cross | |
parent | 1ea82aff04fb9963da689df77af04d8d02f85e0a (diff) | |
download | org.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')
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 aa911f3e5c9..0fdf8712665 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 37d897b2b91..8798bc2795b 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) { |