private void updateHeader() { if (_timelineIdentifier == null) { _header.setText("<new timeline>"); } else { _header.setText(_timelineIdentifier.getName()); } }
public void setTimelineIdentifier(TimelineIdentifier timelineIdentifier) { if (timelineIdentifier.equals(_timelineIdentifier)) { return; } _timelineIdentifier = timelineIdentifier; updateHeader(); if (_timelineData != null) { setLoading(); renderChart(); } }