}
}
}
// Instantiates and initializes the wizard
ExportSchemasAsXmlWizard wizard = new ExportSchemasAsXmlWizard();
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();
}