supertypeSection.setText( NLS.bind( Messages
.getString( "AttributeTypeDescriptionDetailsPage.SupertypeCount" ), new Object[] { 1 } ) ); //$NON-NLS-1$
if ( getSchema().hasAttributeTypeDescription( superType ) )
{
AttributeType supAtd = getSchema().getAttributeTypeDescription( superType );
Hyperlink superLink = toolkit.createHyperlink( superClient, SchemaUtils.toString( supAtd ),
SWT.WRAP );
superLink.setHref( supAtd );
superLink.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
superLink.setUnderlined( true );
superLink.setEnabled( true );
superLink.addHyperlinkListener( this );
}
else
{
Hyperlink superLink = toolkit.createHyperlink( superClient, superType, SWT.WRAP );
superLink.setHref( null );
superLink.setUnderlined( false );
superLink.setEnabled( false );
}
}
else
{
supertypeSection.setText( NLS.bind( Messages