messageBox.open();
}
else
{
// Instantiates and initializes the wizard
CreateANewObjectClassWizard wizard = new CreateANewObjectClassWizard( schemaName );
wizard.init( PlatformUI.getWorkbench(), StructuredSelection.EMPTY );
// Instantiates the wizard container with the wizard and opens it
WizardDialog dialog = new WizardDialog(
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard );
dialog.create();
dialog.open();