Examples of buildDialog()


Examples of com.eviware.soapui.impl.actions.RestUriDialogHandler.buildDialog()

    }

    public void perform(WsdlProject project, Object param) {
        RestUriDialogHandler dialogBuilder = new RestUriDialogHandler();
        RestServiceBuilder serviceBuilder = new RestServiceBuilder();
        XFormDialog dialog = dialogBuilder.buildDialog(messages);
        while (dialog.show()) {
            try {
                String uri = dialogBuilder.getUri();
                if (uri != null) {
                    serviceBuilder.createRestService(project, uri);
View Full Code Here

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

    advForm.addTextField( USERNAME, messages.get( "Dialog.Advanced.Username" ), XForm.FieldType.TEXT );
    advForm.addTextField( PASSWORD, messages.get( "Dialog.Advanced.Password" ), XForm.FieldType.PASSWORD );

    buildArgsForm( builder, true, "WSDL2Java" ); //$NON-NLS-1$

    return builder.buildDialog( buildDefaultActions( HelpUrls.AXIS1X_HELP_URL, modelItem ),
        messages.get( "Dialog.Description" ), UISupport.TOOL_ICON );
  }

  protected void generate( StringToStringMap values, ToolHost toolHost, Interface modelItem ) throws Exception
  {
View Full Code Here

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

    if( actions == null )
      actions = defaultActions;
    else
      actions.addActions( defaultActions );

    XFormDialog dialog = builder.buildDialog( actions, messages.get( formAnnotation.description() ),
        UISupport.createImageIcon( formAnnotation.icon() ) );

    return dialog;
  }
View Full Code Here

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

    else
    {
      // since there is only one action do it like this
      actions.insertAction( defaultActions.getActionAt( 0 ), 0 );
    }
    XFormDialog dialog = builder.buildDialog( actions, messages.get( formAnnotation.description() ),
        UISupport.createImageIcon( formAnnotation.icon() ) );

    return dialog;
  }
View Full Code Here

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

    if( actions == null )
      actions = defaultActions;
    else
      actions.addActions( defaultActions );

    XFormDialog dialog = builder.buildDialog( actions, formAnnotation.description(),
        UISupport.createImageIcon( formAnnotation.icon() ) );

    return dialog;
  }
View Full Code Here

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

    {
      defaultActions.addActions( actions );
      actions = defaultActions;
    }

    XFormDialog dialog = builder.buildDialog( actions, formAnnotation.description(),
        UISupport.createImageIcon( formAnnotation.icon() ) );

    return dialog;
  }
View Full Code Here

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

    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 ),
        "Specify arguments for launching TcpMon", UISupport.TOOL_ICON );
  }

  protected Action createRunOption( WsdlInterface modelItem )
  {
View Full Code Here

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

        ConfigurationDocument configDocument = createConfigFile( getDialog().getValues() );
        return configDocument.toString();
      }
    } );

    return builder.buildDialog( actions, "Specify arguments for JBossWS wstools java2wsdl functionality",
        UISupport.TOOL_ICON );
  }

  protected void generate( StringToStringMap values, ToolHost toolHost, WsdlProject project ) throws Exception
  {
View Full Code Here

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

    dbComboBox.addComponentEnabler( adbWriteCB, "adb" );
    dbComboBox.addComponentEnabler( jibxCB, "jibx" );

    buildArgsForm( builder, false, "WSDL2Java" );

    return builder.buildDialog( buildDefaultActions( HelpUrls.AXIS2X_HELP_URL, modelItem ),
        "Specify arguments for Axis 2.X Wsdl2Java", UISupport.TOOL_ICON );
  }

  protected void generate( StringToStringMap values, ToolHost toolHost, Interface modelItem ) throws Exception
  {
View Full Code Here

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

    closeRequestCheckBox = mainForm.addCheckBox( CLOSE_REQUEST, "(closes the current window for this request)" );
    mainForm.addCheckBox( SHOW_TESTCASE, "(opens the TestCase editor for the target TestCase)" );
    mainForm.addCheckBox( COPY_ATTACHMENTS, "(copies the requests attachments to the TestRequest)" );
    mainForm.addCheckBox( COPY_HTTPHEADERS, "(copies the requests HTTP-Headers to the TestRequest)" );

    dialog = builder.buildDialog( builder.buildOkCancelActions(),
        "Specify options for adding the request to a TestCase", UISupport.OPTIONS_ICON );

    dialogValues.put( ADD_SOAP_RESPONSE_ASSERTION, Boolean.TRUE.toString() );
  }
}
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.