Examples of UIPreferences


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

        }
    }

    @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

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

        }
    }

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

    }
View Full Code Here

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

        }

    }

    public void replaceEntryInBookmarks(String configPath, String newConfigPath) {
        UIPreferences uiPreferences = getUiPreferences();
        // Load the scanServerName
        if (uiPreferences != null) {
            uiPreferences.replaceEntryInBookmarks(configPath, newConfigPath);
        }
    }
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

    public SalsaScanResultBean() {
        bean = new ScanResultBean(false);
        setLayout(new BorderLayout());
        add(bean, BorderLayout.CENTER);
        UIPreferences uiPreferences;
        try {
            uiPreferences = UIPreferencesPersistence.loadSystemPreferences();
            bean.setUIPreferences(uiPreferences);
        } catch (SalsaPreferencesException e) {
        }
View Full Code Here

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

        DevicePreferences devicePref = SalsaAPI.getDevicePreferences();
        if (devicePref != null) {
            setScanServerName(devicePref.getScanServer());
        }
        try {
            UIPreferences uiPreferences = UIPreferencesPersistence.loadSystemPreferences();
            if (uiPreferences != null) {
                super.setExecutedBatchFile(uiPreferences.getControlPanel());
            }
        } catch (Exception e) {
        }
        start();
    }
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

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

        layout.show(trajectoryPanel, ConfigType.NONE.toString());
        layout2.show(centerPanel, ConfigType.NONE.toString());

        try {
            UIPreferences uipref = UIPreferencesPersistence.loadSystemPreferences();
            if (uipref != null) {
                String controlPanel = uipref.getControlPanel();
                actuatorPanel.setExecutedBatchFile(controlPanel);
                sensorPanel.setExecutedBatchFile(controlPanel);
                timeBasePanel.setExecutedBatchFile(controlPanel);
                statusBar.setExecutedBatchFile(controlPanel);
            }
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.