| .. | .. |
|---|
| 24 | 24 | SchemaPanel schemaPanel; |
|---|
| 25 | 25 | boolean exitOnClose=false; // for testing! |
|---|
| 26 | 26 | JScrollPane scroller; |
|---|
| 27 | | - TFModel model; |
|---|
| 27 | + TimeflowModel model; |
|---|
| 28 | 28 | JLabel numLinesLabel=new JLabel(); |
|---|
| 29 | 29 | |
|---|
| 30 | 30 | // for testing: |
|---|
| .. | .. |
|---|
| 33 | 33 | System.out.println("Starting test of ImportEditor"); |
|---|
| 34 | 34 | String file="data/probate.tsv"; |
|---|
| 35 | 35 | String[][] data=DelimitedFormat.readArrayGuessDelim(file, System.out); |
|---|
| 36 | | - ImportDelimitedPanel editor=new ImportDelimitedPanel(new TFModel()); |
|---|
| 36 | + ImportDelimitedPanel editor=new ImportDelimitedPanel(new TimeflowModel()); |
|---|
| 37 | 37 | editor.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); |
|---|
| 38 | 38 | editor.setFileName(file); |
|---|
| 39 | 39 | editor.setData(data); |
|---|
| .. | .. |
|---|
| 42 | 42 | editor.exitOnClose=true; |
|---|
| 43 | 43 | } |
|---|
| 44 | 44 | |
|---|
| 45 | | - public ImportDelimitedPanel(final TFModel model) |
|---|
| 45 | + public ImportDelimitedPanel(final TimeflowModel model) |
|---|
| 46 | 46 | { |
|---|
| 47 | 47 | super("Import File"); |
|---|
| 48 | 48 | this.model=model; |
|---|