Package com.eviware.soapui.support.components.MetricsPanel

Examples of com.eviware.soapui.support.components.MetricsPanel.MetricsSection.finish()


        return e;
      }
      finally
      {
        section.finish();
      }
    }

    private void addTab( String url, String content ) throws Exception
    {
View Full Code Here


    catch( Exception e )
    {
      UISupport.showErrorMessage( e );
    }

    section.finish();

    metrics.addSection( "Definition Parts" );
    section = metrics.addSection( "Operations" );
    operationsTableModel = new OperationsTableModel();
    JXTable table = section.addTable( operationsTableModel );
View Full Code Here

    section = metrics.addSection( "Operations" );
    operationsTableModel = new OperationsTableModel();
    JXTable table = section.addTable( operationsTableModel );
    table.getColumn( 1 ).setPreferredWidth( 60 );
    table.getColumn( 2 ).setPreferredWidth( 60 );
    section.finish();

    table.packColumn( 3, 10 );
    if( table.getColumn( 3 ).getPreferredWidth() < 250 )
      table.getColumn( 3 ).setPreferredWidth( 250 );
View Full Code Here

        return e;
      }
      finally
      {
        section.finish();
      }

    }

    private void addTab( String url, String content ) throws Exception
View Full Code Here

    catch( Exception e )
    {
      UISupport.showErrorMessage( e );
    }

    section.finish();

    metrics.addSection( "Definition Parts" );
    section = metrics.addSection( "Resources" );
    operationsTableModel = new ResourcesTableModel();
    JXTable table = section.addTable( operationsTableModel );
View Full Code Here

    metrics.addSection( "Definition Parts" );
    section = metrics.addSection( "Resources" );
    operationsTableModel = new ResourcesTableModel();
    JXTable table = section.addTable( operationsTableModel );
    table.getColumn( 1 ).setPreferredWidth( 60 );
    section.finish();

    return new JScrollPane( metrics );
  }

  private Component buildEndpointsTab()
View Full Code Here

    JXToolBar toolbar = buildOverviewToolbar();
    metrics.add( toolbar, BorderLayout.NORTH );

    MetricsSection section = metrics.addSection( "Project Summary" );
    section.addMetric( ModelItemIconFactory.getIcon( Project.class ), "File Path", MetricType.URL );
    section.finish();

    section = metrics.addSection( "Interface Summary" );
    buildInterfaceSummary( section );

    section = metrics.addSection( "Test Summary" );
View Full Code Here

    section.addMetric( ModelItemIconFactory.getIcon( TestSuite.class ), TESTSUITES_STATISTICS );
    section.addMetric( ModelItemIconFactory.getIcon( TestCase.class ), TESTCASES_STATISTICS );
    section.addMetric( ModelItemIconFactory.getIcon( TestStep.class ), TESTSTEPS_STATISTICS );
    section.addMetric( ModelItemIconFactory.getIcon( TestAssertion.class ), ASSERTIONS_STATISTICS );
    section.addMetric( ModelItemIconFactory.getIcon( LoadTest.class ), LOADTESTS_STATISTICS );
    section.finish();

    section = metrics.addSection( "Mock Summary" );
    section.addMetric( ModelItemIconFactory.getIcon( MockService.class ), MOCKSERVICES_STATISTICS );
    section.addMetric( ModelItemIconFactory.getIcon( MockOperation.class ), MOCKOPERATIONS_STATISTICS );
    section.addMetric( ModelItemIconFactory.getIcon( MockResponse.class ), MOCKRESPONSES_STATISTICS );
View Full Code Here

    section = metrics.addSection( "Mock Summary" );
    section.addMetric( ModelItemIconFactory.getIcon( MockService.class ), MOCKSERVICES_STATISTICS );
    section.addMetric( ModelItemIconFactory.getIcon( MockOperation.class ), MOCKOPERATIONS_STATISTICS );
    section.addMetric( ModelItemIconFactory.getIcon( MockResponse.class ), MOCKRESPONSES_STATISTICS );
    section.finish();
    return new JScrollPane( metrics );
  }

  protected JXToolBar buildOverviewToolbar()
  {
View Full Code Here

        JXToolBar toolbar = buildOverviewToolbar();
        metrics.add(toolbar, BorderLayout.NORTH);

        MetricsSection section = metrics.addSection("Project Summary");
        section.addMetric(ModelItemIconFactory.getIcon(Project.class), "File Path", MetricType.URL);
        section.finish();

        section = metrics.addSection("Interface Summary");
        buildInterfaceSummary(section);

        section = metrics.addSection("Test Summary");
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.