예제 #1
0
 private void updateHeader() {
   if (_timelineIdentifier == null) {
     _header.setText("<new timeline>");
   } else {
     _header.setText(_timelineIdentifier.getName());
   }
 }
예제 #2
0
  public void setTimelineIdentifier(TimelineIdentifier timelineIdentifier) {
    if (timelineIdentifier.equals(_timelineIdentifier)) {
      return;
    }

    _timelineIdentifier = timelineIdentifier;

    updateHeader();

    if (_timelineData != null) {
      setLoading();
      renderChart();
    }
  }