Package org.rat.free.security.makifx.core.base

Examples of org.rat.free.security.makifx.core.base.Answer


    Answer getAnswerFromPlugin() {

        Collection<PluginProvider> plugins = MAP_PLUGIN.values();
        if (plugins != null && !plugins.isEmpty()) {
            for (PluginProvider plugin : plugins) {
                Answer answare = plugin.onClosing();
                if (Answer.NEGATIVE.equals(answare)) {
                    return answare;
                }
            }
            return Answer.POSITIVE;
View Full Code Here


        }
        return message;
    }

    private void onClosingWindow() {
        Answer answare = getAnswerFromPlugin();
        if (answare != null) {
            if (Answer.NEGATIVE.equals(answare)) {

                String message = defaultMessage(answare);
View Full Code Here

    @Override public void setSelected() {
    }

    @Override public Answer onClosing() {
        Answer answer = (backup_running) ? Answer.NEGATIVE : Answer.POSITIVE;
        if (backup_running) {
            answer.setMessage("Backup in progress.");
        }
        return answer;
    }
View Full Code Here

TOP

Related Classes of org.rat.free.security.makifx.core.base.Answer

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.