Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.TwoColumnPanel.addRow()


    private void layoutComponents() {
        TwoColumnPanel center = new TwoColumnPanel();
        Insets ins = new Insets(10, 5, 10, 5);
        center.setLeftInsets(ins);
        center.setRightInsets(ins);
        center.addRow(caption);
        center.addRow(textField, browseButton);
        BorderBuilder border = new BorderBuilder().empty(10).etched().empty(5);
        center.setBorder(border);
        center.addToParent(frame.getContentPane(), BorderLayout.CENTER);
        buttonPanel.setBorder(Empty.border(10, 10, 10, 10));
View Full Code Here


        TwoColumnPanel center = new TwoColumnPanel();
        Insets ins = new Insets(10, 5, 10, 5);
        center.setLeftInsets(ins);
        center.setRightInsets(ins);
        center.addRow(caption);
        center.addRow(textField, browseButton);
        BorderBuilder border = new BorderBuilder().empty(10).etched().empty(5);
        center.setBorder(border);
        center.addToParent(frame.getContentPane(), BorderLayout.CENTER);
        buttonPanel.setBorder(Empty.border(10, 10, 10, 10));
        frame.getContentPane().add(buttonPanel, BorderLayout.SOUTH);
View Full Code Here

        cols.setRightFill(Fill.HORIZONTAL);
        cols.setLeftAnchor(Anchor.EAST);
        cols.setRightAnchor(Anchor.WEST);
        cols.setLeftWeights(0.0, 0.0);
        cols.setRightWeights(1.0, 0.0);
        cols.addRow(getCaption(TreeStrings.get("InvalidMappings.Viewer.TargetPath")), getPathField());
        cols.setLeftAnchor(Anchor.NORTHEAST);
        cols.setRightAnchor(Anchor.NORTHWEST);
        cols.setRightWeights(1.0, 0.5);
        cols.setRightFill(Fill.BOTH);
        cols.addRow(getCaption(TreeStrings.get("InvalidMappings.Viewer.Expression")), getExpressionField());
View Full Code Here

        cols.addRow(getCaption(TreeStrings.get("InvalidMappings.Viewer.TargetPath")), getPathField());
        cols.setLeftAnchor(Anchor.NORTHEAST);
        cols.setRightAnchor(Anchor.NORTHWEST);
        cols.setRightWeights(1.0, 0.5);
        cols.setRightFill(Fill.BOTH);
        cols.addRow(getCaption(TreeStrings.get("InvalidMappings.Viewer.Expression")), getExpressionField());
        cols.addRow(getCaption(TreeStrings.get("InvalidMappings.Viewer.Error")), getErrorField());
        cols.decorate(canvas);
    }

    private static JLabel getCaption(String text) {
View Full Code Here

        cols.setLeftAnchor(Anchor.NORTHEAST);
        cols.setRightAnchor(Anchor.NORTHWEST);
        cols.setRightWeights(1.0, 0.5);
        cols.setRightFill(Fill.BOTH);
        cols.addRow(getCaption(TreeStrings.get("InvalidMappings.Viewer.Expression")), getExpressionField());
        cols.addRow(getCaption(TreeStrings.get("InvalidMappings.Viewer.Error")), getErrorField());
        cols.decorate(canvas);
    }

    private static JLabel getCaption(String text) {
        return new JLabel(text + ":");
View Full Code Here

    }

    private void layoutOperationPanel() {
        TwoColumnPanel layout = new TwoColumnPanel();
        layout.setInsets(5, 5, 5, 5);
        layout.addRow(operationCombo);
        infoViewer.layoutIn(layout);
        layout.addRow(new KongaButton(showDocumentationAction), new JLabel(" "));
        operationPanel = InvisiblePanel.newPanel(layout);
    }
View Full Code Here

    private void layoutOperationPanel() {
        TwoColumnPanel layout = new TwoColumnPanel();
        layout.setInsets(5, 5, 5, 5);
        layout.addRow(operationCombo);
        infoViewer.layoutIn(layout);
        layout.addRow(new KongaButton(showDocumentationAction), new JLabel(" "));
        operationPanel = InvisiblePanel.newPanel(layout);
    }


    private final class DocumentationAction extends AbstractAction {
View Full Code Here

    private void layoutComponents() {
        TwoColumnPanel p = new TwoColumnPanel();
        JComponent wsUrl = InputFieldFactory.getCapsule(webServiceUrlField);
        JComponent service = InputFieldFactory.getLabeledComponent(
                        serviceField, Strings.get("Page.Label.Service"));
        p.addRow(wsUrl, service);
        JComponent wsdlUrl = InputFieldFactory.getLabeledComponent(
                        wsdlUrlField, Strings.get("Page.Label.WsdlUrl"));
        JComponent port = InputFieldFactory.getLabeledComponent(
                        portField, Strings.get("Page.Label.Port"));
        p.addRow(wsdlUrl, port);
View Full Code Here

        p.addRow(wsUrl, service);
        JComponent wsdlUrl = InputFieldFactory.getLabeledComponent(
                        wsdlUrlField, Strings.get("Page.Label.WsdlUrl"));
        JComponent port = InputFieldFactory.getLabeledComponent(
                        portField, Strings.get("Page.Label.Port"));
        p.addRow(wsdlUrl, port);
        JComponent soapAction = InputFieldFactory.getCapsule(soapActionField);
        JComponent binding = InputFieldFactory.getLabeledComponent(
                        bindingField, Strings.get("Page.Label.Binding"));
        p.addRow(soapAction, binding);
        BoxBuilder row = BoxBuilder.vertical();
View Full Code Here

                        portField, Strings.get("Page.Label.Port"));
        p.addRow(wsdlUrl, port);
        JComponent soapAction = InputFieldFactory.getCapsule(soapActionField);
        JComponent binding = InputFieldFactory.getLabeledComponent(
                        bindingField, Strings.get("Page.Label.Binding"));
        p.addRow(soapAction, binding);
        BoxBuilder row = BoxBuilder.vertical();
        row.addAllWithSpace(5, TextStyles.AdminHint.makeLabel(Strings.get("Page.Label.StructureChange")), editWsdlButton);
        JComponent operation = InputFieldFactory.getLabeledComponent(
                        operationField, Strings.get("Page.Label.Operation"));
        p.addRow(row.container(), operation);
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.