}
}
}
// Instantiates and initializes the wizard
ExportSchemasAsOpenLdapWizard wizard = new ExportSchemasAsOpenLdapWizard();
wizard.setSelectedSchemas( selectedSchemas.toArray( new Schema[0] ) );
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();
}