Package org.jitterbit.ui.selection

Examples of org.jitterbit.ui.selection.DialogSelectionSupport


    public ArgumentSelectionDialog(UiProvider selectionUi, SelectionSource selectionSource, String title,
                    Component parent) {
        this.selectionUi = selectionUi;
        turnOffAutoBehaviorChoice = new TurnOffAutomaticArgumentSuggestionChoice();
        dialog = createDialog(title, parent);
        new DialogSelectionSupport(selectionSource, dialog);
    }
View Full Code Here


    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

    private EntitySelectorDialog(Window owner, String title, EntitySelector<T> selector, JComponent north) {
        this.selector = selector;
        dialog = createDialog(owner, title, createContent(selector, north));
        dialog.manageLocation(EntitySelectorDialog.class);
        dialog.setOkButtonAsDefault();
        selectionSupport = new DialogSelectionSupport(selector.getSelectionSource(), dialog) {

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

TOP

Related Classes of org.jitterbit.ui.selection.DialogSelectionSupport

Copyright © 2018 www.massapicom. 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.