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

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


                .addListener((ObservableValue<? extends Tab> tab, Tab old_tab, Tab new_tab) -> {
                    String id = new_tab.getId();

                    if (id != null) {

                        PluginProvider ap = MAP_PLUGIN.get(id);

                        try {
                            if (ap != null) {
                                ap.setSelected();
                            }
                        } catch (Exception exc) {
                            exc.printStackTrace();
                        }
View Full Code Here


        }
    }

    private void saveAllData() {

        final PluginProvider plugin = getPluginAnswerNegativeOnSavingData();

        if (plugin != null) {

            log("WRN - Can't save plugin:" + plugin.getId() + " RETURN FALSE");
            selectPluginTab(plugin);
            return;
        }

        createPopupMessage("main_save_msg", new AnswerPopupMessage() {
View Full Code Here

            }

            /**
             * Ce' almeno un plugin che ha risposto errore prima di salvare.
             */
            PluginProvider plugin = getPluginAnswerNegativeOnSavingData();
            if (plugin != null) {
                selectPluginTab(plugin);
                return false;
            }

View Full Code Here

                .addListener((ObservableValue<? extends Tab> tab, Tab old_tab, Tab new_tab) -> {
                    String id = new_tab.getId();

                    if (id != null) {

                        PluginProvider ap = MAP_PLUGIN.get(id);

                        try {
                            if (ap != null) {
                                ap.setSelected();
                            }
                        } catch (Exception exc) {
                            exc.printStackTrace();
                        }
View Full Code Here

    private void saveAllData() {
        try {
            Collection<PluginProvider> plugins = MAP_PLUGIN.values();
            if (plugins != null && !plugins.isEmpty()) {
                for (Iterator<PluginProvider> ite = plugins.iterator(); ite.hasNext();) {
                    final PluginProvider plugin = ite.next();
                    if (Answare.NEGATIVE.equals(plugin.onSavingData())) {

                        log("WRN - Can't save plugin:" + plugin.getId() + " RETURN FALSE");

                        Platform.runLater(() -> {
                            plugin.setSelected();
                        });

                        Tab tab = findTab(plugin.getId());
                        selectTab(tab);
                        return;
                    }
                }
            }
View Full Code Here

TOP

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

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.