Skip to content

Commit

Permalink
Fixed #561 - Time Ranges - update combo box
Browse files Browse the repository at this point in the history
  • Loading branch information
eselmeister committed Apr 9, 2021
1 parent 60985c1 commit 9921848
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@ public TimeRangesPeakChart(Composite parent, int style) {
createControl();
}

public void update(TimeRange timeRange) {

TimeRangeSelector.updateTimeRangeUI(timeRangesUI, timeRange, getBaseChart());
}

public void update(TimeRanges timeRanges) {

if(timeRangesUI != null) {
timeRangesUI.setInput(timeRanges);
}
update(timeRangesUI, timeRanges);
}

public void update(TimeRangesUI timeRangesUI, TimeRanges timeRanges) {

this.timeRangesUI = timeRangesUI;
Expand Down

0 comments on commit 9921848

Please sign in to comment.