mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Renamed "ICDebugElementErrorStatus" to "ICDebugElementStatus".
This commit is contained in:
parent
1a63f5490c
commit
1030a3afa9
2 changed files with 11 additions and 7 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-07-09 Mikhail Khodjaiants
|
||||
Renamed "ICDebugElementErrorStatus" to "ICDebugElementStatus".
|
||||
* CDTDebugModelPresentation.java
|
||||
|
||||
2004-07-09 Mikhail Khodjaiants
|
||||
Fix for bug 69221: "Show full paths" doesn't work for shared libraries.
|
||||
* SharedLibrariesView.java
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.eclipse.cdt.debug.core.cdi.ICDIWatchpointTrigger;
|
|||
import org.eclipse.cdt.debug.core.cdi.model.ICDISignal;
|
||||
import org.eclipse.cdt.debug.core.model.ICAddressBreakpoint;
|
||||
import org.eclipse.cdt.debug.core.model.ICBreakpoint;
|
||||
import org.eclipse.cdt.debug.core.model.ICDebugElementErrorStatus;
|
||||
import org.eclipse.cdt.debug.core.model.ICDebugElementStatus;
|
||||
import org.eclipse.cdt.debug.core.model.ICDebugTargetType;
|
||||
import org.eclipse.cdt.debug.core.model.ICFunctionBreakpoint;
|
||||
import org.eclipse.cdt.debug.core.model.ICGlobalVariable;
|
||||
|
@ -194,12 +194,12 @@ public class CDTDebugModelPresentation extends LabelProvider implements IDebugMo
|
|||
Image baseImage = getBaseImage( element );
|
||||
if ( baseImage != null ) {
|
||||
ImageDescriptor[] overlays = new ImageDescriptor[]{ null, null, null, null };
|
||||
if ( element instanceof ICDebugElementErrorStatus && !((ICDebugElementErrorStatus)element).isOK() ) {
|
||||
switch( ((ICDebugElementErrorStatus)element).getSeverity() ) {
|
||||
case ICDebugElementErrorStatus.WARNING:
|
||||
if ( element instanceof ICDebugElementStatus && !((ICDebugElementStatus)element).isOK() ) {
|
||||
switch( ((ICDebugElementStatus)element).getSeverity() ) {
|
||||
case ICDebugElementStatus.WARNING:
|
||||
overlays[OverlayImageDescriptor.BOTTOM_LEFT] = CDebugImages.DESC_OVRS_WARNING;
|
||||
break;
|
||||
case ICDebugElementErrorStatus.ERROR:
|
||||
case ICDebugElementStatus.ERROR:
|
||||
overlays[OverlayImageDescriptor.BOTTOM_LEFT] = CDebugImages.DESC_OVRS_ERROR;
|
||||
break;
|
||||
}
|
||||
|
@ -283,8 +283,8 @@ public class CDTDebugModelPresentation extends LabelProvider implements IDebugMo
|
|||
*/
|
||||
public String getText( Object element ) {
|
||||
StringBuffer baseText = new StringBuffer( getBaseText( element ) );
|
||||
if ( element instanceof ICDebugElementErrorStatus && !((ICDebugElementErrorStatus)element).isOK() ) {
|
||||
baseText.append( getFormattedString( " <{0}>", ((ICDebugElementErrorStatus)element).getMessage() ) ); //$NON-NLS-1$
|
||||
if ( element instanceof ICDebugElementStatus && !((ICDebugElementStatus)element).isOK() ) {
|
||||
baseText.append( getFormattedString( " <{0}>", ((ICDebugElementStatus)element).getMessage() ) ); //$NON-NLS-1$
|
||||
}
|
||||
return baseText.toString();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue