{
public String getColumnText( Object obj, int index )
{
if ( obj instanceof SyntaxValueProviderRelation )
{
SyntaxValueProviderRelation relation = ( SyntaxValueProviderRelation ) obj;
if ( index == 0 )
{
return relation.getSyntaxOID();
}
else if ( index == 1 )
{
if ( relation.getSyntaxOID() != null )
{
if ( syntaxOid2LsdMap.containsKey( relation.getSyntaxOID() ) )
{
LdapSyntaxDescription lsd = ( LdapSyntaxDescription ) syntaxOid2LsdMap.get( relation
.getSyntaxOID() );
return lsd.toString();
}
}
}
else if ( index == 2 )
{
ValueEditorExtension vp = class2ValueEditorProxyMap.get( relation.getValueProviderClassname() );
return vp != null ? vp.name : null;
}
}
return null;
}