mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42: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:
parent
1ea82aff04
commit
c6630246d9
2 changed files with 18 additions and 2 deletions
|
@ -20,6 +20,7 @@
|
||||||
* Anna Dushistova (Mentor Graphics) - moved to org.eclipse.cdt.launch.remote.tabs
|
* 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) - [318052] [remote launch] Properties are not saved/used
|
||||||
* Anna Dushistova (MontaVista) - [375067] [remote] Automated remote launch does not support project-less debug
|
* 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;
|
package org.eclipse.cdt.launch.remote.tabs;
|
||||||
|
|
||||||
|
@ -337,15 +338,22 @@ public class RemoteCDSFMainTab extends CMainTab {
|
||||||
boolean fbLocalHost;
|
boolean fbLocalHost;
|
||||||
private Button fSkipDownloadBtn;
|
private Button fSkipDownloadBtn;
|
||||||
private Text fWSRoot;
|
private Text fWSRoot;
|
||||||
|
private String fDialogTitle;
|
||||||
|
|
||||||
public RemoteConnectionPropertyDialog(Shell parentShell,
|
public RemoteConnectionPropertyDialog(Shell parentShell,
|
||||||
String dialogTitle, IHost host) {
|
String dialogTitle, IHost host) {
|
||||||
super(parentShell);
|
super(parentShell);
|
||||||
parentShell.setText(dialogTitle);
|
fDialogTitle = dialogTitle;
|
||||||
fHost = host;
|
fHost = host;
|
||||||
fbLocalHost = fHost.getSystemType().isLocal();
|
fbLocalHost = fHost.getSystemType().isLocal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void configureShell(Shell shell) {
|
||||||
|
super.configureShell(shell);
|
||||||
|
shell.setText(fDialogTitle);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Control createDialogArea(Composite parent) {
|
protected Control createDialogArea(Composite parent) {
|
||||||
// create composite
|
// create composite
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
* Anna Dushistova (Mentor Graphics) - moved to org.eclipse.cdt.launch.remote.tabs
|
* 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) - [318052] [remote launch] Properties are not saved/used
|
||||||
* Anna Dushistova (Mentor Graphics) - [333453] adapted the fix from RemoteCDSFMainTab.java
|
* 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;
|
package org.eclipse.cdt.launch.remote.tabs;
|
||||||
|
@ -420,15 +421,22 @@ public class RemoteCMainTab extends CMainTab {
|
||||||
boolean fbLocalHost;
|
boolean fbLocalHost;
|
||||||
private Button fSkipDownloadBtn;
|
private Button fSkipDownloadBtn;
|
||||||
private Text fWSRoot;
|
private Text fWSRoot;
|
||||||
|
private String fDialogTitle;
|
||||||
|
|
||||||
public RemoteConnectionPropertyDialog(Shell parentShell,
|
public RemoteConnectionPropertyDialog(Shell parentShell,
|
||||||
String dialogTitle, IHost host) {
|
String dialogTitle, IHost host) {
|
||||||
super(parentShell);
|
super(parentShell);
|
||||||
parentShell.setText(dialogTitle);
|
fDialogTitle = dialogTitle;
|
||||||
fHost = host;
|
fHost = host;
|
||||||
fbLocalHost = fHost.getSystemType().isLocal();
|
fbLocalHost = fHost.getSystemType().isLocal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void configureShell(Shell shell) {
|
||||||
|
super.configureShell(shell);
|
||||||
|
shell.setText(fDialogTitle);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Control createDialogArea(Composite parent) {
|
protected Control createDialogArea(Composite parent) {
|
||||||
// create composite
|
// create composite
|
||||||
|
|
Loading…
Add table
Reference in a new issue