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

[285907] Align DSF-GDB CMainTab with CDI one, for user-friendliness

This commit is contained in:
Marc Khouzam 2010-03-12 16:25:19 +00:00
parent a21c69868a
commit 5cca2caf65
3 changed files with 8 additions and 8 deletions

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2008 Wind River Systems and others. * Copyright (c) 2008, 2010 Wind River Systems and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -18,6 +18,6 @@ package org.eclipse.cdt.dsf.gdb.internal.ui.launching;
*/ */
public class CMainAttachTab extends CMainTab { public class CMainAttachTab extends CMainTab {
public CMainAttachTab() { public CMainAttachTab() {
super(CMainTab.DONT_CHECK_PROGRAM); super(CMainTab.DONT_CHECK_PROGRAM | CMainTab.INCLUDE_BUILD_SETTINGS);
} }
} }

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2009 Ericsson and others. * Copyright (c) 2009, 2010 Ericsson and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -18,6 +18,6 @@ package org.eclipse.cdt.dsf.gdb.internal.ui.launching;
*/ */
public class CMainCoreTab extends CMainTab { public class CMainCoreTab extends CMainTab {
public CMainCoreTab() { public CMainCoreTab() {
super(CMainTab.SPECIFY_CORE_FILE); super(CMainTab.SPECIFY_CORE_FILE | CMainTab.INCLUDE_BUILD_SETTINGS);
} }
} }

View file

@ -100,15 +100,15 @@ public class CMainTab extends CAbstractMainTab {
comp.setLayout(topLayout); comp.setLayout(topLayout);
createVerticalSpacer(comp, 1); createVerticalSpacer(comp, 1);
createProjectGroup(comp, 1);
createExeFileGroup(comp, 1); createExeFileGroup(comp, 1);
createProjectGroup(comp, 1);
if (fIncludeBuildSettings){
createBuildOptionGroup(comp, 1);
}
createVerticalSpacer(comp, 1); createVerticalSpacer(comp, 1);
if (fSpecifyCoreFile) { if (fSpecifyCoreFile) {
createCoreFileGroup(comp, 1); createCoreFileGroup(comp, 1);
} }
if (fIncludeBuildSettings){
createBuildOptionGroup(comp, 1);
}
GdbUIPlugin.setDialogShell(parent.getShell()); GdbUIPlugin.setDialogShell(parent.getShell());
} }