| .. | .. |
|---|
| 28 | 28 | Aggregate agg; |
|---|
| 29 | 29 | JComboBox splitFieldChoice, numFieldChoice; |
|---|
| 30 | 30 | |
|---|
| 31 | | - public BarGraphView(TFModel model) |
|---|
| 31 | + public BarGraphView(TimeflowModel model) |
|---|
| 32 | 32 | { |
|---|
| 33 | 33 | super(model); |
|---|
| 34 | 34 | |
|---|
| .. | .. |
|---|
| 55 | 55 | int ch = 25, pad = 5, cw = 160; |
|---|
| 56 | 56 | |
|---|
| 57 | 57 | controls.removeAll(); |
|---|
| 58 | | - TFModel model = getModel(); |
|---|
| 58 | + TimeflowModel model = getModel(); |
|---|
| 59 | 59 | if (model.getDB() == null || model.getDB().size() == 0) |
|---|
| 60 | 60 | { |
|---|
| 61 | 61 | JLabel empty = new JLabel("Empty database"); |
|---|
| .. | .. |
|---|
| 267 | 267 | int w = getSize().width, h = getSize().height; |
|---|
| 268 | 268 | g.setColor(Color.white); |
|---|
| 269 | 269 | g.fillRect(0, 0, w, h); |
|---|
| 270 | | - TFModel model = getModel(); |
|---|
| 270 | + TimeflowModel model = getModel(); |
|---|
| 271 | 271 | Display display = model.getDisplay(); |
|---|
| 272 | 272 | |
|---|
| 273 | 273 | if (display.emptyMessage(g, model)) |
|---|