Package com.eviware.soapui.support.action.swing

Examples of com.eviware.soapui.support.action.swing.ActionList


      progressBar.setString( "" );
    }

    private void initPopup( WsdlTestSuite testSuite )
    {
      ActionList actions = ActionListBuilder.buildActions( testSuite );
      actions.insertAction(
          SwingActionDelegate.createDelegate( AddNewTestSuiteAction.SOAPUI_ACTION_ID, project, null, null ), 0 );
      actions.insertAction( ActionSupport.SEPARATOR_ACTION, 1 );

      setComponentPopupMenu( ActionSupport.buildPopup( actions ) );
    }
View Full Code Here


          UISupport.selectAndShow( testSuite );
          e.consume();
        }
        else
        {
          ActionList actions = ActionListBuilder.buildActions( testSuite );
          if( actions != null )
            actions.dispatchKeyEvent( e );
        }
      }
View Full Code Here

        row = statisticsTable.convertRowIndexToModel( row );

        ModelItem modelItem = row == statisticsTable.getRowCount() - 1 ? loadTest.getTestCase() : loadTest
            .getStatisticsModel().getTestStepAtRow( row );

        ActionList actions = ActionListBuilder.buildActions( modelItem );
        if( actions != null )
          actions.performDefaultAction( new ActionEvent( statisticsTable, 0, null ) );
      }
    }
View Full Code Here

          if( assertion.isConfigurable() )
            assertion.configure();
        }
        else
        {
          ActionList actions = ActionListBuilder.buildActions( assertion );
          if( actions != null )
          {
            actions.dispatchKeyEvent( e );
          }
        }
      }
    } );
View Full Code Here

    mainForm.addTextField( EJB_LINK, "The name of the source EJB to link to", XForm.FieldType.TEXT );
    mainForm.addTextField( SERVLET_LINK, "The name of the source Servlet to link to", XForm.FieldType.TEXT );

    buildArgsForm( builder, false, "wstools" );

    ActionList actions = buildDefaultActions( HelpUrls.WSTOOLS_HELP_URL, project );
    actions.addAction( new ShowConfigFileAction( "JBossWS Java2Wsdl", "Contents of generated wsconfig.xml file" )
    {
      protected String getConfigFile()
      {
        ConfigurationDocument configDocument = createConfigFile( getDialog().getValues() );
        return configDocument.toString();
View Full Code Here

    mainForm.addTextField( EJB_LINK, "The name of the source EJB to link to", XForm.FieldType.TEXT );
    mainForm.addTextField( SERVLET_LINK, "The name of the source Servlet to link to", XForm.FieldType.TEXT );

    buildArgsForm( builder, false, "wstools" );

    ActionList actions = buildDefaultActions( HelpUrls.WSTOOLS_HELP_URL, modelItem );
    actions.addAction( new ShowConfigFileAction( "JBossWS Wsdl2Java", "Contents of generated wsconfig.xml file" )
    {
      protected String getConfigFile()
      {
        ConfigurationDocument configDocument = createConfigFile( getDialog().getValues() );
        return configDocument.toString();
View Full Code Here

    appendField = mainForm.addCheckBox( APPEND, "append to existing file" );
    appendField.setEnabled( false );
    buildArgsForm( builder, false, "wstools" );

    ActionList actions = buildDefaultActions( HelpUrls.WSTOOLS_HELP_URL, modelItem );
    actions.addAction( new JBossWSShowConfigFileAction( "JBossWS Wsdl2Java",
        "Contents of generated wsconfig.xml file", modelItem ) );
    return builder.buildDialog( actions, "Specify arguments for JBossWS wstools wsdl2java functionality",
        UISupport.TOOL_ICON );
  }
View Full Code Here

    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",
        UISupport.TOOL_ICON );
  }
View Full Code Here

    XForm advForm = builder.createForm( "Advanced" );
    advForm.addNameSpaceTable( NAMESPACE_MAPPING, modelItem );

    buildArgsForm( builder, false, "wscompile" );

    ActionList actions = buildDefaultActions( HelpUrls.WSCOMPILE_HELP_URL, modelItem );
    actions.addAction( new WSCompileShowConfigFileAction( "JAX-RPC wscompile",
        "Contents of generated config.xml file", modelItem ) );

    return builder.buildDialog( actions, "Specify arguments for JAX-RPC wscompile", UISupport.TOOL_ICON );
  }
View Full Code Here

    return classpath.toString();
  }

  protected ActionList buildDefaultActions( String helpUrl, T modelItem )
  {
    ActionList actions = new DefaultActionList( "Actions" );

    if( helpUrl != null )
    {
      actions.addAction( new ShowOnlineHelpAction( helpUrl ) );
      actions.addSeparator();
    }

    Action runAction = createRunOption( modelItem );
    actions.addAction( runAction );
    actions.setDefaultAction( runAction );
    actions.addAction( new CloseAction( modelItem ) );

    if( toolsSettingsAction != null )
      actions.addAction( toolsSettingsAction );

    return actions;
  }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.support.action.swing.ActionList

Copyright © 2018 www.massapicom. 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.