Changeset 276 in josm


Ignore:
Timestamp:
2007-07-05T14:21:15+02:00 (17 years ago)
Author:
imi
Message:
  • fixed comments only (added some TODO in order to provide #20)
Location:
src/org/openstreetmap/josm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/gui/MapFrame.java

    r237 r276  
    6666        public final ButtonGroup toolGroup = new ButtonGroup();
    6767
    68         /**
    69          * Construct a map with a given DataSet. The set cannot be replaced after
    70          * construction (but of course, the data can be altered using the map's
    71          * editing features).
    72          *
    73          * @param layer The first layer in the mapView.
    74          */
     68
    7569        public MapFrame() {
    7670                setSize(400,400);
  • src/org/openstreetmap/josm/gui/MapView.java

    r262 r276  
    3737 * what projection the map is viewed etc..
    3838 *
    39  * MapView is able to administrate several layers, but there must be always at
    40  * least one layer with a dataset in it (Layer.getDataSet returning non-null).
     39 * MapView is able to administrate several layers.
    4140 *
    4241 * @author imi
  • src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java

    r247 r276  
    217217        /**
    218218         * Undoes the last added command.
     219         * TODO: This has to be moved to a central place in order to support multiple layers.
    219220         */
    220221        public void undo() {
     
    230231        /**
    231232         * Redoes the last undoed command.
     233         * TODO: This has to be moved to a central place in order to support multiple layers.
    232234         */
    233235        public void redo() {
  • src/org/openstreetmap/josm/io/OsmReader.java

    r242 r276  
    226226                if (node.id == id)
    227227                        return node;
     228            // TODO: This has to be changed to support multiple layers.
    228229            for (Node node : Main.ds.nodes)
    229230                if (node.id == id)
     
    239240                        if (seg.id == id)
    240241                                return seg;
     242                // TODO: This has to be changed to support multiple layers.
    241243                for (Segment seg : Main.ds.segments)
    242244                        if (seg.id == id)
     
    270272         * @param ref The dataset that is search in for references first. If
    271273         *      the Reference is not found here, Main.ds is searched.
     274         * TODO: This has to be changed to support multiple layers.
    272275         */
    273276        public static DataSet parseDataSet(InputStream source, DataSet ref, PleaseWaitDialog pleaseWaitDlg) throws SAXException, IOException {
Note: See TracChangeset for help on using the changeset viewer.