Package org.jitterbit.application.ui

Examples of org.jitterbit.application.ui.DoNotShowAgainQuestion


        public Question(List<IntegrationEntity> items) {
            list = new IntegrationEntityList(items);
        }

        public boolean ask() {
            DoNotShowAgainQuestion q = new DoNotShowAgainQuestion(this, getString("Trashcan.DependenciesDetected"),
                            ReviveDependenciesWarningPreference.instance(), Option.CONTINUE_CANCEL,
                            Option.CONTINUE, Type.QUESTION);
            return q.ask(null);
        }
View Full Code Here


    StructureCache getStructureCache() {
        return structureCache;
    }

    private boolean promptUserOnCancel() {
        return new DoNotShowAgainQuestion(
                Strings.get("Wizard.Warning.Abort"),
                Strings.get("Wizard.Warning.Abort.Title"),
                ConfirmWizardCancelledPreference.instance(),
                Option.YES_NO,
                Option.YES,
View Full Code Here

    }

    private boolean overrideReadVeto(ServerItem userOrGroup, KList<? extends IntegrationEntity> vetos) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 3);
        layout.northToSouth(getTopMessage(userOrGroup), new IntegrationEntityList(vetos), getBottomMessage(userOrGroup));
        DoNotShowAgainQuestion q = new DoNotShowAgainQuestion(layout, Strings.get("Permissions.Cache.Override.Title"),
                        AskBeforeOverridingReadVetoPreference.INSTANCE, Option.YES_NO, Option.YES, Type.WARNING);
        return q.ask(view.getWindow().getFrame());
    }
View Full Code Here

            job.submit();
        }
    }
   
    private boolean isGreenlighted() {
        DoNotShowAgainQuestion dlg = new DoNotShowAgainQuestion(
                        "Are you sure you want to delete all entries from the system queue?",
                        "Are you sure?",
                        DeleteSystemQueueWarningPreference.INSTANCE,
                        Option.YES_NO,
                        Option.YES,
                        Type.WARNING);
        return dlg.ask(null);
    }
View Full Code Here

        }
        return title;
    }

    private boolean promptUserOnCancel() {
        return new DoNotShowAgainQuestion(
                Strings.get("Abort"),
                Strings.get("Abort.Title"),
                ConfirmWizardCancelledPreference.instance(),
                Option.YES_NO,
                Option.YES,
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.DoNotShowAgainQuestion

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.