Examples of InputPanelDialog


Examples of org.jitterbit.ui.input.InputPanelDialog

        decorator.useOkAndCancel();
        return decorator;
    }

    private void presentInDialog(HttpPropertiesPanel panel) {
        InputPanelDialog dlg = new InputPanelDialog(UiUtils.getActiveWindow(), panel, getTitle()) {

            @Override
            protected boolean useScroll() {
                return false;
            }
        };
        dlg.pack();
        dlg.setOkButtonAsDefault();
        dlg.setResizable(false);
        dlg.manageLocation();
        dlg.setVisible(true);
        if (dlg.wasOkPressed()) {
            updateProperties(panel);
        }
    }
View Full Code Here

Examples of org.jitterbit.ui.input.InputPanelDialog

                applyNewName(panel.getNewName());
            }
        }

        private KongaDialog createDialog(final NodeRenamerPanel panel) {
            KongaDialog dlg = new InputPanelDialog(node.getTreeMapper().getOwner(), panel, "Rename Node") {

                @Override
                protected void onDialogOpened() {
                    super.onDialogOpened();
                    panel.requestFocus();
View Full Code Here

Examples of org.jitterbit.ui.input.InputPanelDialog

    private class EditorDialogUi implements EditorUi {

        @Override
        public void open(FileFilterOptionsPanel panel) {
            String title = Strings.get("FileFilterOptions.Title");
            InputPanelDialog dialog = new InputPanelDialog(UiUtils.getActiveWindow(), panel, title) {

                @Override
                protected boolean useScroll() {
                    return false;
                }
            };
            dialog.pack();
            dialog.manageLocation(FileFilterOptionsEditor.class);
            dialog.setOkButtonAsDefault();
            dialog.setVisible(true);
            if (dialog.wasOkPressed()) {
                updateOptions(panel.getOptions(), true);
            }
        }
View Full Code Here

Examples of org.jitterbit.ui.input.InputPanelDialog

     * returned if the dialog is cancelled.
     *
     */
    public Point open() {
        PointInputPanel panel = new PointInputPanel(initialValue, caption);
        InputPanelDialog dialog = createDialog(panel);
        dialog.setVisible(true);
        return dialog.wasOkPressed() ? panel.getNewCoordinates() : null;
    }
View Full Code Here

Examples of org.jitterbit.ui.input.InputPanelDialog

        dialog.setVisible(true);
        return dialog.wasOkPressed() ? panel.getNewCoordinates() : null;
    }

    private InputPanelDialog createDialog(final PointInputPanel panel) {
        final InputPanelDialog dialog = new InputPanelDialog(owner, panel, title);
        dialog.setResizable(false);
        dialog.pack();
        dialog.setOkButtonAsDefault();
        dialog.setLocationRelativeTo(UiUtils.getActiveWindow());
        bindDialogWithInputPanel(panel, dialog);
        dialog.getOKButton().setEnabled(panel.isInputValid());
        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.