Package com.eviware.soapui.support.components

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


    private JComponent buildToolbar() {
        exportButton = UISupport.createToolbarButton(new ExportStatisticsHistoryAction(statisticsGraph));

        JXToolBar toolbar = UISupport.createToolbar();

        toolbar.addSpace(5);
        toolbar.addLabeledFixed("Select Step:", buildSelectStepCombo());
        toolbar.addUnrelatedGap();
        toolbar.addLabeledFixed("Resolution:", buildResolutionCombo());
        toolbar.addGlue();
        toolbar.addFixed(exportButton);
View Full Code Here


        return "/addToMockService.gif";
    }

    protected Component buildToolbar() {
        JXToolBar toolbar = UISupport.createToolbar();
        toolbar.addSpace(3);

        toolbar.addFixed(UISupport.createToolbarButton(SwingActionDelegate.createDelegate(
                NewMockResponseAction.SOAPUI_ACTION_ID, getModelItem(), null, "/addToMockService.gif")));
        toolbar.addFixed(UISupport.createToolbarButton(SwingActionDelegate.createDelegate(
                OpenRequestForMockOperationAction.SOAPUI_ACTION_ID, getModelItem(), null, "/open_request.gif")));
View Full Code Here

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

            toolBar.addFixed(label);
            toolBar.addSpace(3);

            return toolBar;
        }

        private final class OkAction extends AbstractAction {
View Full Code Here

    }

    protected JXToolBar createTargetToolbar() {
        JXToolBar toolbar;
        toolbar = UISupport.createToolbar();
        toolbar.addSpace(3);
        toolbar.addFixed(new JLabel("<html><b>Target: </b></html>"));
        toolbar.addUnrelatedGap();

        targetStepCombo.setSelectedItem(null);
        targetStepCombo.setToolTipText("The step the value will be transferred to");
View Full Code Here

        toolbar.addGlue();
    }

    protected JXToolBar createSourceToolbar() {
        JXToolBar toolbar = UISupport.createToolbar();
        toolbar.addSpace(3);
        toolbar.addFixed(new JLabel("<html><b>Source: </b></html>"));
        toolbar.addUnrelatedGap();

        sourcePropertyCombo = UISupport.addTooltipListener(new JComboBox(), "Source Property");
        sourceStepModel = new DefaultComboBoxModel();
View Full Code Here

        serverIPAddressesLabel.setForeground(Color.GRAY);

        toolbar.addFixed(UISupport.createToolbarButton(sendTestCaseAction));
        toolbar.addRelatedGap();
        toolbar.addFixed(locationsComboBox);
        toolbar.addSpace(10);
        toolbar.addFixed(serverIPAddressesLabel);
        toolbar.addGlue();
        toolbar.addFixed(UISupport.createToolbarButton(new ShowOnlineHelpAction(HelpUrls.ALERT_SITE_HELP_URL)));

        return toolbar;
View Full Code Here

        return true;
    }

    protected JXToolBar buildGroovyEditorToolbar(DispatchScriptGroovyEditorModel editorModel) {
        JXToolBar toolbar = UISupport.createToolbar();
        toolbar.addSpace(3);
        toolbar.addFixed(UISupport.createToolbarButton(editorModel.getRunAction()));
        toolbar.addGlue();

        JLabel label = new JLabel("<html>Script is invoked with <code>log</code>, <code>context</code>, "
                + "<code>requestContext</code>, <code>mockRequest</code> and <code>mockOperation</code> variables</html>");
View Full Code Here

        return true;
    }

    protected JXToolBar buildXPathEditorToolbar(DispatchXPathGroovyEditorModel editorModel) {
        JXToolBar toolbar = UISupport.createToolbar();
        toolbar.addSpace(3);
        addToolbarActions(editorModel, toolbar);
        toolbar.addGlue();
        toolbar.addFixed(ModelItemDesktopPanel.createActionButton(new ShowOnlineHelpAction(
                HelpUrls.MOCKOPERATION_XPATHDISPATCH_HELP_URL), true));
        return toolbar;
View Full Code Here

    }

    public static JXToolBar createToolbar() {
        JXToolBar toolbar = new JXToolBar();
        toolbar.setFloatable(false);
        toolbar.addSpace(1);
        toolbar.setRollover(true);
        toolbar.putClientProperty(Options.HEADER_STYLE_KEY, HeaderStyle.SINGLE);
        toolbar.setBorder(BorderFactory.createEmptyBorder(3, 0, 3, 0));
        toolbar.setMinimumSize(new Dimension(20, 20));
        return toolbar;
View Full Code Here

    }

    public static JXToolBar createSmallToolbar() {
        JXToolBar toolbar = new JXToolBar();
        toolbar.setFloatable(false);
        toolbar.addSpace(1);
        toolbar.setRollover(true);
        toolbar.putClientProperty(Options.HEADER_STYLE_KEY, HeaderStyle.SINGLE);
        toolbar.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));
        toolbar.setMinimumSize(new Dimension(20, 20));
        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.