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;
try
{
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().openEditor( input, editorId );
}