Package com.eviware.soapui.model.iface

Examples of com.eviware.soapui.model.iface.Interface


  }

  @Override
  public boolean applies( Interface target )
  {
    Interface iface = ( Interface )target;
    return !iface.getProject().hasNature( Project.JBOSSWS_NATURE_ID );
  }
View Full Code Here


  }

  @Override
  public boolean applies( Interface target )
  {
    Interface iface = ( Interface )target;
    return !iface.getProject().hasNature( Project.JBOSSWS_NATURE_ID );
  }
View Full Code Here

  }

  @Override
  public boolean applies( Interface target )
  {
    Interface iface = ( Interface )target;
    return !iface.getProject().hasNature( Project.JBOSSWS_NATURE_ID );
  }
View Full Code Here

    internalProjectListener = new InternalProjectListener();
    project.addProjectListener( internalProjectListener );

    for( int c = 0; c < project.getInterfaceCount(); c++ )
    {
      Interface iface = project.getInterfaceAt( c );
      interfaceNodes.add( new InterfaceTreeNode( iface, getTreeModel() ) );
    }

    for( int c = 0; c < project.getTestSuiteCount(); c++ )
    {
View Full Code Here

    long startTime = System.nanoTime();

    for( int c = 0; c < project.getInterfaceCount(); c++ )
    {
      Interface i = project.getInterfaceAt( c );
      if( iface == null || i.getName().equals( iface ) )
      {
        runTool( i );
      }
    }
View Full Code Here

      sourceStepCombo.addActionListener( new ActionListener()
      {
        public void actionPerformed( ActionEvent e )
        {
          Interface iface = project.getInterfaceByName( ( ( Interface )sourceStepCombo.getSelectedItem() )
              .getName() );
          propertiesCombo.removeAllItems();
          if( iface != null )
          {
            propertiesCombo.setEnabled( true );
            for( Operation op : iface.getOperationList() )
              propertiesCombo.addItem( op );
          }
          else
          {
            propertiesCombo.setEnabled( false );
View Full Code Here

      serviceCombo.addActionListener( new ActionListener()
      {
        public void actionPerformed( ActionEvent e )
        {
          Interface iface = project.getInterfaceByName( ( ( Interface )serviceCombo.getSelectedItem() ).getName() );
          resourceCombo.removeAllItems();
          if( iface != null )
          {
            resourceCombo.setEnabled( true );
            for( Operation op : iface.getOperationList() )
              resourceCombo.addItem( op );
          }
          else
          {
            resourceCombo.setEnabled( false );
View Full Code Here

      tSuiteStepCombo.addActionListener( new ActionListener()
      {

        public void actionPerformed( ActionEvent e )
        {
          Interface iface = project.getInterfaceByName( ( ( TestSuite )tSuiteStepCombo.getSelectedItem() )
              .getName() );
          tCaseCombo.removeAllItems();
          if( iface != null )
          {
            tCaseCombo.setEnabled( true );
            for( Operation op : iface.getOperationList() )
              tCaseCombo.addItem( op );
          }
          else
          {
            tCaseCombo.setEnabled( false );
View Full Code Here

    List<String> options = new ArrayList<String>();
    TupleList<RestMethod, RestRequest> restMethods = new TupleList<RestMethod, RestRequest>();

    for( int c = 0; c < project.getInterfaceCount(); c++ )
    {
      Interface iface = project.getInterfaceAt( c );
      if( iface instanceof RestService )
      {
        List<RestResource> resources = ( ( RestService )iface ).getAllResources();

        for( RestResource resource : resources )
        {
          // options.add( iface.getName() + " -> " + resource.getPath() );
          // restMethods.add( resource, null );

          for( RestMethod method : resource.getRestMethodList() )
          {
            String methodStr = iface.getName() + " -> " + resource.getPath() + " -> " + method.getName();
            restMethods.add( method, null );
            options.add( methodStr );

            for( RestRequest request : method.getRequestList() )
            {
View Full Code Here

    List<String> options = new ArrayList<String>();
    List<Operation> operations = new ArrayList<Operation>();

    for( int c = 0; c < project.getInterfaceCount(); c++ )
    {
      Interface iface = project.getInterfaceAt( c );
      for( int i = 0; i < iface.getOperationCount(); i++ )
      {
        options.add( iface.getName() + " -> " + iface.getOperationAt( i ).getName() );
        operations.add( iface.getOperationAt( i ) );
      }
    }

    Object op = UISupport.prompt( "Select operation to invoke for request", "New TestRequest", options.toArray() );
    if( op != null )
View Full Code Here

TOP

Related Classes of com.eviware.soapui.model.iface.Interface

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.