use of com.twinsoft.convertigo.eclipse.wizards.new_project.ServiceCodeWizardPage in project convertigo by convertigo.
the class NewObjectWizard method addBeanPages.
private void addBeanPages(String objectExplorerPageTitle, String objectExplorerPageMessage, Class<DatabaseObject> beanClass) {
objectExplorerPage = new ObjectExplorerWizardPage(parentObject, beanClass, xpath);
objectExplorerPage.setTitle(objectExplorerPageTitle);
objectExplorerPage.setMessage(objectExplorerPageMessage);
this.addPage(objectExplorerPage);
objectInfoPage = new ObjectInfoWizardPage(parentObject);
this.addPage(objectInfoPage);
if ((xpath != null) && (dom != null)) {
if (beanClass.equals(ExtractionRule.class)) {
this.addPage(new XMLTableWizardPage(xpath, dom));
}
}
if (parentObject instanceof SqlConnector) {
sqlQueriesWizardPage = new SQLQueriesWizardPage();
this.addPage(sqlQueriesWizardPage);
}
if (beanClass.equals(Connector.class)) {
// add emulator technology wizard page
EmulatorTechnologyWizardPage emulatorTechnologyPage = new EmulatorTechnologyWizardPage();
this.addPage(emulatorTechnologyPage);
// add service code wizard page
ServiceCodeWizardPage serviceCodePage = new ServiceCodeWizardPage();
this.addPage(serviceCodePage);
}
if (beanClass.equals(Reference.class)) {
ProjectSchemaWizardPage projectSchemaWizardPage = new ProjectSchemaWizardPage(parentObject);
this.addPage(projectSchemaWizardPage);
XsdSchemaFileWizardPage xsdSchemaFileWizardPage = new XsdSchemaFileWizardPage(parentObject);
this.addPage(xsdSchemaFileWizardPage);
WsdlSchemaFileWizardPage wsdlSchemaWizardPage = new WsdlSchemaFileWizardPage(parentObject);
this.addPage(wsdlSchemaWizardPage);
WebServiceWizardPage soapServiceWizardPage = new WebServiceWizardPage(parentObject);
this.addPage(soapServiceWizardPage);
RestServiceWizardPage restServiceWizardPage = new RestServiceWizardPage(parentObject);
this.addPage(restServiceWizardPage);
}
if (beanClass.equals(UrlMapping.class)) {
UrlMappingWizardPage urlMappingWizardPage = new UrlMappingWizardPage(parentObject);
this.addPage(urlMappingWizardPage);
}
}
Aggregations