mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 16:55:38 +02:00
Cosmetics.
This commit is contained in:
parent
5c31ff1458
commit
c4181d82c9
1 changed files with 3 additions and 6 deletions
|
@ -53,7 +53,6 @@ import org.eclipse.swt.widgets.Shell;
|
||||||
import org.eclipse.swt.widgets.Text;
|
import org.eclipse.swt.widgets.Text;
|
||||||
|
|
||||||
public class CDebuggerTab extends CLaunchConfigurationTab {
|
public class CDebuggerTab extends CLaunchConfigurationTab {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tab identifier used for ordering of tabs added using the
|
* Tab identifier used for ordering of tabs added using the
|
||||||
* <code>org.eclipse.debug.ui.launchConfigurationTabs</code>
|
* <code>org.eclipse.debug.ui.launchConfigurationTabs</code>
|
||||||
|
@ -194,7 +193,6 @@ public class CDebuggerTab extends CLaunchConfigurationTab {
|
||||||
config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN,
|
config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN,
|
||||||
ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_DEFAULT);
|
ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_DEFAULT);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void initializeFrom(ILaunchConfiguration config) {
|
public void initializeFrom(ILaunchConfiguration config) {
|
||||||
|
@ -308,7 +306,6 @@ public class CDebuggerTab extends CLaunchConfigurationTab {
|
||||||
if (!fAttachMode && !fCoreMode) {
|
if (!fAttachMode && !fCoreMode) {
|
||||||
fStopInMain = createCheckButton(optionsComp, LaunchMessages.getString("CDebuggerTab.Stop_at_main_on_startup")); //$NON-NLS-1$
|
fStopInMain = createCheckButton(optionsComp, LaunchMessages.getString("CDebuggerTab.Stop_at_main_on_startup")); //$NON-NLS-1$
|
||||||
fStopInMain.addSelectionListener(new SelectionAdapter() {
|
fStopInMain.addSelectionListener(new SelectionAdapter() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void widgetSelected(SelectionEvent e) {
|
public void widgetSelected(SelectionEvent e) {
|
||||||
fStopInMainSymbol.setEnabled(fStopInMain.getSelection());
|
fStopInMainSymbol.setEnabled(fStopInMain.getSelection());
|
||||||
|
@ -328,7 +325,7 @@ public class CDebuggerTab extends CLaunchConfigurationTab {
|
||||||
new AccessibleAdapter() {
|
new AccessibleAdapter() {
|
||||||
@Override
|
@Override
|
||||||
public void getName(AccessibleEvent e) {
|
public void getName(AccessibleEvent e) {
|
||||||
e.result = LaunchMessages.getString("CDebuggerTab.Stop_at_main_on_startup"); //$NON-NLS-1$
|
e.result = LaunchMessages.getString("CDebuggerTab.Stop_at_main_on_startup"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -483,10 +480,10 @@ public class CDebuggerTab extends CLaunchConfigurationTab {
|
||||||
protected void handleDebuggerChanged() {
|
protected void handleDebuggerChanged() {
|
||||||
loadDynamicDebugArea();
|
loadDynamicDebugArea();
|
||||||
|
|
||||||
// always set the newly created area with defaults
|
// Always set the newly created area with defaults
|
||||||
ILaunchConfigurationWorkingCopy wc = getLaunchConfigurationWorkingCopy();
|
ILaunchConfigurationWorkingCopy wc = getLaunchConfigurationWorkingCopy();
|
||||||
if (getDynamicTab() == null) {
|
if (getDynamicTab() == null) {
|
||||||
// remove any debug specfic args from the config
|
// Remove any debug specific args from the config
|
||||||
if (wc == null) {
|
if (wc == null) {
|
||||||
if (getLaunchConfiguration().isWorkingCopy()) {
|
if (getLaunchConfiguration().isWorkingCopy()) {
|
||||||
wc = (ILaunchConfigurationWorkingCopy)getLaunchConfiguration();
|
wc = (ILaunchConfigurationWorkingCopy)getLaunchConfiguration();
|
||||||
|
|
Loading…
Add table
Reference in a new issue