1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 22:35:43 +02:00

Bug #181022 - get rid of "strikeout" sign.

This commit is contained in:
Oleg Krasilnikov 2007-04-16 09:35:57 +00:00
parent 7da95e5c39
commit df81aa5942

View file

@ -93,7 +93,6 @@ public class ProblemsLabelDecorator implements ILabelDecorator, ILightweightLabe
private static final int ERRORTICK_WARNING= CElementImageDescriptor.WARNING;
private static final int ERRORTICK_ERROR= CElementImageDescriptor.ERROR;
private static final int TICK_CONFIGURATION = CElementImageDescriptor.SYSTEM_INCLUDE;
private static final int TICK_EXCLUDE = CElementImageDescriptor.INACTIVE;
private ImageDescriptorRegistry fRegistry;
private boolean fUseNewRegistry= false;
@ -364,10 +363,6 @@ public class ProblemsLabelDecorator implements ILabelDecorator, ILightweightLabe
decoration.addOverlay(CPluginImages.DESC_OVR_SYSTEM_INCLUDE);
adornmentFlags &= ~TICK_CONFIGURATION;
}
if ((adornmentFlags & TICK_EXCLUDE) != 0) {
decoration.addOverlay(CPluginImages.DESC_OVR_INACTIVE);
adornmentFlags &= ~TICK_EXCLUDE;
}
if (adornmentFlags == ERRORTICK_ERROR) {
decoration.addOverlay(CPluginImages.DESC_OVR_ERROR);
@ -388,8 +383,6 @@ public class ProblemsLabelDecorator implements ILabelDecorator, ILightweightLabe
if (cf[i].isActive()) {
ICResourceDescription out = cf[i].getResourceDescription(path, true);
if (out != null) result |= TICK_CONFIGURATION;
// out = cf[i].getResourceDescription(path, false);
if (out != null && out.isExcluded()) result |= TICK_EXCLUDE;
}
}
}