* Francois Chouinard - Initial API and implementation
* Francois Chouinard - Moved from LTTng to TMF
* Francois Chouinard - Simplified constructor, handle interval format change
+ * Patrick Tasse - Update value handling
*******************************************************************************/
package org.eclipse.linuxtools.tmf.ui.views.histogram;
TmfSignalManager.register(this);
}
- /* (non-Javadoc)
- * @see org.eclipse.linuxtools.tmf.ui.views.histogram.HistogramTextControl#dispose()
- */
@Override
public void dispose() {
TmfSignalManager.deregister(this);
return;
}
String string = fTextValue.getText();
- long value = 0;
+ long value = getValue();
try {
value = TmfTimestampFormat.getDefaulTimeFormat().parseValue(string, getValue());
} catch (ParseException e) {
// Set and propagate
setValue(value);
- fParentView.updateCurrentEventTime(value);
+ fParentView.updateSelectionTime(value, value);
+ } else {
+ setValue(value);
}
}