Package com.eviware.x.form

Examples of com.eviware.x.form.XForm.addTextField()


        servletLinkField.setEnabled( newValue.length() == 0 );
        appendField.setEnabled( newValue.length() > 0 );
      }
    } );

    servletLinkField = mainForm.addTextField( SERVLET_LINK,
        "The web.xml servlet-link that is used by Java Service Endpoints (WAR)", XForm.FieldType.TEXT );
    servletLinkField.addFormFieldListener( new XFormFieldListener()
    {
      public void valueChanged( XFormField sourceField, String newValue, String oldValue )
      {
View Full Code Here


    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "Oracle Artifacts" );

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

    mainForm.addTextField( OUTPUT, "The root directory for all emitted files.", XForm.FieldType.PROJECT_FOLDER );
    mainForm.addTextField( PACKAGE, "The target package for generated classes", XForm.FieldType.JAVA_PACKAGE );

    buildArgsForm( builder, true, "wsa" );

    ActionList actions = buildDefaultActions( HelpUrls.ORACLEWSA_HELP_URL, modelItem );
View Full Code Here

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

    mainForm.addTextField( OUTPUT, "The root directory for all emitted files.", XForm.FieldType.PROJECT_FOLDER );
    mainForm.addTextField( PACKAGE, "The target package for generated classes", XForm.FieldType.JAVA_PACKAGE );

    buildArgsForm( builder, true, "wsa" );

    ActionList actions = buildDefaultActions( HelpUrls.ORACLEWSA_HELP_URL, modelItem );
    return builder.buildDialog( actions, "Specify arguments for Oracle wsa.jar genProxy functionality",
View Full Code Here

    XForm wsdl2hAdvForm = builder.createForm( "wsdl2h" );

    wsdl2hAdvForm.addCheckBox( WSDL2H, null );
    addWSDLFields( wsdl2hAdvForm, modelItem );

    wsdl2hAdvForm.addTextField( WSDL2H_OUTPUT, "name of output file", XForm.FieldType.PROJECT_FILE );

    XForm soapcpp2AdvForm = builder.createForm( "soapcpp2" );

    soapcpp2AdvForm.addCheckBox( SOAPCPP2, null );
View Full Code Here

    soapcpp2AdvForm.addCheckBox( SOAP_ACTION, null );
    soapcpp2AdvForm.addCheckBox( GENERATE_C_SOURCE_CPP, null );
    // soapcpp2AdvForm.addTextField(SAVE_PATH, "", XForm.FieldType.DIRECTORY);
    soapcpp2AdvForm.addCheckBox( SOAP_RPC, null );
    soapcpp2AdvForm.addCheckBox( SERVICE_PROXIES, null );
    soapcpp2AdvForm.addTextField( IMPORT_PATH, "use path(s) for #import", XForm.FieldType.PROJECT_FOLDER );
    soapcpp2AdvForm.addCheckBox( GENERATE_LINKABLE_MODULES, null );
    soapcpp2AdvForm.addCheckBox( GENERATE_MATLAB_CODE, null );
    soapcpp2AdvForm.addCheckBox( SERVICE_NAME, null );
    soapcpp2AdvForm.addTextField( NAME_PREFIX, "save files with new prefix name instead of 'soap'",
        XForm.FieldType.TEXT );
View Full Code Here

    soapcpp2AdvForm.addCheckBox( SERVICE_PROXIES, null );
    soapcpp2AdvForm.addTextField( IMPORT_PATH, "use path(s) for #import", XForm.FieldType.PROJECT_FOLDER );
    soapcpp2AdvForm.addCheckBox( GENERATE_LINKABLE_MODULES, null );
    soapcpp2AdvForm.addCheckBox( GENERATE_MATLAB_CODE, null );
    soapcpp2AdvForm.addCheckBox( SERVICE_NAME, null );
    soapcpp2AdvForm.addTextField( NAME_PREFIX, "save files with new prefix name instead of 'soap'",
        XForm.FieldType.TEXT );
    soapcpp2AdvForm.addCheckBox( XSI_TYPED, null );
    soapcpp2AdvForm.addCheckBox( NO_GEN_WSDL_SCHEMA, null );
    soapcpp2AdvForm.addCheckBox( NO_GEN_SAMPLE_XML, null );
View Full Code Here

    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" );
    XFormField bindingCombo = mainForm.addComboBox( BINDING, new String[] { "jaxb", "xmlbeans" },
        "Binding framework to use" );
View Full Code Here

    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" );
    XFormField bindingCombo = mainForm.addComboBox( BINDING, new String[] { "jaxb", "xmlbeans" },
        "Binding framework to use" );

    XFormTextField cpField = mainForm.addTextField( CLASSPATH, "Classpath to generated xmlbeans for binding",
View Full Code Here

    mainForm.addTextField( PACKAGE, "Package for generated classes", XForm.FieldType.JAVA_PACKAGE ).setRequired(
        true, "Package is required" );
    XFormField bindingCombo = mainForm.addComboBox( BINDING, new String[] { "jaxb", "xmlbeans" },
        "Binding framework to use" );

    XFormTextField cpField = mainForm.addTextField( CLASSPATH, "Classpath to generated xmlbeans for binding",
        XForm.FieldType.PROJECT_FILE );
    XFormTextField extBindingsField = mainForm.addTextField( EXTERNAL_BINDINGS, "External jaxb binding file(s)",
        XForm.FieldType.PROJECT_FILE );
    bindingCombo.addComponentEnabler( cpField, "xmlbeans" );
    bindingCombo.addComponentEnabler( extBindingsField, "jaxb" );
View Full Code Here

    XFormField bindingCombo = mainForm.addComboBox( BINDING, new String[] { "jaxb", "xmlbeans" },
        "Binding framework to use" );

    XFormTextField cpField = mainForm.addTextField( CLASSPATH, "Classpath to generated xmlbeans for binding",
        XForm.FieldType.PROJECT_FILE );
    XFormTextField extBindingsField = mainForm.addTextField( EXTERNAL_BINDINGS, "External jaxb binding file(s)",
        XForm.FieldType.PROJECT_FILE );
    bindingCombo.addComponentEnabler( cpField, "xmlbeans" );
    bindingCombo.addComponentEnabler( extBindingsField, "jaxb" );

    mainForm.addTextField( PROFILE, "Profile to use for generating artifacts", XForm.FieldType.TEXT );
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.