.getAttributeType( object.getOid() ) );
editorId = AttributeTypeEditor.ID;
}
else if ( object instanceof ObjectClass )
{
input = new ObjectClassEditorInput( Activator.getDefault().getSchemaHandler()
.getObjectClass( object.getOid() ) );
editorId = ObjectClassEditor.ID;
}
}
else if ( objectSelection instanceof SchemaWarningWrapper )
{
SchemaObject object = ( ( SchemaWarningWrapper ) objectSelection ).getSchemaWarning().getSource();
if ( object instanceof AttributeType )
{
input = new AttributeTypeEditorInput( ( AttributeType ) object );
editorId = AttributeTypeEditor.ID;
}
else if ( object instanceof ObjectClass )
{
input = new ObjectClassEditorInput( ( MutableObjectClass ) object );
editorId = ObjectClassEditor.ID;
}
}
else if ( ( objectSelection instanceof Folder ) )
{