Examples of standardLayout()


Examples of org.jitterbit.ui.dialog.KongaDialog.standardLayout()

    private KongaDialog createDialog(IntegrationEntityTree tree) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 2);
        layout.north("The following items will be deployed:").center(tree);
        KongaDialog dialog = new KongaDialog(UiUtils.getActiveFrame(), "Items To Deploy", true);
        dialog.standardLayout(layout, KongaDialog.CLOSE_ONLY);
        dialog.setLocationRelativeTo(null);
        dialog.manageLocation(DeployDataPreview.class);
        return dialog;
    }
View Full Code Here

Examples of org.jitterbit.ui.dialog.KongaDialog.standardLayout()

    }

    private static KongaDialog createDialog(KongaPasswordField field, UiProvider ui) {
        final KongaDialog dialog = new KongaDialog(ApplicationUi.getAppWinFrame(), "Password?", true);
        dialog.setFixedButtonSize(false);
        dialog.standardLayout(ui, KongaDialog.CONTINUE_CANCEL);
        dialog.getCancelButton().setText("I'll provide the password later");
        field.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
View Full Code Here

Examples of org.jitterbit.ui.dialog.KongaDialog.standardLayout()

                        AuxiliaryClassSelectorCallback callback) {
            String title = "Select Auxiliary Classes for \"" + destinationClass + "\"";
            AuxiliaryClassSelectionTree tree = new AuxiliaryClassSelectionTree(structs, disableReadOnlyAttrs, title);
            tree.setSelectedClasses(preSelected);
            KongaDialog dialog = new KongaDialog(UiUtils.getActiveWindow(), title);
            dialog.standardLayout(tree, KongaDialog.OK_CANCEL);
            dialog.manageLocation(AuxiliaryClassSelector.class);
            dialog.setVisible(true);
            if (dialog.wasOkPressed()) {
                List<ObjectClassStructure> selected = tree.getSelectedStructures();
                callback.completed(selected.toArray(new ObjectClassStructure[selected.size()]));
View Full Code Here

Examples of org.jitterbit.ui.dialog.KongaDialog.standardLayout()

    }


    private KongaDialog createDialog(UiProvider ui) {
        KongaDialog dialog = new KongaDialog(UiUtils.getActiveWindow(), "File name conflict");
        dialog.standardLayout(ui, KongaDialog.CONTINUE_CANCEL);
        dialog.setContinueButtonAsDefault();
        dialog.setFocusedComponent(ui);
        Binding binding = new ComponentEnabledBinding(model, XsdGeneratorModel.VALID_SETTINGS, dialog.getContinueButton());
        binding.syncUi();
        return dialog;
View Full Code Here

Examples of org.jitterbit.ui.dialog.KongaDialog.standardLayout()

   
    private PasswordAuthentication askForCredentials(String caption) {
        Ui ui = new Ui(caption);
        KongaDialog dialog = new KongaDialog(UiUtils.getActiveWindow(), "Authentication Required");
        dialog.standardLayout(ui, KongaDialog.OK_CANCEL);
        ui.addActionListener(dialog.getOkActionListener());
        dialog.setLocationRelativeTo(null);
        dialog.setResizable(false);
        dialog.setOkButtonAsDefault();
        dialog.setVisible(true);
View Full Code Here

Examples of org.jitterbit.ui.dialog.KongaDialog.standardLayout()

            protected void onDialogOpened() {
                super.onDialogOpened();
                animationStarter.schedule();
            }
        };
        dialog.standardLayout(doLayout(), KongaDialog.CLOSE_ONLY);
        dialog.setResizable(false);
        dialog.setLocationRelativeTo(null);
        return dialog;
    }
   
View Full Code Here

Examples of org.jitterbit.ui.dialog.KongaDialog.standardLayout()

            @Override
            protected void onDialogOpened() {
                selector.requestFocus();
            }
        };
        dialog.standardLayout(content, KongaDialog.OK_CANCEL);
        return dialog;
    }

}
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.