Changeset 7556 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableColumnModel.java
- Timestamp:
- 2014-09-18T02:23:15+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableColumnModel.java
r6296 r7556 8 8 9 9 import org.openstreetmap.josm.data.osm.DataSet; 10 import org.openstreetmap.josm.data.osm.Relation; 10 11 11 12 public class MemberTableColumnModel extends DefaultTableColumnModel { 12 13 13 public MemberTableColumnModel(DataSet ds) { 14 /** 15 * Constructs a new {@code MemberTableColumnModel}. 16 * @param ds the data set. Must not be null 17 * @param relation the relation. Can be null 18 */ 19 public MemberTableColumnModel(DataSet ds, Relation relation) { 14 20 TableColumn col = null; 15 21 … … 20 26 col.setPreferredWidth(100); 21 27 col.setCellRenderer(new MemberTableRoleCellRenderer()); 22 col.setCellEditor(new MemberRoleCellEditor(ds ));28 col.setCellEditor(new MemberRoleCellEditor(ds, relation)); 23 29 addColumn(col); 24 30
Note:
See TracChangeset
for help on using the changeset viewer.