mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Cleanup.
This commit is contained in:
parent
01b01243e5
commit
2286171d1c
4 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-12-27 Mikhail Khodjaiants
|
||||||
|
Cleanup.
|
||||||
|
* HTMLPrinter.java
|
||||||
|
* AbstractViewActionDelegate.java
|
||||||
|
* CDebugUIPlugin.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
|
||||||
|
|
|
@ -103,7 +103,7 @@ public class HTMLPrinter {
|
||||||
if (bgColor == null)
|
if (bgColor == null)
|
||||||
bgColor= new RGB(255,255, 225); // RGB value of info bg color on WindowsXP
|
bgColor= new RGB(255,255, 225); // RGB value of info bg color on WindowsXP
|
||||||
|
|
||||||
insertPageProlog(buffer, position, bgColor); //$NON-NLS-1$
|
insertPageProlog(buffer, position, bgColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void addPageProlog(StringBuffer buffer) {
|
public static void addPageProlog(StringBuffer buffer) {
|
||||||
|
|
|
@ -110,7 +110,7 @@ public abstract class AbstractViewActionDelegate extends ActionDelegate implemen
|
||||||
if ( !ms.isOK() ) {
|
if ( !ms.isOK() ) {
|
||||||
IWorkbenchWindow window = CDebugUIPlugin.getActiveWorkbenchWindow();
|
IWorkbenchWindow window = CDebugUIPlugin.getActiveWorkbenchWindow();
|
||||||
if ( window != null ) {
|
if ( window != null ) {
|
||||||
CDebugUIPlugin.errorDialog( getErrorDialogMessage(), ms.getChildren()[0] ); //$NON-NLS-1$
|
CDebugUIPlugin.errorDialog( getErrorDialogMessage(), ms.getChildren()[0] );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
CDebugUIPlugin.log( ms );
|
CDebugUIPlugin.log( ms );
|
||||||
|
|
|
@ -169,7 +169,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin {
|
||||||
log( t );
|
log( t );
|
||||||
Shell shell = getActiveWorkbenchShell();
|
Shell shell = getActiveWorkbenchShell();
|
||||||
if ( shell != null ) {
|
if ( shell != null ) {
|
||||||
IStatus status = new Status( IStatus.ERROR, getUniqueIdentifier(), IInternalCDebugUIConstants.INTERNAL_ERROR, t.getMessage(), null ); //$NON-NLS-1$
|
IStatus status = new Status( IStatus.ERROR, getUniqueIdentifier(), IInternalCDebugUIConstants.INTERNAL_ERROR, t.getMessage(), null );
|
||||||
ErrorDialog.openError( shell, UIMessages.getString( "CDebugUIPlugin.0" ), message, status ); //$NON-NLS-1$
|
ErrorDialog.openError( shell, UIMessages.getString( "CDebugUIPlugin.0" ), message, status ); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue