Changeset 2512 in josm for trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolverModel.java
- Timestamp:
- 2009-11-24T10:45:04+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolverModel.java
r2326 r2512 22 22 /** 23 23 * This model manages a list of conflicting relation members. 24 * 24 * 25 25 * It can be used as {@see TableModel}. 26 26 * … … 39 39 private PropertyChangeSupport support; 40 40 41 42 41 /** 43 42 * Replies the current number of conflicts 44 * 43 * 45 44 * @return the current number of conflicts 46 45 */ … … 52 51 * Updates the current number of conflicts from list of decisions and emits 53 52 * a property change event if necessary. 54 * 53 * 55 54 */ 56 55 protected void updateNumConflicts() { … … 120 119 * Populates the model with the members of the relation <code>relation</code> 121 120 * referring to <code>primitive</code>. 122 * 121 * 123 122 * @param relation the parent relation 124 123 * @param primitive the child primitive … … 135 134 * Populates the model with the relation members belonging to one of the relations in <code>relations</code> 136 135 * and referring to one of the primitives in <code>memberPrimitives</code>. 137 * 136 * 138 137 * @param relations the parent relations. Empty list assumed if null. 139 138 * @param memberPrimitives the child primitives. Empty list assumed if null. … … 155 154 * Populates the model with the relation members represented as a collection of 156 155 * {@see RelationToChildReference}s. 157 * 156 * 158 157 * @param references the references. Empty list assumed if null. 159 158 */ … … 175 174 /** 176 175 * Replies the decision at position <code>row</code> 177 * 176 * 178 177 * @param row 179 178 * @return the decision at position <code>row</code> … … 185 184 /** 186 185 * Replies the number of decisions managed by this model 187 * 186 * 188 187 * @return the number of decisions managed by this model 189 188 */ … … 195 194 * Refreshes the model state. Invoke this method to trigger necessary change 196 195 * events after an update of the model data. 197 * 196 * 198 197 */ 199 198 public void refresh() { … … 204 203 /** 205 204 * Apply a role to all member managed by this model. 206 * 205 * 207 206 * @param role the role. Empty string assumed if null. 208 207 */ … … 256 255 /** 257 256 * Builds a collection of commands executing the decisions made in this model. 258 * 257 * 259 258 * @param newPrimitive the primitive which members shall refer to if the 260 259 * decision is {@see RelationMemberConflictDecisionType#REPLACE} … … 295 294 * Replies the set of relations which have to be modified according 296 295 * to the decisions managed by this model. 297 * 296 * 298 297 * @param newPrimitive the primitive which members shall refer to if the 299 298 * decision is {@see RelationMemberConflictDecisionType#REPLACE} 300 * 299 * 301 300 * @return the set of relations which have to be modified according 302 301 * to the decisions managed by this model
Note:
See TracChangeset
for help on using the changeset viewer.