Examples of KongaDialog


Examples of org.jitterbit.ui.dialog.KongaDialog

        this.dialog = dialog;
        dialog.setVisible(true);
    }

    private KongaDialog createDialog() {
        KongaDialog dialog = new KongaDialog(null, content.getTitle(), false);
        BorderLayoutBuilder layout = createDialogLayout();
        layout.asContentPaneFor(dialog);
        dialog.setLocationRelativeTo(null);
        dialog.manageLocation(getClass());
        ActionKeyBinding.install(attachAction, dialog.getRootPane(), JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
        dialog.pack();
        return dialog;
    }

Examples of org.jitterbit.ui.dialog.KongaDialog

                useBackupDisplayer();
            }
        }

        private void tryDefaultDisplayer() throws Exception {
            KongaDialog dlg = createDialog();
            try {
                displayLock.acquire();
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
                e.printStackTrace();

Examples of org.jitterbit.ui.dialog.KongaDialog

    private final class DialogEditor implements Editor {

        private final KongaDialog dialog;

        public DialogEditor() {
            dialog = new KongaDialog(UiUtils.getActiveWindow(), title);
            BorderLayoutBuilder cp = doLayout();
            dialog.standardLayout(cp, KongaDialog.OK_CANCEL);
            dialog.setResizable(false);
            dialog.setOkButtonAsDefault();
            dialog.enableUndoRedoForTextComponents(UndoRedoControllers.textFactory());

Examples of org.jitterbit.ui.dialog.KongaDialog

        });
    }

    private void openDialog() {
        final TempFolderConsole console = new TempFolderConsole();
        KongaDialog dialog = new KongaDialog(UiUtils.getActiveWindow(), "Temp Folder Console") {

            @Override
            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);
    }

Examples of org.jitterbit.ui.dialog.KongaDialog

            }
        }

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

Examples of org.jitterbit.ui.dialog.KongaDialog

        private final JLabel messageLabel;
       
        private final JTextField field;

        public Prompt(Window owner, int lineCount) {
            this.dlg = new KongaDialog(owner, "Go to Line");
            this.lineCount = lineCount;
            this.messageLabel = new JLabel(" ");
            this.field = new KongaTextField();
        }

Examples of org.jitterbit.ui.dialog.KongaDialog

        }
        dialog.setVisible(true);
    }

    private KongaDialog createDialog(Window owner) {
        KongaDialog w = instantiateDialog(owner);
        w.addWindowListener(new WindowCloseHandler());
        return w;
    }

Examples of org.jitterbit.ui.dialog.KongaDialog

        w.addWindowListener(new WindowCloseHandler());
        return w;
    }

    private KongaDialog instantiateDialog(Window owner) {
        KongaDialog dialog = new KongaDialog(owner, "", ModalityType.MODELESS);
        dialog.setUndecorated(true);
        dialog.setFocusable(false);
        dialog.setCancelOnEscape(true);
        return dialog;
    }

Examples of org.jitterbit.ui.dialog.KongaDialog

        final DescriptorDialog dd = new DescriptorDialog(window, file, descriptor);
        EventQueue.invokeLater(new Runnable() {

            @Override
            public void run() {
                KongaDialog dlg = dd.createDialog();
                dlg.setVisible(true);
            }
        });
    }

Examples of org.jitterbit.ui.dialog.KongaDialog

        text.setLabel(Strings.get("DescriptorDialog.Comment"));
        return text.asUiProvider();
    }

    private KongaDialog createDialog(JFrame owner, OneColumnPanel ui) {
        KongaDialog dlg = new KongaDialog(owner, Strings.getJitterPackString("DescriptorDialog.Title"), true);
        createContentPane(dlg, ui);
        dlg.manageLocation();
        return dlg;
    }
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.