Messages.getString( "ProblemsViewLabelProvider.DuplicateAliasErrorObjectClass" ), new String[] { duplicateAliasError.getAlias(), duplicate.getOid() } ); //$NON-NLS-1$
}
}
else if ( element instanceof DuplicateOidError )
{
DuplicateOidError duplicateOidError = ( DuplicateOidError ) element;
SchemaObject duplicate = duplicateOidError.getDuplicate();
if ( duplicate instanceof AttributeTypeImpl )
{
return NLS
.bind(
Messages.getString( "ProblemsViewLabelProvider.DuplicateOidErrorAttributeType" ), new String[] { duplicateOidError.getOid(), duplicate.getName() } ); //$NON-NLS-1$
}
else if ( duplicate instanceof ObjectClassImpl )
{
return NLS
.bind(
Messages.getString( "ProblemsViewLabelProvider.DuplicateOidErrorObjectClass" ), new String[] { duplicateOidError.getOid(), duplicate.getName() } ); //$NON-NLS-1$
}
}
else if ( element instanceof NonExistingATSuperiorError )
{
NonExistingATSuperiorError nonExistingATSuperiorError = ( NonExistingATSuperiorError ) element;