Examples of PlotProperties


Examples of fr.soleil.comete.definition.widget.properties.PlotProperties

        if (uiPreferences != null) {
            if (zSensorsDataList != null && zSensorsDataList.length > 0) {
                Map<String, PlotProperties> propertiesMap = uiPreferences.getPlotPropertiesMap();
                for (String dataViewId : zSensorsDataList) {
                    if (dataViewId != null && !dataViewId.isEmpty()) {
                        PlotProperties properties = propertiesMap.get(dataViewId.toLowerCase());
                        if (properties == null) {
                            properties = new PlotProperties();
                        }
                        properties.getMarker().setLegendVisible(true);
                        // Axis = 3 for Z
                        properties.setAxisChoice(3);
                        uiPreferences.addPlotPropertiesMap(dataViewId, properties);
                    }
                }
            }
        }
View Full Code Here

Examples of fr.soleil.comete.definition.widget.properties.PlotProperties

    }

    @Override
    public void removePlotProperties(String viewId) {
        PlotProperties oldValue = getPlotProperties(viewId);
        baseBean.removePlotProperties(viewId);
        firePropertyChange("plotProperties:" + viewId, oldValue, null);
        setModified(true);
    }
View Full Code Here

Examples of fr.soleil.comete.definition.widget.properties.PlotProperties

        }
    }

    @Override
    public PlotProperties getPlotProperties(String viewId) {
        PlotProperties result = null;
        if (viewId != null) {
            viewId = viewId.toLowerCase().trim();
            result = plotPropertiesMap.get(viewId);
        }
        return result;
View Full Code Here

Examples of fr.soleil.comete.definition.widget.properties.PlotProperties

        return baseBean.getPlotProperties(viewId);
    }

    @Override
    public void setPlotProperties(String viewId, PlotProperties plotProperties) {
        PlotProperties oldValue = getPlotProperties(viewId);
        baseBean.setPlotProperties(viewId, plotProperties);
        firePropertyChange("plotProperties:" + viewId, oldValue, plotProperties);
    }
View Full Code Here

Examples of fr.soleil.comete.definition.widget.properties.PlotProperties

        }
    }

    @Override
    public PlotProperties getPlotProperties(String viewId) {
        PlotProperties result = null;
        if (viewId != null) {
            viewId = viewId.toLowerCase().trim();
            result = plotPropertiesMap.get(viewId);
        }
        return result;
View Full Code Here

Examples of fr.soleil.comete.definition.widget.properties.PlotProperties

        firePropertyChange("plotProperties:" + viewId, oldValue, plotProperties);
    }

    @Override
    public void removePlotProperties(String viewId) {
        PlotProperties oldValue = getPlotProperties(viewId);
        baseBean.removePlotProperties(viewId);
        firePropertyChange("plotProperties:" + viewId, oldValue, null);
    }
View Full Code Here

Examples of fr.soleil.comete.definition.widget.properties.PlotProperties

    public void addPlotPropertiesMap(String dataViewId, PlotProperties plotProperties) {
        // System.out.println("addPlotPropertiesMap= " + dataViewId +
        // System.currentTimeMillis());
        // new Exception().printStackTrace();
        if (dataViewId != null && !dataViewId.isEmpty()) {
            PlotProperties oldProp = getPlotProperties(dataViewId);
            if (plotProperties == null) {
                plotProperties = oldProp;
            } else {
                // Do not change the axis information
                if (oldProp != null) {
                    int oldAxis = oldProp.getAxisChoice();
                    plotProperties.setAxisChoice(oldAxis);
                }
            }
            plotProperties.getMarker().setLegendVisible(true);
            plotPropertiesMap.put(dataViewId.toLowerCase(), plotProperties);
View Full Code Here

Examples of fr.soleil.comete.definition.widget.properties.PlotProperties

            // plotProperties.getAxisChoice());
        }
    }

    private PlotProperties getPlotProperties(String dataViewId) {
        PlotProperties properties = null;
        if (dataViewId != null && !dataViewId.isEmpty()) {
            properties = plotPropertiesMap.get(dataViewId.toLowerCase());
            if (properties == null) {
                properties = new PlotProperties();
                properties.getMarker().setStyle(IChartViewer.MARKER_DOT);
                properties.setAxisChoice(-1);
            }
        }
        return properties;
    }
View Full Code Here

Examples of fr.soleil.comete.definition.widget.properties.PlotProperties

                if (!list2.containsKey(key1)) {
                    listEquals = false;
                    break;
                }
                else {
                    PlotProperties obj1 = list1.get(key1);
                    PlotProperties obj2 = list2.get(key1);
                    if (!plotPropertiesEquals(obj1, obj2)) {
                        listEquals = false;
                        break;
                    }
                }
View Full Code Here

Examples of fr.soleil.comete.definition.widget.properties.PlotProperties

        return baseBean.getPlotProperties(viewId);
    }

    @Override
    public void setPlotProperties(String viewId, PlotProperties plotProperties) {
        PlotProperties oldValue = getPlotProperties(viewId);
        if (!ComparatorUtil.plotPropertiesEquals(oldValue, plotProperties)) {
            baseBean.setPlotProperties(viewId, plotProperties);
            firePropertyChange(IConfigListener.PLOT_PROP, oldValue, plotProperties);
        }
        refreshModified();
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.