Examples of manageLocation()


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

        }
        DeepCopyItemSelector selector = new DeepCopyItemSelector(cascade);
        KongaDialog dialog = new WizardStyleDialog(UiUtils.getActiveWindow(), "Select Which Objects To Copy",
                        selector, KongaDialog.CONTINUE_CANCEL, true);
        dialog.setContinueButtonAsDefault();
        dialog.manageLocation(SelectiveDeepCopyUi.class);
        dialog.setVisible(true);
        return dialog.wasOkPressed() ? selector.getItemsToExclude() : null;
    }
}
View Full Code Here

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

                applyLogLevels();
                super.onOk();
            }
        };
        layoutDialog(dialog);
        dialog.manageLocation(getClass());
        dialog.setVisible(true);
    }

    private void saveLogLevels() {
        // TODO: Pass in the LogDirectory
View Full Code Here

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

                JComponent content = BorderLayoutBuilder.fillWith(ui);
                content.setOpaque(true);
                UiUtils.setPanelBackgrounds(content, Colors.NEUTRAL_BACKGROUND);
                KongaDialog dialog = new WizardStyleDialog(parent, "Preferences", content);
                dialog.setFocusedComponent(ui);
                dialog.manageLocation(PreferencesViewer.class);
                Dimension size = dialog.getSize();
                dialog.setSize(new Dimension(Math.max(800, size.width), Math.max(600, size.height)));
                dialog.getOKButton().setToolTipText("Save all changes and close this dialog");
                dialog.getCancelButton().setToolTipText("Close this dialog without saving any changes");
                dialog.setOkButtonAsDefault();
View Full Code Here

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

    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;
    }
View Full Code Here

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

        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.manageLocation()

    }

    private KongaDialog createDialog(JFrame owner, OneColumnPanel ui) {
        KongaDialog dlg = new KongaDialog(owner, Strings.getJitterPackString("DescriptorDialog.Title"), true);
        createContentPane(dlg, ui);
        dlg.manageLocation();
        return dlg;
    }

    private void createContentPane(KongaDialog dlg, OneColumnPanel ui) {
        dlg.standardLayout(ui, KongaDialog.OK_ONLY);
View Full Code Here

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

        wrapper.setBorder(Empty.border(10));
        wrapper.setOpaque(true);
        UiUtils.setPanelBackgrounds(wrapper, Colors.NEUTRAL_BACKGROUND);
        KongaDialog dialog = new WizardStyleDialog(owner, Strings.get("SourceFilterDialog.Title"), wrapper);
        dialog.setResizable(false);
        dialog.manageLocation(DatabaseFilterDefiner.class);
        dialog.setOkButtonAsDefault();
        return dialog;
    }

}
View Full Code Here

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

        KongaDialog dlg = new KongaDialog(UiUtils.getActiveWindow(), Strings.get("ViewHostedWebServiceUrl.Title"));
        createContentPane(dlg);
        dlg.enableUndoRedoForTextComponents(UndoRedoControllers.textFactory());
        dlg.pack();
        dlg.setResizable(false);
        dlg.manageLocation();
        dlg.setVisible(true);
    }
   
    private void createContentPane(KongaDialog dlg) {
        Operation op = opNode.getDataObject().getActivity();
View Full Code Here

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

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

    private void installCallback(KongaDialog dialog) {
        Receiver<Node> internalCallback = new Callback(externalCallback, dialog);
View Full Code Here

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

                    super.onOk();
                }
            }
        };
        dialog.setFocusedComponent(joinProperties);
        dialog.manageLocation(JoinPropertiesUi.class);
        dialog.setOkButtonAsDefault();
        dialog.setVisible(true);
        if (dialog.wasOkPressed()) {
            joinProperties.apply();
            return true;
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.