Package com.eviware.x.form

Examples of com.eviware.x.form.XFormDialogBuilder.createForm()


    }

    protected XFormDialog buildDialog(Interface modelItem) {
        XFormDialogBuilder builder = XFormFactory.createDialogBuilder("WADL2Java");

        XForm mainForm = builder.createForm("Basic");

        mainForm.addTextField(OUTPUT, "Root directory for all emitted files.", XForm.FieldType.PROJECT_FOLDER);
        mainForm.addTextField(PACKAGE, "Default Package for generated classes", XForm.FieldType.JAVA_PACKAGE);

        mainForm.addCheckBox(AUTOMATIC_PACKAGE_NAMES, "Generates starting point code for a client mainline");
View Full Code Here


    }

    protected XFormDialog buildDialog(Interface modelItem) {
        XFormDialogBuilder builder = XFormFactory.createDialogBuilder("Apache CXF Stubs");

        XForm mainForm = builder.createForm("Basic");
        addWSDLFields(mainForm, modelItem);

        mainForm.addTextField(OUTPUT, "Root directory for all emitted files.", XForm.FieldType.PROJECT_FOLDER);
        mainForm.addTextField(PACKAGE, "Default Package for generated classes", XForm.FieldType.JAVA_PACKAGE);
        mainForm.addNameSpaceTable(NAMESPACE_MAPPING, modelItem);
View Full Code Here

        mainForm.addCheckBox(ANT_FILE, "Generates the Ant build.xml file");
        mainForm.addCheckBox(GENERATE_ALL,
                "<html>Generates all starting point code: types, <br>service proxy, service interface, server mainline, "
                        + "<br>client mainline, implementation object, and an Ant build.xml file</html>");

        XForm advForm = builder.createForm("Advanced");

        advForm.addTextField(BINDING_FILES, "Space-separated list of JAXWS or JAXB binding files", XForm.FieldType.TEXT);
        advForm.addCheckBox(COMPILE, "Compiles generated Java files");
        advForm.addTextField(CLASSDIR, "The directory into which the compiled class files are written",
                XForm.FieldType.FOLDER);
View Full Code Here

        return true;
    }

    private void buildDialog() {
        XFormDialogBuilder builder = XFormFactory.createDialogBuilder("Add Request to TestCase");
        XForm mainForm = builder.createForm("Basic");

        mainForm.addTextField(STEP_NAME, "Name of TestStep", XForm.FieldType.URL).setWidth(30);

        mainForm.addCheckBox(ADD_SOAP_RESPONSE_ASSERTION, "(adds validation that response is a SOAP message)");
        mainForm.addCheckBox(ADD_SCHEMA_ASSERTION, "(adds validation that response complies with its schema)");
View Full Code Here

            return null;
        }

        XFormDialogBuilder builder = XFormFactory.createDialogBuilder("Add JMS endpoint");

        mainForm = builder.createForm("Basic");
        mainForm.addTextField(HERMES_CONFIG, "choose folder where hermes-config.xml is", XForm.FieldType.FOLDER)
                .addFormFieldListener(new XFormFieldListener() {
                    public void valueChanged(XFormField sourceField, String newValue, String oldValue) {
                        if (!"".equals(newValue)) {
                            Hermes hermes = null;
View Full Code Here

    }

    protected XFormDialog buildDialog(Interface modelItem) {
        XFormDialogBuilder builder = XFormFactory.createDialogBuilder("XFire 1.X Stubs");

        XForm mainForm = builder.createForm("Basic");
        addWSDLFields(mainForm, modelItem);

        mainForm.addTextField(OUTPUT, "Root directory for all emitted files.", XForm.FieldType.PROJECT_FOLDER);
        mainForm.addTextField(PACKAGE, "Package for generated classes", XForm.FieldType.JAVA_PACKAGE).setRequired(
                true, "Package is required");
View Full Code Here

    }

    protected XFormDialog buildDialog(Interface modelItem) {
        XFormDialogBuilder builder = XFormFactory.createDialogBuilder(".NET 2.0 artifacts");

        XForm mainForm = builder.createForm("Basic");
        addWSDLFields(mainForm, modelItem);

        mainForm.addTextField(OUTPUT, "root directory for generated files.", XForm.FieldType.PROJECT_FOLDER);
        mainForm.addTextField(NAMESPACE, "The namespace for the generated proxy or template", XForm.FieldType.TEXT);
View Full Code Here

        mainForm.addComboBox(LANGUAGE, new String[]{"CS", "VB", "JS", "VJS", "CPP"}, "add scope to deploy.wsdd");

        mainForm.addComboBox(PROTOCOL, new String[]{"SOAP", "SOAP12", "HttpGet", "HttpPost"},
                "override the default protocol to implement");

        XForm advForm = builder.createForm("Advanced");

        advForm.addCheckBox(SHARETYPES, "(turns on type sharing feature)");
        advForm.addCheckBox(FIELDS, "(generate fields instead of properties)");
        advForm.addCheckBox(ORDER, "(generate explicit order identifiers on particle members)");
        advForm.addCheckBox(ENABLEDATABINDING, "(implement INotifyPropertyChanged interface on all generated types)");
View Full Code Here

        advForm.addCheckBox(ENABLEDATABINDING, "(implement INotifyPropertyChanged interface on all generated types)");
        advForm.addTextField(URLKEY, "configuration key to use in the code generation to read the default URL value",
                XForm.FieldType.URL);
        advForm.addTextField(BASEURL, "base url to use when calculating the url fragment", XForm.FieldType.URL);

        XForm httpForm = builder.createForm("HTTP settings");
        httpForm.addTextField(USERNAME, "username to access the WSDL-URI", XForm.FieldType.TEXT);
        httpForm.addTextField(PASSWORD, "password to access the WSDL-URI", XForm.FieldType.PASSWORD);
        httpForm.addTextField(DOMAIN, "domain to access the WSDL-URI", XForm.FieldType.TEXT);
        httpForm.addTextField(PROXY, "username to access the WSDL-URI", XForm.FieldType.TEXT);
        httpForm.addTextField(PROXYUSERNAME, "proxy username to access the WSDL-URI", XForm.FieldType.TEXT);
View Full Code Here

    }

    protected XFormDialog buildDialog(Interface modelItem) {
        XFormDialogBuilder builder = XFormFactory.createDialogBuilder("JBossWS JAX-WS Artifacts");

        XForm mainForm = builder.createForm("Basic");
        addWSDLFields(mainForm, modelItem);

        mainForm.addTextField(OUTPUT, "target directory for generated files.", XForm.FieldType.PROJECT_FOLDER);
        mainForm.addTextField(PACKAGE, "target package nam", XForm.FieldType.JAVA_PACKAGE);
        mainForm.addTextField(SOURCE_OUTPUT, "target directory for generated source files",
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.