Examples of UIPreferences


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

    private boolean load = false;

    public BookmarkComboConfigList() {
        setEditable(false);
        try {
            UIPreferences uiPreferences = UIPreferencesPersistence.loadSystemPreferences();
            if (uiPreferences != null) {
                bookmarks = uiPreferences.getBookmarks();
            }
        } catch (SalsaPreferencesException e) {
        }

        setRenderer(new ConfigItemRenderer());
View Full Code Here

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

    /**
     * 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

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

    /**
     * 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

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

    /**
     * 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

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

     * To set the control Panel command.
     */
    @Override
    public String getBachtExecuteFile() {
        if (commandLine == null || commandLine.isEmpty()) {
            UIPreferences uiPreferences = getUiPreferences();
            if (uiPreferences != null) {
                commandLine = uiPreferences.getControlPanel();
                if (commandLine != null && commandLine.trim().isEmpty()) {
                    commandLine = StringTools.replaceAll(commandLine.trim(),
                            DevicePreferences.CONTROL_PANEL_DEVICE_NAME_STRING, "");
                }
            }
View Full Code Here

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

    /**
     * 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

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

     * To set the control Panel command.
     */
    @Override
    public String getBachtExecuteFile() {
        if (commandLine == null || commandLine.isEmpty()) {
            UIPreferences uiPreferences = getUiPreferences();
            if (uiPreferences != null) {
                commandLine = uiPreferences.getControlPanel();
                if (commandLine != null && commandLine.trim().isEmpty()) {
                    commandLine = StringTools.replaceAll(commandLine.trim(),
                            DevicePreferences.CONTROL_PANEL_DEVICE_NAME_STRING, "");
                }
            }
View Full Code Here

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

        }
    }

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

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

        }
    }

    @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

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
TOP
Copyright © 2018 www.massapi.com. 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.