Examples of JXToolBar


Examples of com.eviware.soapui.support.components.JXToolBar

    return toolbar;
  }

  private Component buildMainToolbar()
  {
    JXToolBar toolbar = UISupport.createSmallToolbar();
    // toolbar.addFixed( UISupport.createToolbarButton( new
    // ImportWssSettingsAction() ));
    toolbar.addGlue();
    toolbar.addFixed( UISupport.createToolbarButton( new ShowOnlineHelpAction( HelpUrls.WSS_HELP_URL ) ) );
    return toolbar;
  }
View Full Code Here

Examples of com.eviware.soapui.support.components.JXToolBar

    }
  }

  protected JComponent buildToolbar()
  {
    JXToolBar toolbar = UISupport.createToolbar();

    toolbar.setBorder( BorderFactory.createEmptyBorder( 2, 2, 2, 2 ) );

    toolbar.addFixed( submitButton );
    toolbar.add( cancelButton );
    toolbar.addFixed( addAssertionButton );

    toolbar.add( Box.createHorizontalGlue() );
    toolbar.add( tabsButton );
    toolbar.add( splitButton );
    toolbar.addFixed( UISupport.createToolbarButton( new ShowOnlineHelpAction( HelpUrls.JDBCSTEPEDITOR_HELP_URL ) ) );
    return toolbar;

  }
View Full Code Here

Examples of com.eviware.soapui.support.components.JXToolBar

    out.write( rawResponse );
  }

  private Component buildToolbar()
  {
    JXToolBar toolbar = UISupport.createToolbar();

    return toolbar;
  }
View Full Code Here

Examples of com.eviware.soapui.support.components.JXToolBar

    return toolbar;
  }

  private Component buildConditionToolbar()
  {
    JXToolBar toolbar = UISupport.createSmallToolbar();

    declareButton = UISupport.createToolbarButton( new DeclareNamespacesAction() );
    declareButton.setEnabled( false );
    toolbar.addFixed( declareButton );
    runButton = UISupport.createToolbarButton( new RunAction() );
    toolbar.addFixed( runButton );

    toolbar.addGlue();
    toolbar.addFixed( UISupport.createToolbarButton( new ShowOnlineHelpAction( HelpUrls.GOTOSTEPEDITOR_HELP_URL ) ) );
    return toolbar;
  }
View Full Code Here

Examples of com.eviware.soapui.support.components.JXToolBar

    return toolbar;
  }

  protected JXToolBar buildTargetToolbar()
  {
    JXToolBar builder = UISupport.createSmallToolbar();
    testStepsModel = new GotoTestStepsComboBoxModel( gotoStep.getTestCase(), null );
    testStepsCombo = new JComboBox( testStepsModel );
    testStepsCombo.setToolTipText( "The step the test case will go to if the current condition is true" );
    testStepsCombo.setEnabled( false );
    UISupport.setFixedSize( testStepsCombo, 280, 20 );
    builder.addFixed( new JLabel( "<html><b>Target step:</b></html>" ) );
    builder.addRelatedGap();
    builder.addFixed( testStepsCombo );
    builder.addGlue();
    testConditionButton = new JButton( new TestConditionAction() );
    testConditionButton.setEnabled( false );
    builder.addFixed( testConditionButton );
    builder.setBorder( BorderFactory.createEmptyBorder( 3, 3, 3, 3 ) );
    return builder;
  }
View Full Code Here

Examples of com.eviware.soapui.support.components.JXToolBar

  private JComponent buildToolbar()
  {
    cancelAction.setEnabled( false );
    runAction.setEnabled( project.getTestSuiteCount() > 0 );

    JXToolBar toolbar = UISupport.createToolbar();

    addToolbarActions( toolbar );
    toolbar.addGlue();
    toolbar.add( UISupport.createToolbarButton( new ShowOnlineHelpAction( HelpUrls.TESTSUITE_HELP_URL ) ) );

    progressBar = new JProgressBar( 0, project.getTestSuiteCount() );
    JPanel progressPanel = UISupport.createProgressBarPanel( progressBar, 10, false );

    JPanel panel = new JPanel( new BorderLayout() );
View Full Code Here

Examples of com.eviware.soapui.support.components.JXToolBar

    return p;
  }

  private Component buildTestCaseListToolbar()
  {
    JXToolBar toolbar = UISupport.createToolbar();
    toolbar.add( UISupport.createToolbarButton( SwingActionDelegate.createDelegate(
        AddNewTestSuiteAction.SOAPUI_ACTION_ID, project, null, "/testSuite.gif" ) ) );
    toolbar.addGlue();
    toolbar.add( UISupport.createToolbarButton( new ShowOnlineHelpAction( HelpUrls.TESTSUITELIST_HELP_URL ) ) );
    return toolbar;
  }
View Full Code Here

Examples of com.eviware.soapui.support.components.JXToolBar

  protected JComponent buildToolbar()
  {
    WsdlLoadTest loadTest = getModelItem();

    JXToolBar toolbar = UISupport.createToolbar();

    // ButtonBarBuilder builder = new ButtonBarBuilder();
    runButton = UISupport.createToolbarButton( new RunLoadTestAction() );
    cancelButton = UISupport.createToolbarButton( new CancelRunTestCaseAction(), false );
    resetButton = UISupport.createToolbarButton( new ResetAction() );
    exportButton = UISupport.createToolbarButton( new ExportStatisticsAction( loadTest.getStatisticsModel() ) );

    statisticsGraphButton = UISupport.createToolbarButton( new ShowStatisticsGraphAction() );
    testTimesGraphButton = UISupport.createToolbarButton( new ShowTestTimesGraphAction() );

    statisticsGraphButton.setEnabled( getModelItem().getHistoryLimit() != 0 );
    testTimesGraphButton.setEnabled( getModelItem().getHistoryLimit() != 0 );

    AbstractAction optionsDelegate = SwingActionDelegate.createDelegate( LoadTestOptionsAction.SOAPUI_ACTION_ID,
        loadTest );
    optionsDelegate.putValue( Action.SMALL_ICON, UISupport.createImageIcon( "/options.gif" ) );
    optionsButton = UISupport.createToolbarButton( optionsDelegate );
    convertToLoadUIButton = UISupport.createToolbarButton( SwingActionDelegate.createDelegate(
        ConvertToLoadUIAction.SOAPUI_ACTION_ID, getModelItem(), null, "/convertLoadTestToLoadUI.png" ) );

    strategyCombo = new JComboBox( LoadStrategyRegistry.getInstance().getStrategies() );
    strategyCombo.setToolTipText( "Selects which LoadTest Strategy to use" );
    UISupport.setPreferredHeight( strategyCombo, 18 );
    strategyCombo.setSelectedItem( loadTest.getLoadStrategy().getType() );
    strategyCombo.addItemListener( new ItemListener()
    {
      public void itemStateChanged( ItemEvent e )
      {
        Object item = e.getItem();
        if( item == null )
          return;

        setLoadStrategy( item.toString() );
      }
    } );

    toolbar.add( runButton );
    toolbar.add( cancelButton );
    toolbar.add( statisticsGraphButton );
    toolbar.add( testTimesGraphButton );
    toolbar.add( resetButton );
    toolbar.add( exportButton );

    toolbar.add( optionsButton );
    toolbar.add( convertToLoadUIButton );
    toolbar.add( UISupport.createToolbarButton( new ShowOnlineHelpAction( HelpUrls.LOADTESTEDITOR_HELP_URL ) ) );
    toolbar.add( Box.createHorizontalGlue() );
    buildLimitBar( toolbar );
    toolbar.addSeparator();

    progressBar = new JProgressBar( 0, 100 );
    progressBar.setPreferredSize( new Dimension( 70, 20 ) );

    toolbar.addFixed( progressBar );

    ButtonBarBuilder builder = new ButtonBarBuilder();

    builder.addFixed( new JLabel( "Threads:" ) );
    builder.addRelatedGap();
View Full Code Here

Examples of com.eviware.soapui.support.components.JXToolBar

  }

  protected JComponent buildTestStepList()
  {
    JPanel p = new JPanel( new BorderLayout() );
    JXToolBar toolbar = UISupport.createToolbar();

    WsdlTestStepFactory[] factories = WsdlTestStepRegistry.getInstance().getFactories();
    for( WsdlTestStepFactory factory : factories )
    {
      toolbar.addFixed( UISupport.createToolbarButton( new AddWsdlTestStepAction( factory ) ) );
    }

    p.add( toolbar, BorderLayout.NORTH );
    testStepList = new JTestStepList( getModelItem() );
    stateDependantComponents.add( testStepList );
View Full Code Here

Examples of com.eviware.soapui.support.components.JXToolBar

  private JComponent buildToolbar()
  {
    exportButton = UISupport.createToolbarButton( new ExportSamplesHistoryAction( historyGraph ) );

    JXToolBar toolbar = UISupport.createToolbar();

    toolbar.addSpace( 5 );
    toolbar.addLabeledFixed( "Select Statistic:", buildSelectStatisticCombo() );
    toolbar.addUnrelatedGap();
    toolbar.addLabeledFixed( "Resolution:", buildResolutionCombo() );
    toolbar.addGlue();
    toolbar.addFixed( exportButton );
    toolbar.addFixed( UISupport.createToolbarButton( new ShowOnlineHelpAction( HelpUrls.STATISTICSGRAPH_HELP_URL ) ) );

    return toolbar;
  }
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.