Package fr.soleil.salsa.client.preferences

Examples of fr.soleil.salsa.client.preferences.UIPreferences


        }
    }

    @Override
    public Map<String, Map<String, String>> getBookmarks() {
        UIPreferences uiPreferences = getUiPreferences();
        // Load the scanServerName
        if (uiPreferences != null) {
            return uiPreferences.getBookmarks();
        }
        return null;
    }
View Full Code Here


        return null;
    }

    @Override
    public void removeBookmark(String bookmark) {
        UIPreferences uiPreferences = getUiPreferences();
        // Load the scanServerName
        if (uiPreferences != null) {
            uiPreferences.removeBookmark(bookmark);
        }
    }
View Full Code Here

        }
    }

    @Override
    public void removeEntryFromBookmark(String bookmark, String configPath) {
        UIPreferences uiPreferences = getUiPreferences();
        // Load the scanServerName
        if (uiPreferences != null) {
            uiPreferences.removeEntryFromBookmark(bookmark, configPath);
        }
    }
View Full Code Here

        }
    }

    @Override
    public void removeAllEntryFromBookmark(String configPath) {
        UIPreferences uiPreferences = getUiPreferences();
        // Load the scanServerName
        if (uiPreferences != null) {
            uiPreferences.removeAllEntryFromBookmark(configPath);
        }

    }
View Full Code Here

        }

    }

    public void replaceEntryInBookmarks(String configPath, String newConfigPath) {
        UIPreferences uiPreferences = getUiPreferences();
        // Load the scanServerName
        if (uiPreferences != null) {
            uiPreferences.replaceEntryInBookmarks(configPath, newConfigPath);
        }
    }
View Full Code Here

    /**
     * Load preference from file.
     */
    public void loadPreferences() throws SalsaPreferencesException {
        DevicePreferences modelPreferences = DevicePreferencesPersistence.loadSystemPreferences();
        UIPreferences uiPreferences = UIPreferencesPersistence.loadSystemPreferences();
        initPerspectiveManager();
        setPreferences(modelPreferences, uiPreferences);
    }
View Full Code Here

        }
    }

    @Override
    public void addBookmark(String bookmark) {
        UIPreferences uiPreferences = getUiPreferences();
        // Load the scanServerName
        if (uiPreferences != null) {
            uiPreferences.addBookmarks(bookmark);
        }
    }
View Full Code Here

        }
    }

    @Override
    public void addEntryToBookmark(String bookmark, String configPath, String customLabel) {
        UIPreferences uiPreferences = getUiPreferences();
        // Load the scanServerName
        if (uiPreferences != null) {
            uiPreferences.addEntryToBookmarks(bookmark, configPath, customLabel);
        }
    }
View Full Code Here

        }
    }

    @Override
    public Map<String, Map<String, String>> getBookmarks() {
        UIPreferences uiPreferences = getUiPreferences();
        // Load the scanServerName
        if (uiPreferences != null) {
            return uiPreferences.getBookmarks();
        }
        return null;
    }
View Full Code Here

        return null;
    }

    @Override
    public void removeBookmark(String bookmark) {
        UIPreferences uiPreferences = getUiPreferences();
        // Load the scanServerName
        if (uiPreferences != null) {
            uiPreferences.removeBookmark(bookmark);
        }
    }
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.client.preferences.UIPreferences

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.