Examples of createForm()


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

  protected XFormDialog buildDialog( Interface modelItem )
  {
    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( messages.get( "Dialog.Title" ) );

    XForm mainForm = builder.createForm( messages.get( "Dialog.Basic.Label" ) );
    addWSDLFields( mainForm, modelItem );

    mainForm.addTextField( OUTPUT, messages.get( "Dialog.Basic.Output" ), XForm.FieldType.PROJECT_FOLDER );
    mainForm.addCheckBox( SERVER_SIDE, messages.get( "Dialog.Basic.ServerSide" ) );
    mainForm.addCheckBox( ALL, messages.get( "Dialog.Basic.All" ) );
View Full Code Here

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

    mainForm.addCheckBox( NO_WRAPPED, messages.get( "Dialog.Basic.NoWrapped" ) );
    mainForm.addCheckBox( TEST_CASE, messages.get( "Dialog.Basic.TestCase" ) );
    mainForm.addCheckBox( HELPER_GEN, messages.get( "Dialog.Basic.HelperGen" ) );
    mainForm.addCheckBox( WRAP_ARRAYS, messages.get( "Dialog.Basic.WrapArrays" ) );

    XForm advForm = builder.createForm( messages.get( "Dialog.Advanced.Label" ) );
    advForm.addComboBox( TYPE_MAPPING_VERSION, new String[] { "1.2", "1.1" },
        messages.get( "Dialog.Advanced.TypeMappingVersion" ) );

    advForm.addTextField( IMPLCLASS, messages.get( "Dialog.Advanced.ImplClass" ), XForm.FieldType.JAVA_CLASS );
    advForm.addTextField( FACTORY, messages.get( "Dialog.Advanced.Factory" ), XForm.FieldType.JAVA_CLASS );
View Full Code Here

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

    }

    MessageSupport messages = MessageSupport.getMessages( formClass );

    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( messages.get( formAnnotation.name() ) );
    XForm form = builder.createForm( "Basic" );

    for( Field field : formClass.getFields() )
    {
      AField fieldAnnotation = field.getAnnotation( AField.class );
      if( fieldAnnotation != null )
View Full Code Here

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

    }

    MessageSupport messages = MessageSupport.getMessages( formClass );

    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( messages.get( formAnnotation.name() ) );
    XForm form = builder.createForm( "Basic" );

    for( Field field : formClass.getFields() )
    {
      AField fieldAnnotation = field.getAnnotation( AField.class );
      if( fieldAnnotation != null )
View Full Code Here

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

    if( modelItem == null )
      return null;

    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "Launch TcpMon" );

    mainForm = builder.createForm( "Basic" );
    mainForm.addComboBox( ENDPOINT, new String[] { "" }, "endpoint to forward to" );
    mainForm.addTextField( PORT, "Local port to listen on.", XForm.FieldType.TEXT );
    mainForm.addCheckBox( ADD_ENDPOINT, "adds an endpoint to the interface pointing to the started monitor" );

    return builder.buildDialog( buildDefaultActions( HelpUrls.TCPMON_HELP_URL, modelItem ),
View Full Code Here

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

  protected XFormDialog buildDialog( WsdlProject project )
  {
    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "Generate 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

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

  }

  protected XFormDialog buildDialog( Interface modelItem )
  {
    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "Axis2 artifacts" );
    XForm mainForm = builder.createForm( "Basic" );

    addWSDLFields( mainForm, modelItem );

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

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

    XFormField ssiCB = mainForm.addCheckBox( SERVERSIDEINTERFACE, "(Generate interface for server side)" );
    XFormField sdCB = mainForm.addCheckBox( SERICEDESCRIPTOR, "(Generate the service descriptor (i.e. server.xml).)" );
    serverSideCB.addComponentEnabler( ssiCB, "true" );
    serverSideCB.addComponentEnabler( sdCB, "true" );

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

    advForm.addCheckBox( GENERATEALL, "(Genrates all the classes)" );
    advForm.addCheckBox( UNPACK, "(Unpacks the databinding classes)" );

    advForm.addTextField( SERVICE_NAME, "the service name to be code generated", XForm.FieldType.TEXT );
View Full Code Here

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

  }

  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

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

    if( iface == null )
      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 )
          {
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.