Schema schema = pool.getSchema( schemaName );
// Creating the new attribute type and adding it to the schema
AttributeTypeLiteral attributeTypeLiteral = new AttributeTypeLiteral( this.page.getOidField() );
attributeTypeLiteral.setNames( new String[] { this.page.getNameField() } );
AttributeType attributeType = new AttributeType( attributeTypeLiteral, schema );
schema.addAttributeType( attributeType );
// Opening the associated editor
AttributeTypeFormEditorInput input = new AttributeTypeFormEditorInput( attributeType );
String editorId = AttributeTypeFormEditor.ID;