Package org.jitterbit.ui

Examples of org.jitterbit.ui.UiProvider


    }

    @Override
    public JPanel getUi() {
        JLabel caption = TextStyles.DefaultBold.makeLabel(Strings.get("Ftp.SSL"));
        UiProvider ui = buttons.getUi(caption, RadioButtonGroupPanel.Layout.ONE_COLUMN);
        return InvisiblePanel.newPanel(ui);
    }
View Full Code Here


    }
   
    private void doLayout() {
        DataLocationPanelLayout layout = new DataLocationPanelLayout();
        layout.add(pathField);
        UiProvider ui = fileLocationPanel.layoutComponents(layout);
        wrap(ui);
    }
View Full Code Here

    }

    @Override
    public JPanel getUi() {
        JLabel caption = TextStyles.DefaultBold.makeLabel(Strings.get("Ftp.Auth"));
        UiProvider ui = buttons.getUi(caption, RadioButtonGroupPanel.Layout.ONE_COLUMN);
        return InvisiblePanel.newPanel(ui);
    }
View Full Code Here

        }
        return askUser(conflicts);
    }
   
    private boolean askUser(List<ServerFile> conflicts) {
        UiProvider message = createMessage(conflicts);
        Answer a = Ask.continueOrCancel(owner, message, "Overwrite files", Option.CANCEL, Type.WARNING);
        return a.isContinue();
    }
View Full Code Here

        sslActivator = createSslActivator(parent, secureActivator);
    }

    @Override
    public void layout(LayoutContainer container) {
        UiProvider col = getLayout();
        container.add(col);
    }
View Full Code Here

        return EditorService.class.getName();
    }

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

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

        public JComponent getUi() {
            return layout.container();
        }

        private void doLayout() {
            UiProvider west = BoxBuilder.horizontal().addAllWithSpace(5, Strings.get("Deploy.History.View.SubTitle"), entityLabel);
            JComponent toolbar = createToolBar();
            layout.west(west).center(Box.createGlue()).east(toolbar);
        }
View Full Code Here

            tree = factory.newTree(contributors);
            tree.setShowsRootHandles(true);
        }

        public static boolean isOk(JFrame owner, List<IntegrationEntity> contributors) {
            UiProvider ui = new Prompter(contributors);
            // TODO: Get parent frame from ApplicationWindow
            KongaDialog dlg = UiProviderDialogDisplayer.createDialog(
                            owner,
                            ui,
                            "Are you sure?",
View Full Code Here

    }

    private void viewListeners(IntegrationEntity entity) {
        JComponent caption = createCaption(entity);
        ListenerReportTree tree = new ListenerReportTree(entity);
        UiProvider ui = new BorderLayoutBuilder(0, 3).north(caption).center(tree);
        UiProviderDialogDisplayer.display(appWin.getFrame(), ui, "Attached Listeners");
    }
View Full Code Here

        modelBindings.dispose();
    }

    @Override
    public void decorate(UiCanvas canvas) {
        UiProvider layout = getTreeLayout();
        layout.decorate(canvas);
    }
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.