Package org.jitterbit.ui

Examples of org.jitterbit.ui.UiProvider


        return checkBox.isSelected() ? password : null;
    }

    @Override
    public void decorate(UiCanvas canvas) {
        UiProvider ui = createUi();
        ui.decorate(canvas);
    }
View Full Code Here


        private UiProvider createLayout(Operation from, IntegrationEntity to) {
            JLabel caption = WizardStyleSheet.SMALL_SECTION_STYLE.makeLabel(
                            Strings.get("RouteTypeSelector.SelectType"));
            caption.setBorder(Empty.border(0, 0, 5, 0));
            UiProvider buttonUi = buttons.getUi(caption, RadioButtonGroupPanel.Layout.TWO_ROWS);
            BoxBuilder col = BoxBuilder.vertical().leftAligned();
            col.addAllWithSpace(32, createCaption(from, to), buttonUi);
            return col;
        }
View Full Code Here

        cols.setFill(OneColumnPanel.BOTH);
        cols.setWeightX(1.0);
        cols.setWeightY(1.0 / tables.size());
        cols.setInsets(2, 0, 10, 0);
        for (WhereClauseTable t : tables) {
            UiProvider tableUi = t.getUi();
            DropDownPanel ddp = new DropDownPanel(BorderLayoutBuilder.fillWith(tableUi), t.getDbObject().getName(), true);
            ddp.setOpaque(false);
            cols.add(ddp.getDisplayer());
        }
        cols.setOpaque(false, false);
View Full Code Here

        }
    }
   
    @Override
    public void decorate(UiCanvas canvas) {
        UiProvider ui = selector.getUi(null, RadioButtonGroupPanel.Layout.ONE_ROW);
        JComponent wrapper = InvisiblePanel.newPanel(ui);
        wrapper.setBorder(StyleSheet.getLineTitleBorder(PackageResources.SearchParamsDefiner.SCOPE_TITLE));
        canvas.display(wrapper);
    }
View Full Code Here

        this.title = title;
    }

    public UiProvider getUi() {
        final JComponent ui = createUi();
        return new UiProvider() {

            @Override
            public void decorate(UiCanvas canvas) {
                canvas.display(ui);
            }
View Full Code Here

        };
        UiUtils.runOnEventThread(job);
    }

    private JComponent layoutComponents() {
        UiProvider ui;
        if (ToolbarMode.getConfiguredMode() == ToolbarMode.MINIMAL) {
            TwoColumnPanel grid = new TwoColumnPanel();
            grid.setInsets(2, 2, 2, 2);
            grid.addRow(serverCaption, serverLabel).addRow(userCaption, userLabel);
            grid.setOpaque(false, false);
View Full Code Here

        layout.north(layoutTop()).center(browser);
        layout.decorate(canvas);
    }

    private UiProvider layoutTop() {
        UiProvider titlePanel = createTitlePanel();
        if (isTabBased()) {
            return titlePanel;
        } else {
            OneColumnPanel col = new OneColumnPanel();
            col.setWeightX(1.0);
View Full Code Here

            setupUi();
        }

        private void createContentPane() {
            JComponent exportPanel = createExportUiPanel();
            UiProvider buttons = createButtonPanel();
            getDefaultLayout().center(exportPanel).south(buttons);
        }
View Full Code Here

        typeEditor.setComboBoxRenderer(new TypeListRenderer());
        table.setDefaultEditor(MessagePropertyType.class, typeEditor);
    }

    private UiProvider createDisplayer() {
        UiProvider displayer = null;
        if (addAndRemovePropertiesEnabled) {
            OneColumnPanel cols = new OneColumnPanel();
            cols.setInsets(0, 0, 10, 0);
            cols.setFillOut();
            cols.add(table);
View Full Code Here

        });
        return list;
    }

    private void layoutComponents() {
        UiProvider uiProvider = createUi();
        JComponent ui = BorderLayoutBuilder.fillWith(uiProvider);
        registerKeyBindings(ui);
        setDisplayer(ui);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.UiProvider

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.