supComboViewer.setInput( new ATESuperiorComboInput( originalAttributeType ) );
String supAtName = modifiedAttributeType.getSuperiorName();
if ( supAtName == null )
{
supComboViewer.setSelection( new StructuredSelection( new NonExistingAttributeType(
NonExistingAttributeType.NONE ) ), true );
}
else
{
AttributeTypeImpl supAT = schemaHandler.getAttributeType( supAtName );
if ( supAT != null )
{
supComboViewer.setSelection( new StructuredSelection( supAT ), true );
}
else
{
ATESuperiorComboInput input = ( ATESuperiorComboInput ) supComboViewer.getInput();
NonExistingAttributeType neat = new NonExistingAttributeType( supAtName );
if ( !input.getChildren().contains( neat ) )
{
input.addChild( neat );
}
supComboViewer.refresh();