Package com.eviware.x.form

Examples of com.eviware.x.form.XFormDialog.show()


    WsdlProject project = iface.getProject();
    String[] testSuites = ModelSupport.getNames( new String[] { "<create>" }, project.getTestSuiteList() );
    dialog.setOptions( GenerateForm.TESTSUITE, testSuites );

    if( dialog.show() )
    {
      List<String> operations = StringUtils.toStringList( operationsFormField.getSelectedOptions() );
      if( operations.size() == 0 )
      {
        UISupport.showErrorMessage( "No Operations selected.." );
View Full Code Here


    XFormDialog dialog = buildDialog( iface );

    initValues( iface );

    if( dialog.show() )
    {
      String session = dialog.getValue( SESSION );
      int i = dialog.getValueIndex( SEND );
      if( i == -1 )
      {
View Full Code Here

    dialog.setOptions( Form.MOCKSERVICE, mockServices );

    dialog.setValue( Form.PATH, "/mock" + iface.getName() );
    dialog.setValue( Form.PORT, "8088" );

    if( dialog.show() )
    {
      List<String> operations = StringUtils.toStringList( operationsFormField.getSelectedOptions() );
      if( operations.size() == 0 )
      {
        UISupport.showErrorMessage( "No Operations selected.." );
View Full Code Here

      for( int c = 0; c < names.length; c++ )
      {
        names[c] = testSuiteLoadTests.get( c );
      }
      dialog.setOptions( TestSuiteForm.LOADTESTS, names );
      if( dialog.show() )
      {
        if( dialog.getReturnValue() == XFormDialog.OK_OPTION )
        {
          String loadUIProject = dialog.getValue( TestSuiteForm.LOADUIPROJECT );
          String openedProjectName = IntegrationUtils.getOpenedProjectName();
View Full Code Here

      else
      {
        dialog.setValue( TestCaseForm.LOADUIPROJECT, IntegrationUtils.CREATE_NEW_OPTION );
      }
      dialog.setOptions( TestCaseForm.LOADTESTS, ModelSupport.getNames( testCase.getLoadTestList() ) );
      if( dialog.show() )
      {
        if( dialog.getReturnValue() == XFormDialog.OK_OPTION )
        {
          String loadUIProject = dialog.getValue( TestCaseForm.LOADUIPROJECT );
          String openedProjectName = IntegrationUtils.getOpenedProjectName();
View Full Code Here

        dialog.setValue( Form.LOADUIPROJECT, IntegrationUtils.CREATE_NEW_OPTION );
      }
      dialog.setOptions( Form.TESTCASES, ModelSupport.getNames( testSuite.getTestCaseList() ) );
      dialog.setValue( Form.LEVEL, "Project Level" );

      if( dialog.show() )
      {

        if( dialog.getReturnValue() == XFormDialog.OK_OPTION )
        {
          int levelToAdd = dialog.getValueIndex( Form.LEVEL );
View Full Code Here

    WsdlProject project = service.getProject();
    String[] testSuites = ModelSupport.getNames( new String[] { "<create>" }, project.getTestSuiteList() );
    dialog.setOptions( GenerateForm.TESTSUITE, testSuites );

    if( dialog.show() )
    {
      List<String> resources = Arrays.asList( StringUtils.toStringArray( operationsFormField.getSelectedOptions() ) );
      if( resources.size() == 0 )
      {
        UISupport.showErrorMessage( "No Resources selected.." );
View Full Code Here

  @Override
  public void actionPerformed( ActionEvent e )
  {
    XFormDialog dialog = createCloneParameterDialog();
    dialog.show();
    // model.fireTableDataChanged();
  }

  public void setSecurityScan( AbstractSecurityScanWithProperties securityScan )
  {
View Full Code Here

      dialog.setValue( Form.EXPECTED_DESULT, runContext.expand( getExpectedResult() ) );
      dialog.setValue( Form.STATUS, "Unknown" );

      UISupport.select( this );

      while( !dialog.show() )
      {
        if( UISupport.confirm( "Are you sure? This will stop the entire test", "Cancel TestStep" ) )
        {
          testStepResult.setStatus( TestStepStatus.CANCELED );
          runner.cancel( "Canceled by user" );
View Full Code Here

    public void actionPerformed( ActionEvent arg0 )
    {
      XFormDialog dialog = ADialogBuilder.buildDialog( AddParameterActionDialog.class );
      JComboBoxFormField chooser = ( JComboBoxFormField )dialog.getFormField( AddParameterActionDialog.TYPE );
      chooser.setOptions( typeMap.keySet().toArray( new String[0] ) );
      if( dialog.show() )
      {
        model.addNewType( typeMap.get( chooser.getValue() ), dialog.getValue( AddParameterActionDialog.VALUE ) );
      }
    }
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.