mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
cbf5f8e9f8
commit
b7450e5f11
1 changed files with 3 additions and 10 deletions
|
@ -46,7 +46,6 @@ import org.eclipse.swt.widgets.Text;
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
public class GdbCoreDebuggerPage extends AbstractCDebuggerPage implements Observer {
|
public class GdbCoreDebuggerPage extends AbstractCDebuggerPage implements Observer {
|
||||||
|
|
||||||
protected TabFolder fTabFolder;
|
protected TabFolder fTabFolder;
|
||||||
protected Text fGDBCommandText;
|
protected Text fGDBCommandText;
|
||||||
protected Text fGDBInitText;
|
protected Text fGDBInitText;
|
||||||
|
@ -82,8 +81,7 @@ public class GdbCoreDebuggerPage extends AbstractCDebuggerPage implements Observ
|
||||||
if (valid) {
|
if (valid) {
|
||||||
setErrorMessage(null);
|
setErrorMessage(null);
|
||||||
setMessage(null);
|
setMessage(null);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
setErrorMessage(LaunchUIMessages.getString("GDBDebuggerPage.gdb_executable_not_specified")); //$NON-NLS-1$
|
setErrorMessage(LaunchUIMessages.getString("GDBDebuggerPage.gdb_executable_not_specified")); //$NON-NLS-1$
|
||||||
setMessage(null);
|
setMessage(null);
|
||||||
}
|
}
|
||||||
|
@ -101,15 +99,12 @@ public class GdbCoreDebuggerPage extends AbstractCDebuggerPage implements Observ
|
||||||
|
|
||||||
try {
|
try {
|
||||||
gdbCommand = configuration.getAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, defaultGdbCommand);
|
gdbCommand = configuration.getAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, defaultGdbCommand);
|
||||||
}
|
} catch(CoreException e) {
|
||||||
catch(CoreException e) {
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
gdbInit = configuration.getAttribute(IGDBLaunchConfigurationConstants.ATTR_GDB_INIT, defaultGdbInit);
|
gdbInit = configuration.getAttribute(IGDBLaunchConfigurationConstants.ATTR_GDB_INIT, defaultGdbInit);
|
||||||
|
} catch(CoreException e) {
|
||||||
}
|
}
|
||||||
catch(CoreException e) {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (fSolibBlock != null)
|
if (fSolibBlock != null)
|
||||||
fSolibBlock.initializeFrom(configuration);
|
fSolibBlock.initializeFrom(configuration);
|
||||||
|
@ -194,7 +189,6 @@ public class GdbCoreDebuggerPage extends AbstractCDebuggerPage implements Observ
|
||||||
});
|
});
|
||||||
Button button = createPushButton(subComp, LaunchUIMessages.getString("GDBDebuggerPage.gdb_browse"), null); //$NON-NLS-1$
|
Button button = createPushButton(subComp, LaunchUIMessages.getString("GDBDebuggerPage.gdb_browse"), null); //$NON-NLS-1$
|
||||||
button.addSelectionListener(new SelectionAdapter() {
|
button.addSelectionListener(new SelectionAdapter() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void widgetSelected(SelectionEvent evt) {
|
public void widgetSelected(SelectionEvent evt) {
|
||||||
handleGDBButtonSelected();
|
handleGDBButtonSelected();
|
||||||
|
@ -232,7 +226,6 @@ public class GdbCoreDebuggerPage extends AbstractCDebuggerPage implements Observ
|
||||||
});
|
});
|
||||||
button = createPushButton(subComp, LaunchUIMessages.getString("GDBDebuggerPage.gdb_cmdfile_browse"), null); //$NON-NLS-1$
|
button = createPushButton(subComp, LaunchUIMessages.getString("GDBDebuggerPage.gdb_cmdfile_browse"), null); //$NON-NLS-1$
|
||||||
button.addSelectionListener(new SelectionAdapter() {
|
button.addSelectionListener(new SelectionAdapter() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void widgetSelected(SelectionEvent evt) {
|
public void widgetSelected(SelectionEvent evt) {
|
||||||
handleGDBInitButtonSelected();
|
handleGDBInitButtonSelected();
|
||||||
|
|
Loading…
Add table
Reference in a new issue