/*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
// Operations
// ------------------------------------------------------------------------
+ @Override
+ public void clear() {
+ fRangeStartTime = 0L;
+ fRangeDuration = 0L;
+ if (fZoom != null) {
+ fZoom.setFullRange(0L, 0L);
+ fZoom.setNewRange(0L, 0L);
+ }
+ super.clear();
+ }
+
/**
* Sets the time range of the full histogram.
*
fDataModel.complete();
}
- /* (non-Javadoc)
- * @see org.eclipse.linuxtools.tmf.ui.views.histogram.Histogram#updateTimeRange(long, long)
- */
@Override
public void updateTimeRange(long startTime, long endTime) {
((HistogramView) fParentView).updateTimeRange(startTime, endTime);