{
SchemaWrapper schemaWrapper = ( SchemaWrapper ) selection;
try
{
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
page.openEditor( new SchemaFormEditorInput( schemaWrapper.getMySchema() ), SchemaFormEditor.ID );
}
catch ( PartInitException e )
{
logger.debug( "error when opening the editor" ); //$NON-NLS-1$
}