Changeset 2512 in josm for trunk/src/org/openstreetmap/josm/gui/conflict/tags/MultiValueResolutionDecision.java
- Timestamp:
- 2009-11-24T10:45:04+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/tags/MultiValueResolutionDecision.java
r2181 r2512 17 17 /** 18 18 * Represents a decision for a conflict due to multiple possible value for a tag. 19 * 19 * 20 20 * 21 21 */ … … 41 41 * Creates a new decision for the tag collection <code>tags</code>. 42 42 * All tags must have the same key. 43 * 43 * 44 44 * @param tags the tags. Must not be null. 45 45 * @exception IllegalArgumentException thrown if tags is null … … 90 90 /** 91 91 * Apply the decision to keep exactly one value 92 * 92 * 93 93 * @param value the value to keep 94 94 * @throws IllegalArgumentException thrown if value is null … … 106 106 /** 107 107 * sets a new value for this 108 * 108 * 109 109 * @param value the new vlaue 110 110 */ … … 120 120 /** 121 121 * marks this as undecided 122 * 122 * 123 123 */ 124 124 public void undecide() { … … 128 128 /** 129 129 * Replies the chosen value 130 * 130 * 131 131 * @return the chosen value 132 132 * @throws IllegalStateException thrown if this resolution is not yet decided … … 145 145 /** 146 146 * Replies the list of possible, non empty values 147 * 147 * 148 148 * @return the list of possible, non empty values 149 149 */ … … 158 158 /** 159 159 * Replies the key of the tag to be resolved by this resolution 160 * 160 * 161 161 * @return the key of the tag to be resolved by this resolution 162 162 */ … … 167 167 /** 168 168 * Replies true if the empty value is a possible value in this resolution 169 * 169 * 170 170 * @return true if the empty value is a possible value in this resolution 171 171 */ … … 176 176 /** 177 177 * Replies true, if this resolution has more than 1 possible non-empty values 178 * 178 * 179 179 * @return true, if this resolution has more than 1 possible non-empty values 180 180 */ … … 185 185 /** 186 186 * Replies true if this resolution is decided 187 * 187 * 188 188 * @return true if this resolution is decided 189 189 */ … … 194 194 /** 195 195 * Replies the type of the resolution 196 * 196 * 197 197 * @return the type of the resolution 198 198 */ … … 203 203 /** 204 204 * Applies the resolution to an {@see OsmPrimitive} 205 * 205 * 206 206 * @param primitive the primitive 207 207 * @throws IllegalStateException thrown if this resolution is not resolved yet 208 * 208 * 209 209 */ 210 210 public void applyTo(OsmPrimitive primitive) throws IllegalStateException{ … … 223 223 /** 224 224 * Applies this resolution to a collection of primitives 225 * 225 * 226 226 * @param primtives the collection of primitives 227 227 * @throws IllegalStateException thrown if this resolution is not resolved yet … … 239 239 /** 240 240 * Builds a change command for applying this resolution to a primitive 241 * 241 * 242 242 * @param primitive the primitive 243 243 * @return the change command … … 258 258 /** 259 259 * Builds a change command for applying this resolution to a collection of primitives 260 * 260 * 261 261 * @param primitives the collection of primitives 262 262 * @return the change command … … 278 278 * Replies a tag representing the current resolution. Null, if this resolution is not resolved 279 279 * yet. 280 * 280 * 281 281 * @return a tag representing the current resolution. Null, if this resolution is not resolved 282 282 * yet
Note:
See TracChangeset
for help on using the changeset viewer.