Changeset 1669 in josm
- Timestamp:
- 2009-06-14T17:34:52+02:00 (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/properties/PropertiesMergeModel.java
r1666 r1669 19 19 20 20 /** 21 * This is the model for resolving conflicts in the properties of th w21 * This is the model for resolving conflicts in the properties of the 22 22 * {@see OsmPrimitive}s. In particular, it represents conflicts in the coordiates of {@see Node}s and 23 23 * the deleted state of {@see OsmPrimitive}s. 24 * 24 * 25 25 * This model is an {@see Observable}. It notifies registered {@see Observer}s whenever the 26 26 * internal state changes. 27 * 27 * 28 28 * This model also emits property changes for {@see #RESOLVED_COMPLETELY_PROP}. Property change 29 29 * listeners may register themselves using {@see #addPropertyChangeListener(PropertyChangeListener)}. 30 * 30 * 31 31 * @see Node#getCoor() 32 32 * @see OsmPrimitive#deleted … … 71 71 * replies true if there is a coordinate conflict and if this conflict is 72 72 * resolved 73 * 73 * 74 74 * @return true if there is a coordinate conflict and if this conflict is 75 75 * resolved; false, otherwise … … 82 82 * replies true if there is a conflict in the deleted state and if this conflict is 83 83 * resolved 84 * 84 * 85 85 * @return true if there is a conflict in the deleted state and if this conflict is 86 86 * resolved; false, otherwise … … 92 92 /** 93 93 * replies true if the current decision for the coordinate conflict is <code>decision</code> 94 * 94 * 95 95 * @return true if the current decision for the coordinate conflict is <code>decision</code>; 96 96 * false, otherwise … … 102 102 /** 103 103 * replies true if the current decision for the deleted state conflict is <code>decision</code> 104 * 104 * 105 105 * @return true if the current decision for the deleted state conflict is <code>decision</code>; 106 106 * false, otherwise … … 112 112 /** 113 113 * populates the model with the differences between my and their version 114 * 114 * 115 115 * @param my my version of the primitive 116 116 * @param their their version of the primitive … … 139 139 * replies the coordinates of my {@see OsmPrimitive}. null, if my primitive hasn't 140 140 * coordinates (i.e. because it is a {@see Way}). 141 * 141 * 142 142 * @return the coordinates of my {@see OsmPrimitive}. null, if my primitive hasn't 143 143 * coordinates (i.e. because it is a {@see Way}). … … 150 150 * replies the coordinates of their {@see OsmPrimitive}. null, if their primitive hasn't 151 151 * coordinates (i.e. because it is a {@see Way}). 152 * 152 * 153 153 * @return the coordinates of my {@see OsmPrimitive}. null, if my primitive hasn't 154 154 * coordinates (i.e. because it is a {@see Way}). … … 161 161 * replies the coordinates of the merged {@see OsmPrimitive}. null, if the current primitives 162 162 * have no coordinates or if the conflict is yet {@see MergeDecisionType#UNDECIDED} 163 * 163 * 164 164 * @return the coordinates of the merged {@see OsmPrimitive}. null, if the current primitives 165 165 * have no coordinates or if the conflict is yet {@see MergeDecisionType#UNDECIDED} … … 177 177 /** 178 178 * decides a conflict between my and their coordinates 179 * 179 * 180 180 * @param decision the decision 181 181 */ … … 219 219 * replies true if my and their primitive have a conflict between 220 220 * their coordinate values 221 * 221 * 222 222 * @return true if my and their primitive have a conflict between 223 223 * their coordinate values; false otherwise … … 233 233 * replies true if my and their primitive have a conflict between 234 234 * their deleted states 235 * 235 * 236 236 * @return true if my and their primitive have a conflict between 237 237 * their deleted states … … 243 243 /** 244 244 * replies true if all conflict in this model are resolved 245 * 245 * 246 246 * @return true if all conflict in this model are resolved; false otherwise 247 247 */ … … 259 259 /** 260 260 * builds the command(s) to apply the conflict resolutions to my primitive 261 * 261 * 262 262 * @param my my primitive 263 263 * @param their their primitive
Note:
See TracChangeset
for help on using the changeset viewer.