Package com.eviware.x.form

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


    {
      endpoints.addAll( iface.getEndpoints() );
    }

    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "Launch LoadTestRunner" );
    generalForm = builder.createForm( "General" );

    dialog.setIntValue( LaunchForm.PORT, ( int )settings.getLong( LaunchForm.PORT, 8081 ) );
    dialog.setOptions( LaunchForm.REQUEST_WSS,
        StringUtils.merge( project.getWssContainer().getIncomingWssNames(), "<none>" ) );
    dialog.setOptions( LaunchForm.RESPONSE_WSS,
View Full Code Here


    if( modelItem == null )
      return null;

    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "Launch Security TestRunner" );

    mainForm = builder.createForm( "Basic" );
    mainForm.addComboBox( TESTSUITE, new String[] {}, "The TestSuite to run" ).addFormFieldListener(
        new XFormFieldListener()
        {

          public void valueChanged( XFormField sourceField, String newValue, String oldValue )
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

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

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

    mainForm.addTextField( XSBTARGET, "Target directory for CLASS and XSB files", XForm.FieldType.PROJECT_FOLDER );
    mainForm.addTextField( SRCTARGET, "Target directory for generated JAVA files", XForm.FieldType.PROJECT_FOLDER );
    mainForm.addTextField( JARFILE, "The name of the output JAR that will contain the result of compilation",
View Full Code Here

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

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

    mainForm.addTextField( OUTPUT, "generated files will go into this directory", XForm.FieldType.PROJECT_FOLDER );
    mainForm.addTextField( PACKAGE, "the target package", XForm.FieldType.JAVA_PACKAGE );
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( WsdlInterface modelItem )
  {
    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "Regenerate JBossWS WSDL Artifacts" );

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

    mainForm.addTextField( ENDPOINT, "Serice Endpoint Interface", XForm.FieldType.JAVA_CLASS );
    mainForm.addTextField( SERVICE_NAME, "The name of the generated Service", XForm.FieldType.TEXT );
    mainForm
        .addComboBox( STYLE, new String[] { Style.DOCUMENT.toString(), Style.RPC.toString() }, "The style to use" );
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.