// This listener needs to be outside of the 'if' so that attribute type editor can be opened from any object class (in a core or a user schema)
mandatoryAttributes_table.addMouseListener( new MouseListener()
{
public void mouseDoubleClick( MouseEvent e )
{
SchemaPool pool = SchemaPool.getInstance();
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
AttributeTypeFormEditorInput input = new AttributeTypeFormEditorInput( pool
.getAttributeType( mandatoryAttributes_table.getSelection()[0].getText() ) );
String editorId = AttributeTypeFormEditor.ID;
try
{
page.openEditor( input, editorId );