Changeset 1925 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/relation/ChildRelationBrowser.java
- Timestamp:
- 2009-08-08T08:52:03+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/ChildRelationBrowser.java
r1889 r1925 51 51 * ChildRelationBrowser is a UI component which provides a tree-like view on the hierarchical 52 52 * structure of relations 53 * 53 * 54 54 * 55 55 */ … … 67 67 /** 68 68 * Replies the {@see OsmDataLayer} this editor is related to 69 * 69 * 70 70 * @return the osm data layer 71 71 */ … … 88 88 /** 89 89 * builds the panel with the command buttons 90 * 90 * 91 91 * @return the button panel 92 92 */ … … 114 114 /** 115 115 * constructor 116 * 116 * 117 117 * @param layer the {@see OsmDataLayer} this browser is related to. Must not be null. 118 118 * @exception IllegalArgumentException thrown, if layer is null … … 128 128 /** 129 129 * constructor 130 * 130 * 131 131 * @param layer the {@see OsmDataLayer} this browser is related to. Must not be null. 132 132 * @param root the root relation … … 140 140 /** 141 141 * populates the browser with a relation 142 * 142 * 143 143 * @param r the relation 144 144 */ … … 149 149 /** 150 150 * populates the browser with a list of relation members 151 * 151 * 152 152 * @param members the list of relation members 153 153 */ … … 159 159 /** 160 160 * replies the parent dialog this browser is embedded in 161 * 161 * 162 162 * @return the parent dialog; null, if there is no {@see Dialog} as parent dialog 163 163 */ … … 172 172 /** 173 173 * Action for editing the currently selected relation 174 * 175 * 174 * 175 * 176 176 */ 177 177 class EditAction extends AbstractAction implements TreeSelectionListener { … … 278 278 /** 279 279 * The asynchronous task for downloading relation members. 280 * 281 * 280 * 281 * 282 282 */ 283 283 class DownloadAllChildrenTask extends PleaseWaitRunnable { … … 338 338 * warns the user if a relation couldn't be loaded because it was deleted on 339 339 * the server (the server replied a HTTP code 410) 340 * 340 * 341 341 * @param r the relation 342 342 */ … … 360 360 /** 361 361 * Remembers the child relations to download 362 * 362 * 363 363 * @param parent the parent relation 364 364 */ 365 365 protected void rememberChildRelationsToDownload(Relation parent) { 366 366 downloadedRelationIds.add(parent.id); 367 for (RelationMember member: parent. members) {367 for (RelationMember member: parent.getMembers()) { 368 368 if (member.member instanceof Relation) { 369 369 Relation child = (Relation)member.member; … … 378 378 * Merges the primitives in <code>ds</code> to the dataset of the 379 379 * edit layer 380 * 380 * 381 381 * @param ds the data set 382 382 */
Note:
See TracChangeset
for help on using the changeset viewer.