Package org.jitterbit.ui

Examples of org.jitterbit.ui.UiProvider


*/
public final class AboutDialogUiTest implements Runnable {

    @Override
    public void run() {
        UiProvider ui = new AboutDialogUi();
        QuickFrame.show(ui, "AboutDialogUi Test");
    }
View Full Code Here


        protected abstract void addAdditionalTopControls(DataLocationPanelLayout top);

        protected abstract UiProvider getOptionalControls();

        protected final JComponent layoutOptionalFields() {
            UiProvider optional = getOptionalControls();
            JComponent ui = new BorderLayoutBuilder().north(optional).container();
            ui.setBorder(Empty.border(0, 15, 0, 0));
            InterchangeViewUtils.configurePropertyFields(ui);
            DropDownPanel dropDown = new DropDownPanel(ui, "&Options", false);
            return dropDown.getDisplayer();
View Full Code Here

    public static void main(String[] args) {
        new JndiContextTableTest().run();
    }

    public void run() {
        UiProvider ui = createTable();
        QuickFrame.show(ui, "JNDI Context Table");
    }
View Full Code Here

    }

    private void createAndAddResultArea(OneColumnPanel parent) {
        parent.setInsets(3, 5, 5, 5);
        parent.setFillOut();
        UiProvider display = EntityValidationResultDisplayerFactory.newTreeDisplayer(resultToDisplay);
        parent.add(display);
    }
View Full Code Here

                }
            });
        }

        private void displayDetails(InvalidMapping mapping) {
            UiProvider viewer = new InvalidMappingDetailsViewer(mapping);
            UiProviderDialogDisplayer.display(new ComponentDialogTrigger(table.getAdaptee()), viewer,
                            TreeStrings.get("InvalidMappings.ViewDetails.Title"), KongaDialog.CLOSE_ONLY,
                            InvalidMappingDetailsViewer.class);
        }
View Full Code Here

        return appWin;
    }

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

        label.setText("Design");
        label.setToolTip("The design view is where you work with your integration projects");
    }

    public UiProvider getUi() {
        return new UiProvider() {

            @Override
            public void decorate(UiCanvas canvas) {
                if (launchScreen == null) {
                    launchScreen = new LaunchScreen(launchOptions);
View Full Code Here

*
*/
public final class DeployWarningsDialog {

    public static void display(DeployWarnings result, IntegrationEntityLookup objectLookup) {
        UiProvider ui = new DeployWarningsPresenter(result, objectLookup);
        KongaDialog dlg = createDialog(ui);
        dlg.setVisible(true);
    }
View Full Code Here

        }

        @Override
        public void requestFocus() {
            int selected = pane.getSelectedIndex();
            UiProvider ui = tabs.get(pane.getTitleAt(selected));
            if (ui != null) {
                ui.requestFocus();
            }
        }
View Full Code Here

        buttons.setSelectedValue(type);
    }

    private void layoutUi() {
        JLabel label = TextStyles.SmallBoldCaption.makeLabel(Strings.get("Ftp.TransferType"));
        UiProvider ui = buttons.getUi(label, RadioButtonGroupPanel.Layout.ONE_COLUMN);
        wrap(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.