Examples of manageLocation()


Examples of org.jitterbit.application.ui.widget.WizardStyleDialog.manageLocation()

        return dlg.wasOkPressed() ? ui.getSelection() : null;
    }

    private KongaDialog createDialog(Ui ui) {
        KongaDialog dialog = new WizardStyleDialog(owner, Strings.get("RouteTypeSelector.Title"), ui);
        dialog.manageLocation(RouteTypeSelector.class);
        dialog.setResizable(false);
        dialog.setOkButtonAsDefault();
        return dialog;
    }
View Full Code Here

Examples of org.jitterbit.application.ui.widget.WizardStyleDialog.manageLocation()

        ok.setAction(importAction);
        if (ok instanceof KongaButton) {
            ((KongaButton) ok).setUseSmallActionIcon(true);
        }
        dlg.pack();
        dlg.manageLocation(ImportJitterPackDialog.class);
        dlg.setOkButtonAsDefault();
        return dlg;
    }

    private void listen() {
View Full Code Here

Examples of org.jitterbit.application.ui.widget.WizardStyleDialog.manageLocation()

        }
    }

    private KongaDialog createDialog(Window owner, EntitySearchPanel searchPanel) {
        KongaDialog dialog = new WizardStyleDialog(owner, "Search & Replace", searchPanel, KongaDialog.CLOSE_ONLY, false);
        dialog.manageLocation(SearchAndReplaceAction.class);
        return dialog;
    }

}
View Full Code Here

Examples of org.jitterbit.application.ui.widget.WizardStyleDialog.manageLocation()

    private KongaDialog createDialog(UiProvider ui, String title) {
        WizardStyleDialog dialog = new WizardStyleDialog(UiUtils.getActiveWindow(), title, ui, null, true);
        dialog.getDefaultLayout().south(createDialogButtons(dialog));
        dialog.setFocusedComponent(ui);
        dialog.manageLocation(ResultUi.class);
        dialog.setOkButtonAsDefault();
        return dialog;
    }

    private UiProvider createDialogButtons(KongaDialog dialog) {
View Full Code Here

Examples of org.jitterbit.application.ui.widget.WizardStyleDialog.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.application.ui.widget.WizardStyleDialog.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.application.ui.widget.WizardStyleDialog.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.application.ui.widget.WizardStyleDialog.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

Examples of org.jitterbit.application.ui.widget.WizardStyleDialog.manageLocation()

        public static boolean open(TargetUpdateKeysEditorUi ui, Window owner) {
            WizardStyleDialog dialog = new WizardStyleDialog(owner, TransformationResources.getString("TargetUpdateKeysEditor.Title"), ui);
            dialog.setResizable(false);
            dialog.setOkButtonAsDefault();
            dialog.manageLocation(TargetUpdateKeysEditor.class);
            dialog.setVisible(true);
            return dialog.wasOkPressed();
        }
    }
View Full Code Here

Examples of org.jitterbit.application.ui.widget.WizardStyleDialog.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
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.