Changeset 6084 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java
- Timestamp:
- 2013-07-26T13:38:17+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java
r6068 r6084 87 87 /* Interface SelectionChangedListener */ 88 88 /* --------------------------------------------------------------------------- */ 89 @Override 89 90 public void selectionChanged(Collection<? extends OsmPrimitive> newSelection) { 90 91 if (Main.main.getEditLayer() != this.layer) return; … … 98 99 /* Interface DataSetListener */ 99 100 /* --------------------------------------------------------------------------- */ 101 @Override 100 102 public void dataChanged(DataChangedEvent event) { 101 103 // just trigger a repaint - the display name of the relation members may … … 106 108 } 107 109 110 @Override 108 111 public void nodeMoved(NodeMovedEvent event) {/* ignore */} 112 @Override 109 113 public void primitivesAdded(PrimitivesAddedEvent event) {/* ignore */} 110 114 115 @Override 111 116 public void primitivesRemoved(PrimitivesRemovedEvent event) { 112 117 // ignore - the relation in the editor might become out of sync with the relation … … 115 120 } 116 121 122 @Override 117 123 public void relationMembersChanged(RelationMembersChangedEvent event) { 118 124 // ignore - the relation in the editor might become out of sync with the relation … … 121 127 } 122 128 129 @Override 123 130 public void tagsChanged(TagsChangedEvent event) { 124 131 // just refresh the respective table cells … … 133 140 } 134 141 142 @Override 135 143 public void wayNodesChanged(WayNodesChangedEvent event) {/* ignore */} 136 144 145 @Override 137 146 public void otherDatasetChange(AbstractDatasetChangedEvent event) {/* ignore */} 138 147 /* --------------------------------------------------------------------------- */ … … 164 173 } 165 174 175 @Override 166 176 public int getColumnCount() { 167 177 return 3; 168 178 } 169 179 180 @Override 170 181 public int getRowCount() { 171 182 return members.size(); 172 183 } 173 184 185 @Override 174 186 public Object getValueAt(int rowIndex, int columnIndex) { 175 187 switch (columnIndex) { … … 726 738 } 727 739 740 @Override 728 741 public void tableChanged(TableModelEvent e) { 729 742 connectionType = null;
Note:
See TracChangeset
for help on using the changeset viewer.