}
}
}
else if ( element instanceof Folder )
{
Folder folder = ( Folder ) element;
if ( childrenHasErrors( folder.getChildren(), schemaChecker ) )
{
decoration.addOverlay( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,
PluginConstants.IMG_OVERLAY_ERROR ), IDecoration.BOTTOM_LEFT );
return;
}
if ( childrenHasWarnings( folder.getChildren(), schemaChecker ) )
{
decoration.addOverlay( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,
PluginConstants.IMG_OVERLAY_WARNING ), IDecoration.BOTTOM_LEFT );
}
}