return getDisplayName( errorWrapper.getLdapSchemaException().getSourceObject() );
}
}
else if ( element instanceof SchemaWarningWrapper )
{
SchemaWarningWrapper warningWrapper = ( SchemaWarningWrapper ) element;
if ( columnIndex == 0 )
{
return getMessage( warningWrapper.getSchemaWarning() );
}
else if ( columnIndex == 1 )
{
String name = warningWrapper.getSchemaWarning().getSource().getName();
if ( ( name != null ) && ( !name.equals( "" ) ) ) //$NON-NLS-1$
{
return name;
}
else
{
return warningWrapper.getSchemaWarning().getSource().getOid();
}
}
}
else if ( element instanceof Folder )
{