* Since this monitor here doesn't make much sense, we
* should either remove the progress monitor from the CodeGenWizard,
* or give a (custom) progress monitor to the generate() method, so
* we will be informed by Axis2 about the progress of code generation.
*/
WSDL2JavaGenerator generator = new WSDL2JavaGenerator();
monitor.subTask(CodegenWizardPlugin.getResourceString("generator.readingWOM"));
WSDLDescription wom = generator.getWOM(wsdlSelectionPage.getFileName());
monitor.worked(1);
Map optionsMap = generator.fillOptionMap(optionsPage.isAsyncOnlyOn(),
optionsPage.isSyncOnlyOn(),
optionsPage.isServerside(),
optionsPage.isServerXML(),
optionsPage.isGenerateTestCase(),
wsdlSelectionPage.getFileName(),