Changeset 6883 in josm for trunk/src/org/openstreetmap/josm/corrector
- Timestamp:
- 2014-02-25T01:31:24+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/corrector/CorrectionTableModel.java
r6084 r6883 9 9 import javax.swing.table.AbstractTableModel; 10 10 11 public abstract class CorrectionTableModel<C extends Correction> extends 12 AbstractTableModel { 11 public abstract class CorrectionTableModel<C extends Correction> extends AbstractTableModel { 13 12 14 13 private List<C> corrections; … … 17 16 18 17 public CorrectionTableModel(List<C> corrections) { 19 super();20 18 this.corrections = corrections; 21 19 apply = new boolean[this.corrections.size()]; … … 25 23 26 24 @Override 27 abstract publicint getColumnCount();25 public abstract int getColumnCount(); 28 26 29 abstract protectedboolean isBoldCell(int row, int column);30 abstract publicString getCorrectionColumnName(int colIndex);31 abstract publicObject getCorrectionValueAt(int rowIndex, int colIndex);27 protected abstract boolean isBoldCell(int row, int column); 28 public abstract String getCorrectionColumnName(int colIndex); 29 public abstract Object getCorrectionValueAt(int rowIndex, int colIndex); 32 30 33 31 public List<C> getCorrections() {
Note:
See TracChangeset
for help on using the changeset viewer.