Package com.eviware.soapui.support.components

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


  {
    if( sensitiveInfoTableForm == null )
    {
      sensitiveInfoTableForm = new JPanel( new BorderLayout() );

      JXToolBar toolbar = UISupport.createToolbar();

      toolbar.add( UISupport.createToolbarButton( new AddTokenAction() ) );
      toolbar.add( UISupport.createToolbarButton( new RemoveTokenAction() ) );

      tokenTable = new JXTable( sensitivInformationTableModel );
      tokenTable.setPreferredSize( new Dimension( 200, 100 ) );
      sensitiveInfoTableForm.add( toolbar, BorderLayout.NORTH );
      sensitiveInfoTableForm.add( new JScrollPane( tokenTable ), BorderLayout.CENTER );
View Full Code Here


    add( buildToolbar(), BorderLayout.NORTH );
  }

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

    addToolbarButtons( toolbar );

    return toolbar;
  }
View Full Code Here

        desktop.init();
    }

    private JComponent buildToolbar() {
        mainToolbar = new JXToolBar();
        mainToolbar.setFloatable(false);
        mainToolbar.setRollover(true);
        mainToolbar.putClientProperty(Options.HEADER_STYLE_KEY, HeaderStyle.BOTH);
        mainToolbar.add(new NewWsdlProjectActionDelegate());
        mainToolbar.add(new ImportWsdlProjectActionDelegate());
View Full Code Here

    protected void buildUI() {
        representationTable = new RestRepresentationsTable(restMethod,
                types.toArray(new RestRepresentation.Type[]{}), true) {
            protected JXToolBar buildToolbar() {
                JXToolBar toolbar = super.buildToolbar();
                addToToolbar(toolbar);
                return toolbar;
            }
        };
    }
View Full Code Here

    }

    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);
        toolbar.addFixed(UISupport.createToolbarButton(new ShowOnlineHelpAction(HelpUrls.STATISTICSGRAPH_HELP_URL)));

        return toolbar;
    }
View Full Code Here

    private JComponent buildToolbar() {
        configureAssertionAction = new ConfigureAssertionAction();
        removeAssertionAction = new RemoveAssertionAction();
        addLoadTestAssertionAction = new AddLoadTestAssertionAction();

        JXToolBar toolbar = UISupport.createSmallToolbar();

        JButton button = UISupport.createToolbarButton(addLoadTestAssertionAction);
        toolbar.addFixed(button);
        button = UISupport.createToolbarButton(removeAssertionAction);
        toolbar.addFixed(button);
        button = UISupport.createToolbarButton(configureAssertionAction);
        toolbar.addFixed(button);
        toolbar.addGlue();
        toolbar.add(new ShowOnlineHelpAction(HelpUrls.LOADTEST_ASSERTIONS_URL));

        return toolbar;
    }
View Full Code Here

        this.project = project;

        JPanel p = (JPanel) getComponent();
        JTabbedPane tabs = new JTabbedPane();

        JXToolBar toolbar = UISupport.createToolbar();
        soapMonitor = new SoapMonitor(project, sourcePort, incomingRequestWss, incomingResponseWss, toolbar, setAsProxy,
                sslEndpoint);

        tabs.add(soapMonitor, "Traffic Log");

        toolbar.add(UISupport.createToolbarButton(new ShowOnlineHelpAction(HelpUrls.SOAPMONITOR_MONITOR)));

        p.add(toolbar, BorderLayout.NORTH);
        p.add(UISupport.createTabPanel(tabs, true), BorderLayout.CENTER);

        p.setPreferredSize(new Dimension(700, 600));
View Full Code Here

    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

        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

    protected String getAddToMockOperationIconPath() {
        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")));
        toolbar.addUnrelatedGap();

        ModelItemNames<WsdlInterface> names = new ModelItemNames<WsdlInterface>(ModelSupport.getChildren(getModelItem()
                .getMockService().getProject(), WsdlInterface.class));

        interfaceCombo = new JComboBox(names.getNames());
        interfaceCombo.setSelectedIndex(-1);
        interfaceCombo.addItemListener(new InterfaceComboListener());

        toolbar.addLabeledFixed("Interface", interfaceCombo);
        toolbar.addUnrelatedGap();
        operationCombo = new JComboBox(new ExtendedComboBoxModel());
        operationCombo.setPreferredSize(new Dimension(150, 20));
        operationCombo.addItemListener(new OperationComboListener());

        toolbar.addLabeledFixed("Operation", operationCombo);

        WsdlOperation operation = getModelItem().getOperation();
        interfaceCombo.setSelectedItem(operation == null ? null : operation.getInterface().getName());
        operationCombo.setSelectedItem(operation == null ? null : operation.getName());

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

        return toolbar;
    }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.support.components.JXToolBar

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.