Package org.rhq.coregui.client.util.preferences

Examples of org.rhq.coregui.client.util.preferences.MeasurementUserPreferences


    private Long cachedBegin = null;
    private Long cachedEnd= null;
    private Long cachedTimeRange= null;

    private CustomDateRangeState() {
        measurementUserPreferences = new MeasurementUserPreferences(UserSessionManager.getUserPreferences());
        prefs = measurementUserPreferences.getMetricRangePreferences();
    }
View Full Code Here


    private static final int END_TIME_INDEX = 1;

    private MeasurementUserPreferences measurementUserPrefs;
    public UserPreferencesMeasurementRangeEditor() {
        super();
        measurementUserPrefs = new MeasurementUserPreferences(UserSessionManager.getUserPreferences());
    }
View Full Code Here

    private List<List<MeasurementDataNumericHighLowComposite>> metricsDataList;
    private MeasurementUserPreferences measurementUserPrefs;

    public MetricsTableDataSource(int resourceId) {
        this.resourceId = resourceId;
        measurementUserPrefs = new MeasurementUserPreferences(UserSessionManager.getUserPreferences());
    }
View Full Code Here

        public static final String ATTR_DEFINITION_ID = "definitionId";

        private final MeasurementUserPreferences measurementUserPrefs;

        public GroupMembersComparisonDataSource() {
            measurementUserPrefs = new MeasurementUserPreferences(UserSessionManager.getUserPreferences());
        }
View Full Code Here

                    for (String definitionToDisplay : displayOrder) {
                        definitionArrayIds[index++] = measurementDefMap.get(definitionToDisplay).getId();
                    }

                    UserPreferences prefs = UserSessionManager.getUserPreferences();
                    MeasurementUserPreferences mprefs = new MeasurementUserPreferences(prefs);
                    ArrayList<Long> range = mprefs.getMetricRangePreferences().getBeginEndTimes();

                    //now retrieve metric display summaries
                    GWTServiceLookup.getMeasurementChartsService().getMetricDisplaySummariesForCompatibleGroup(
                        EntityContext.forGroup(group), definitionArrayIds, range.get(0), range.get(1), false,
                        new AsyncCallback<ArrayList<MetricDisplaySummary>>() {
View Full Code Here

TOP

Related Classes of org.rhq.coregui.client.util.preferences.MeasurementUserPreferences

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.