Examples of manageLocation()


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

            if (owner == null) {
                owner = UiUtils.getActiveWindow();
            }
            KongaDialog dialog = createDialog(owner, table);
            dialog.pack();
            dialog.manageLocation(InvalidMappingsViewer.class);
            dialog.setOkButtonAsDefault();
            dialog.setVisible(true);
            if (dialog.wasOkPressed()) {
                applyChanges();
            }
View Full Code Here

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

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

            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()]));
            } else {
View Full Code Here

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

        return dlg.show();
    }

    private int show() {
        KongaDialog dlg = createDialog();
        dlg.manageLocation(DirtyDelegatesDialog.class);
        dlg.setVisible(true);
        return dlg.wasOkPressed() ? SAVE : CANCEL;
    }

    private KongaDialog createDialog() {
View Full Code Here

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

    private static KongaDialog createDialog(UiProvider content) {
        KongaDialog dialog = new KongaDialog(getOwner(), Strings.get("Deploy.Result.Dialog.Title"), true);
        layoutDialog(dialog, content);
        dialog.setCloseButtonAsDefault();
        dialog.pack();
        dialog.manageLocation(DeployWarningsDialog.class);
        return dialog;
    }

    private static JFrame getOwner() {
        JFrame frame = ApplicationUi.getAppWinFrame();
View Full Code Here

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

        layout.setBorder(Empty.border(10));
        layout.asContentPaneFor(dialog);
        dialog.pack();
        dialog.setLocationRelativeTo(null);
        dialog.setResizable(false);
        dialog.manageLocation();
        dialog.setDefaultButton(stopAction);
        return dialog;
    }

    private void layoutMessage(UiCanvas canvas) {
View Full Code Here

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

            content.northToSouth(createCaption(), selector, getButtons(dialog));
            content.setBorder(Empty.border(10));
            content.asContentPaneFor(dialog);
            dialog.pack();
            dialog.setResizable(false);
            dialog.manageLocation(DialogConflictResolver.class);
            dialog.setOkButtonAsDefault();
            return dialog;
        }

        private Object createCaption() {
View Full Code Here

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

    }

    private KongaDialog createDialog() {
        String title = String.format("Select %s %s", entityType.getIndefiniteArticle(), entityType.getDisplayName());
        KongaDialog dialog = new WizardStyleDialog(UiUtils.getActiveWindow(), title, this);
        dialog.manageLocation(ExistingEntitySelectionUi.class);
        new DialogSelectionSupport(entitySelector.getSelectionSource(), dialog) {

            @Override
            protected boolean isEnabledFor(Selection s) {
                return entitySelector.getSelectedEntity() != null;
View Full Code Here

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

            throw new IllegalArgumentException("Invalid dialog owner: " + (owner != null ? owner.getClass() : "null")); //$NON-NLS-1$ //$NON-NLS-2$
        }
        createContentPane(dlg);
        dlg.pack();
        dlg.setLocationRelativeTo(owner);
        dlg.manageLocation(MessagePropertiesDialog.class);
        dlg.addWindowListener(new WindowAdapter() {

            @Override
            public void windowClosed(WindowEvent e) {
                dialogGate.setEnabled(true);
View Full Code Here

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

        cp.center(prompt).south(dlg.getButtonPanel(KongaDialog.OK_CANCEL, 10));
        dlg.getOKButton().setText(prompt.mode.continueLabel);
        dlg.getCancelButton().setText(prompt.mode.cancelLabel);
        cp.withEmptyBorder(10, 10, 10, 10).asContentPaneFor(dlg);
        dlg.setResizable(false);
        dlg.manageLocation(LogoutWhileDebuggingHandler.class);
        dlg.pack();
        dlg.setOkButtonAsDefault();
        return dlg;
    }
   
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.