1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

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>
This commit is contained in:
Dan Ungureanu 2014-02-18 13:25:39 +02:00 committed by Marc Khouzam
parent 1ea82aff04
commit c6630246d9
2 changed files with 18 additions and 2 deletions

View file

@ -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) {

View file

@ -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) {