Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.DialogLayoutBuilder


            layoutContentArea();
            layout.setBorder(Empty.border(0, 30, 30, 30));
        }

        private void layoutControls() {
            DialogLayoutBuilder grid = new DialogLayoutBuilder(5, 5);
            BoxBuilder row = BoxBuilder.horizontal();
            row.addAllWithSpace(10, fileNameField.getInputComponent(), createOptionsButton());
            grid.addRow(fileNameField.getLabel(), row.container());
            JComponent button = InvisiblePanel.newPanel(new KongaButton(generateXsdAction));
            grid.addRow(new JLabel(" "), button);
            layout.north(grid);
        }
View Full Code Here


        return new JLabel(targetNode.getPath());
    }

    @Override
    public void decorate(UiCanvas canvas) {
        DialogLayoutBuilder layout = new DialogLayoutBuilder(5, 10);
        TextStyle labelStyle = TextStyles.DefaultBold;
        layout.addRow(labelStyle.makeLabel("Test:"), title);
        layout.addRow(labelStyle.makeLabel("Tested item:"), item);
        if (targetNode != null) {
            layout.addRow(labelStyle.makeLabel("Target node:"), targetNode);
        }
        layout.setBorder(StyleSheet.getDefaultTitleBorder("Details:"));
        layout.decorate(canvas);
    }
View Full Code Here

        bindOkButton(dialog);
        return dialog;
    }

    private UiProvider layoutDialog() {
        DialogLayoutBuilder grid = new DialogLayoutBuilder(5, 5);
        grid.addRow(rootNameField.getLabel(), rootNameField.getInputComponent());
        JLabel tnsLabel = KongaLabel.withMnemonic("Target &namespace (optional):");
        tnsLabel.setLabelFor(targetNamespaceField);
        grid.addRow(tnsLabel, targetNamespaceField);
        grid.addRow(new JLabel(" "), includeDefaultsChoice);
        return grid;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.layout.DialogLayoutBuilder

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.