mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Cleanup.
This commit is contained in:
parent
4a0efb0c82
commit
5c2821d29b
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-12-27 Mikhail Khodjaiants
|
||||
Cleanup.
|
||||
* LaunchUIPlugin.java
|
||||
* CApplicationLaunchShortcut.java
|
||||
|
||||
2005-12-27 Mikhail Khodjaiants
|
||||
Bug 109526: Support Eclipse-LazyStart and deprecate Eclipse-AutoStart.
|
||||
* MANIFEST.MF
|
||||
|
|
|
@ -309,8 +309,8 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut {
|
|||
|
||||
TwoPaneElementSelector dialog = new TwoPaneElementSelector(getShell(), programLabelProvider, qualifierLabelProvider);
|
||||
dialog.setElements(binList.toArray());
|
||||
dialog.setTitle(getBinarySelectionDialogTitleString(binList, mode)); //$NON-NLS-1$
|
||||
dialog.setMessage(getBinarySelectionDialogMessageString(binList, mode)); //$NON-NLS-1$
|
||||
dialog.setTitle(getBinarySelectionDialogTitleString(binList, mode));
|
||||
dialog.setMessage(getBinarySelectionDialogMessageString(binList, mode));
|
||||
dialog.setUpperListLabel(LaunchMessages.getString("Launch.common.BinariesColon")); //$NON-NLS-1$
|
||||
dialog.setLowerListLabel(LaunchMessages.getString("Launch.common.QualifierColon")); //$NON-NLS-1$
|
||||
dialog.setMultipleSelection(false);
|
||||
|
|
|
@ -124,7 +124,7 @@ public class LaunchUIPlugin extends AbstractUIPlugin implements IDebugEventSetLi
|
|||
* the exception to be logged
|
||||
*/
|
||||
public static void log(Throwable e) {
|
||||
log(new Status(IStatus.ERROR, getUniqueIdentifier(), IStatus.ERROR, e.getMessage(), e)); //$NON-NLS-1$
|
||||
log(new Status(IStatus.ERROR, getUniqueIdentifier(), IStatus.ERROR, e.getMessage(), e));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -169,7 +169,7 @@ public class LaunchUIPlugin extends AbstractUIPlugin implements IDebugEventSetLi
|
|||
log(t);
|
||||
Shell shell = getActiveWorkbenchShell();
|
||||
if (shell != null) {
|
||||
IStatus status = new Status(IStatus.ERROR, getUniqueIdentifier(), 1, t.getMessage(), null); //$NON-NLS-1$
|
||||
IStatus status = new Status(IStatus.ERROR, getUniqueIdentifier(), 1, t.getMessage(), null);
|
||||
ErrorDialog.openError(shell, LaunchMessages.getString("LaunchUIPlugin.Error"), message, status); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue