// set flag
isObsoleteText.setEnabled( mrd != null && mrd.isObsolete() );
// set syntax content
String lsdOid = null;
LdapSyntax lsd = null;
if ( mrd != null )
{
Schema schema = getSchema();
lsdOid = mrd.getSyntaxOid();
if ( lsdOid != null && schema.hasLdapSyntaxDescription( lsdOid ) )
{
lsd = schema.getLdapSyntaxDescription( lsdOid );
}
}
syntaxLink.setText( getNonNullString( lsd != null ? lsd.getOid() : lsdOid ) );
syntaxLink.setHref( lsd );
syntaxLink.setUnderlined( lsd != null );
syntaxLink.setEnabled( lsd != null );
syntaxDescText.setText( getNonNullString( lsd != null ? lsd.getDescription() : null ) );
syntaxSection.layout();
// create contents of dynamic sections
createUsedFromContents( mrd );
createRawContents( mrd );