mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +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
|
2005-12-27 Mikhail Khodjaiants
|
||||||
Bug 109526: Support Eclipse-LazyStart and deprecate Eclipse-AutoStart.
|
Bug 109526: Support Eclipse-LazyStart and deprecate Eclipse-AutoStart.
|
||||||
* MANIFEST.MF
|
* MANIFEST.MF
|
||||||
|
|
|
@ -309,8 +309,8 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut {
|
||||||
|
|
||||||
TwoPaneElementSelector dialog = new TwoPaneElementSelector(getShell(), programLabelProvider, qualifierLabelProvider);
|
TwoPaneElementSelector dialog = new TwoPaneElementSelector(getShell(), programLabelProvider, qualifierLabelProvider);
|
||||||
dialog.setElements(binList.toArray());
|
dialog.setElements(binList.toArray());
|
||||||
dialog.setTitle(getBinarySelectionDialogTitleString(binList, mode)); //$NON-NLS-1$
|
dialog.setTitle(getBinarySelectionDialogTitleString(binList, mode));
|
||||||
dialog.setMessage(getBinarySelectionDialogMessageString(binList, mode)); //$NON-NLS-1$
|
dialog.setMessage(getBinarySelectionDialogMessageString(binList, mode));
|
||||||
dialog.setUpperListLabel(LaunchMessages.getString("Launch.common.BinariesColon")); //$NON-NLS-1$
|
dialog.setUpperListLabel(LaunchMessages.getString("Launch.common.BinariesColon")); //$NON-NLS-1$
|
||||||
dialog.setLowerListLabel(LaunchMessages.getString("Launch.common.QualifierColon")); //$NON-NLS-1$
|
dialog.setLowerListLabel(LaunchMessages.getString("Launch.common.QualifierColon")); //$NON-NLS-1$
|
||||||
dialog.setMultipleSelection(false);
|
dialog.setMultipleSelection(false);
|
||||||
|
|
|
@ -124,7 +124,7 @@ public class LaunchUIPlugin extends AbstractUIPlugin implements IDebugEventSetLi
|
||||||
* the exception to be logged
|
* the exception to be logged
|
||||||
*/
|
*/
|
||||||
public static void log(Throwable e) {
|
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);
|
log(t);
|
||||||
Shell shell = getActiveWorkbenchShell();
|
Shell shell = getActiveWorkbenchShell();
|
||||||
if (shell != null) {
|
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$
|
ErrorDialog.openError(shell, LaunchMessages.getString("LaunchUIPlugin.Error"), message, status); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue