Changeset 19050 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java
- Timestamp:
- 2024-04-22T20:59:26+02:00 (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java
r18801 r19050 60 60 * Creates a new tag editor model. Internally allocates two selection models 61 61 * for row selection and column selection. 62 * 62 * <p> 63 63 * To create a {@link javax.swing.JTable} with this model: 64 64 * <pre> … … 157 157 TagModel tag = get(row); 158 158 if (tag != null) { 159 switch (col) {159 switch (col) { 160 160 case 0: 161 161 updateTagName(tag, (String) value); … … 219 219 /** 220 220 * adds a tag given by a name/value pair to the tag editor model. 221 * 221 * <p> 222 222 * If there is no tag with name <code>name</code> yet, a new {@link TagModel} is created 223 223 * and append to this model. 224 * 224 * <p> 225 225 * If there is a tag with name <code>name</code>, <code>value</code> is merged to the list 226 226 * of values for this tag.
Note:
See TracChangeset
for help on using the changeset viewer.