Ignore:
Timestamp:
2009-08-08T08:52:03+02:00 (15 years ago)
Author:
jttt
Message:

Replaced Relation.members with Relation.getMembers()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/ChildRelationBrowser.java

    r1889 r1925  
    5151 * ChildRelationBrowser is a UI component which provides a tree-like view on the hierarchical
    5252 * structure of relations
    53  * 
     53 *
    5454 *
    5555 */
     
    6767    /**
    6868     * Replies the {@see OsmDataLayer} this editor is related to
    69      * 
     69     *
    7070     * @return the osm data layer
    7171     */
     
    8888    /**
    8989     * builds the panel with the command buttons
    90      * 
     90     *
    9191     * @return the button panel
    9292     */
     
    114114    /**
    115115     * constructor
    116      * 
     116     *
    117117     * @param layer the {@see OsmDataLayer} this browser is related to. Must not be null.
    118118     * @exception IllegalArgumentException thrown, if layer is null
     
    128128    /**
    129129     * constructor
    130      * 
     130     *
    131131     * @param layer the {@see OsmDataLayer} this browser is related to. Must not be null.
    132132     * @param root the root relation
     
    140140    /**
    141141     * populates the browser with a relation
    142      * 
     142     *
    143143     * @param r the relation
    144144     */
     
    149149    /**
    150150     * populates the browser with a list of relation members
    151      * 
     151     *
    152152     * @param members the list of relation members
    153153     */
     
    159159    /**
    160160     * replies the parent dialog this browser is embedded in
    161      * 
     161     *
    162162     * @return the parent dialog; null, if there is no {@see Dialog} as parent dialog
    163163     */
     
    172172    /**
    173173     * Action for editing the currently selected relation
    174      * 
    175      * 
     174     *
     175     *
    176176     */
    177177    class EditAction extends AbstractAction implements TreeSelectionListener {
     
    278278    /**
    279279     * The asynchronous task for downloading relation members.
    280      * 
    281      * 
     280     *
     281     *
    282282     */
    283283    class DownloadAllChildrenTask extends PleaseWaitRunnable {
     
    338338         * warns the user if a relation couldn't be loaded because it was deleted on
    339339         * the server (the server replied a HTTP code 410)
    340          * 
     340         *
    341341         * @param r the relation
    342342         */
     
    360360        /**
    361361         * Remembers the child relations to download
    362          * 
     362         *
    363363         * @param parent the parent relation
    364364         */
    365365        protected void rememberChildRelationsToDownload(Relation parent) {
    366366            downloadedRelationIds.add(parent.id);
    367             for (RelationMember member: parent.members) {
     367            for (RelationMember member: parent.getMembers()) {
    368368                if (member.member instanceof Relation) {
    369369                    Relation child = (Relation)member.member;
     
    378378         * Merges the primitives in <code>ds</code> to the dataset of the
    379379         * edit layer
    380          * 
     380         *
    381381         * @param ds the data set
    382382         */
Note: See TracChangeset for help on using the changeset viewer.