Package com.eviware.soapui.support.components

Examples of com.eviware.soapui.support.components.JXToolBar.addRelatedGap()


    toolbar.addGlue();

    runInfoLabel = new JLabel( "", SwingConstants.RIGHT );
    toolbar.addFixed( UISupport.setFixedSize( runInfoLabel, 200, 20 ) );
    toolbar.addRelatedGap();

    progressBar = new JProgressBar();
    JPanel progressBarPanel = UISupport.createProgressBarPanel( progressBar, 2, false );
    progressBarPanel.setPreferredSize( new Dimension( 60, 20 ) );
View Full Code Here


    progressBar = new JProgressBar();
    JPanel progressBarPanel = UISupport.createProgressBarPanel( progressBar, 2, false );
    progressBarPanel.setPreferredSize( new Dimension( 60, 20 ) );

    toolbar.addFixed( progressBarPanel );
    toolbar.addRelatedGap();

    toolbar.addFixed( createActionButton( new ShowOnlineHelpAction( HelpUrls.MOCKSERVICE_HELP_URL ), true ) );

    return toolbar;
  }
View Full Code Here

    JXToolBar toolbar = UISupport.createToolbar();

    toolbar.addFixed( UISupport.createToolbarButton( new AddAction() ) );
    deleteButton = UISupport.createToolbarButton( new DeleteAction() );
    toolbar.addFixed( deleteButton );
    toolbar.addRelatedGap();
    assignButton = new JButton( new AssignAction() );
    toolbar.addFixed( assignButton );

    toolbar.addGlue();
    ShowOnlineHelpAction showOnlineHelpAction = new ShowOnlineHelpAction( HelpUrls.ENDPOINTSEDITOR_HELP_URL );
View Full Code Here

        + "and <code>testRunner</code> variables</html>" );
    label.setToolTipText( label.getText() );
    label.setMaximumSize( label.getPreferredSize() );

    toolBar.add( label );
    toolBar.addRelatedGap();
    toolBar.add( UISupport.createToolbarButton( new ShowOnlineHelpAction( HelpUrls.GROOVYSTEPEDITOR_HELP_URL ) ) );

    componentEnabler.add( runButton );

    return toolBar;
View Full Code Here

    } );

    toolbar.addRelatedGap();
    toolbar.addFixed( targetField );
    JButton setTargetButton = UISupport.createToolbarButton( new SetPropertiesTargetAction() );
    toolbar.addRelatedGap();
    toolbar.add( setTargetButton );

    toolbar.add( Box.createHorizontalGlue() );
    toolbar.addSeparator();
    toolbar.add( UISupport.createToolbarButton( new ShowOnlineHelpAction( HelpUrls.PROPERTIESSTEPEDITOR_HELP_URL ) ) );
View Full Code Here

    toolbar.add( UISupport.setFixedSize( targetStepCombo, 180, 21 ) );
    toolbar.addUnrelatedGap();

    toolbar.addFixed( new JLabel( " Property: " ) );
    toolbar.addRelatedGap();

    targetPropertyCombo.setToolTipText( "The property the value will be transferred to" );
    targetPropertyCombo.setEnabled( false );
    targetPropertyCombo.addItemListener( new ItemListener()
    {
View Full Code Here

    toolbar.add( UISupport.setFixedSize( sourceStepCombo, 180, 21 ) );
    toolbar.addUnrelatedGap();

    toolbar.addFixed( new JLabel( " Property: " ) );
    toolbar.addRelatedGap();

    sourcePropertyCombo.setToolTipText( "The property the value will be transferred from" );
    sourcePropertyCombo.setEnabled( false );
    sourcePropertyCombo.addItemListener( new ItemListener()
    {
View Full Code Here

        toolbar.addGlue();

        runInfoLabel = new JLabel("", SwingConstants.RIGHT);
        runInfoLabel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 3));
        toolbar.addFixed(UISupport.setFixedSize(runInfoLabel, 205, 20));
        toolbar.addRelatedGap();

        progressBarWrapper.addToToolBar(toolbar);
        toolbar.addRelatedGap();

        toolbar.addFixed(createActionButton(new ShowOnlineHelpAction(getModelItem().getHelpUrl()), true));
View Full Code Here

        runInfoLabel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 3));
        toolbar.addFixed(UISupport.setFixedSize(runInfoLabel, 205, 20));
        toolbar.addRelatedGap();

        progressBarWrapper.addToToolBar(toolbar);
        toolbar.addRelatedGap();

        toolbar.addFixed(createActionButton(new ShowOnlineHelpAction(getModelItem().getHelpUrl()), true));

        return toolbar;
    }
View Full Code Here

            if (type.equals(JdbcRequestTestStepFactory.JDBC_TYPE)
                    || type.equals(PropertyTransfersStepFactory.TRANSFER_TYPE)
                    || type.equals("datasourceloop")
                    || type.equals(RunTestCaseStepFactory.RUNTESTCASE_TYPE)
                    || type.equals(ManualTestStepFactory.MANUAL_TEST_STEP)) {
                toolbar.addRelatedGap();
            }
        }

        p.add(toolbar, BorderLayout.NORTH);
        testStepList = new JTestStepList(getModelItem());
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.