Examples of standardLayout()


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

            @Override
            public void handle(Object o) {
                dialog.dispose();
            }
        });
        dialog.standardLayout(selector, KongaDialog.OK_CANCEL);
        dialog.setOkButtonAsDefault();
        dialog.manageLocation(getClass());
        dialog.setVisible(true);
    }
View Full Code Here

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

   
    private KongaDialog createDialog() {
        KongaDialog dialog = new KongaDialog(UiUtils.getActiveWindow(), "Define Extended Attributes");
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
        layout.north("Define the extended attributes to use for " + node.getUserObject().getName()).center(ui);
        dialog.standardLayout(layout, KongaDialog.OK_CANCEL);
        dialog.manageLocation(SetExtendedAttributesAction.class);
        dialog.setOkButtonAsDefault();
        return dialog;
    }
View Full Code Here

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

    }

    private KongaDialog createDialog(BorderLayoutBuilder layout) {
        KongaDialog dialog = new KongaDialog(owner, "Operation Monitor: " + op.getName(), ModalityType.MODELESS);
        setDialogImage(dialog);
        dialog.standardLayout(layout, KongaDialog.CLOSE_ONLY);
        dialog.addWindowListener(new WindowAdapter() {

            @Override
            public void windowClosed(WindowEvent e) {
                if (impl != null) {
View Full Code Here

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

    private static KongaDialog createDialog() {
        KongaDialog dialog = new KongaDialog(UiUtils.getActiveWindow(), "I made this!");
        Icon icon = AboutIcons.MAIN_AUTHOR;
        JLabel label = new JLabel(icon);
        dialog.standardLayout(label, KongaDialog.CLOSE_ONLY);
        dialog.setResizable(false);
        dialog.setLocationRelativeTo(null);
        return dialog;
    }
View Full Code Here

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

            dialog.setVisible(true);
        }

        private KongaDialog createDialog(HtmlLogMessageDisplayer m) {
            KongaDialog dialog = new KongaDialog(getOwner(), "Log Message");
            dialog.standardLayout(m, KongaDialog.CLOSE_ONLY);
            dialog.manageLocation(OperationActivityMonitor.class);
            WindowUtils.ensureMinimumSize(dialog, 400, 300);
            dialog.setCloseButtonAsDefault();
            return dialog;
        }
View Full Code Here

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

    private static KongaDialog createDialog(JFrame owner,
                                            final ChunkNodeSelector selector,
                                            final Transformation tx,
                                            final SourceTarget st) {
        final KongaDialog dlg = new KongaDialog(owner, "Select the Chunk Node", true);
        dlg.standardLayout(selector, KongaDialog.OK_CANCEL);
        dlg.manageLocation(ChunkNodeSelectorDialog.class);
        dlg.addWindowListener(new WindowAdapter() {

            @Override
            public void windowOpened(WindowEvent e) {
View Full Code Here

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

            protected void onDialogOpened() {
                super.onDialogOpened();
                console.update();
            }
        };
        dialog.standardLayout(console, KongaDialog.CLOSE_ONLY);
        console.setWaitService(new WindowWaitService(dialog));
        dialog.setResizable(false);
        dialog.setLocationRelativeTo(null);
        dialog.setCloseButtonAsDefault();
        dialog.setVisible(true);
View Full Code Here

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

        }

        private KongaDialog createDialog(KongaTextArea text) {
            ModalityType modality = modal ? ModalityType.APPLICATION_MODAL : ModalityType.MODELESS;
            KongaDialog dlg = new KongaDialog(owner, title, modality);
            dlg.standardLayout(getEditorLayout(text), KongaDialog.OK_CANCEL);
            dlg.setOkButtonAsDefault();
            dlg.manageLocation(TextAreaInput.class);
            return dlg;
        }
    }
View Full Code Here

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

            protected void onDialogOpened() {
                controller.startSearch();
                ui.requestFocus();
            }
        };
        dialog.standardLayout(ui, KongaDialog.CLOSE_ONLY);
        dialog.manageLocation(getClass());
        return dialog;
    }

    private void installCallback(KongaDialog dialog) {
View Full Code Here

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

    }

    private KongaDialog createDialog(Component invoker) {
        UiProvider ui = layoutDialog();
        KongaDialog dialog = new KongaDialog(SwingUtilities.getWindowAncestor(invoker), "XSD Options");
        dialog.standardLayout(ui, KongaDialog.OK_CANCEL);
        dialog.setOkButtonAsDefault();
        dialog.setLocationRelativeTo(null);
        bindOkButton(dialog);
        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.