Search in sources :

Example 1 with ProjectSchemaWizardPage

use of com.twinsoft.convertigo.eclipse.wizards.references.ProjectSchemaWizardPage 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);
    }
}
Also used : RestServiceWizardPage(com.twinsoft.convertigo.eclipse.wizards.references.RestServiceWizardPage) EmulatorTechnologyWizardPage(com.twinsoft.convertigo.eclipse.wizards.new_project.EmulatorTechnologyWizardPage) SqlConnector(com.twinsoft.convertigo.beans.connectors.SqlConnector) ServiceCodeWizardPage(com.twinsoft.convertigo.eclipse.wizards.new_project.ServiceCodeWizardPage) ProjectSchemaWizardPage(com.twinsoft.convertigo.eclipse.wizards.references.ProjectSchemaWizardPage) SQLQueriesWizardPage(com.twinsoft.convertigo.eclipse.wizards.new_project.SQLQueriesWizardPage) WsdlSchemaFileWizardPage(com.twinsoft.convertigo.eclipse.wizards.references.WsdlSchemaFileWizardPage) XsdSchemaFileWizardPage(com.twinsoft.convertigo.eclipse.wizards.references.XsdSchemaFileWizardPage) WebServiceWizardPage(com.twinsoft.convertigo.eclipse.wizards.references.WebServiceWizardPage) UrlMappingWizardPage(com.twinsoft.convertigo.eclipse.wizards.new_project.UrlMappingWizardPage)

Aggregations

SqlConnector (com.twinsoft.convertigo.beans.connectors.SqlConnector)1 EmulatorTechnologyWizardPage (com.twinsoft.convertigo.eclipse.wizards.new_project.EmulatorTechnologyWizardPage)1 SQLQueriesWizardPage (com.twinsoft.convertigo.eclipse.wizards.new_project.SQLQueriesWizardPage)1 ServiceCodeWizardPage (com.twinsoft.convertigo.eclipse.wizards.new_project.ServiceCodeWizardPage)1 UrlMappingWizardPage (com.twinsoft.convertigo.eclipse.wizards.new_project.UrlMappingWizardPage)1 ProjectSchemaWizardPage (com.twinsoft.convertigo.eclipse.wizards.references.ProjectSchemaWizardPage)1 RestServiceWizardPage (com.twinsoft.convertigo.eclipse.wizards.references.RestServiceWizardPage)1 WebServiceWizardPage (com.twinsoft.convertigo.eclipse.wizards.references.WebServiceWizardPage)1 WsdlSchemaFileWizardPage (com.twinsoft.convertigo.eclipse.wizards.references.WsdlSchemaFileWizardPage)1 XsdSchemaFileWizardPage (com.twinsoft.convertigo.eclipse.wizards.references.XsdSchemaFileWizardPage)1