Ignore:
Timestamp:
2009-07-26T22:52:23+02:00 (14 years ago)
Author:
Gubaer
Message:

replaced JOptionDialog.show... by OptionPaneUtil.show....
improved relation editor

Location:
trunk/src/org/openstreetmap/josm/command
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/AddCommand.java

    r1814 r1857  
    1313import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
    1414import org.openstreetmap.josm.gui.PrimitiveNameFormatter;
     15import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    1516import org.openstreetmap.josm.tools.ImageProvider;
    1617
     
    3536    public AddCommand(OsmPrimitive osm) {
    3637        super();
     38        this.osm = osm;
     39    }
     40
     41    /**
     42     * Create the command and specify the element to add.
     43     */
     44    public AddCommand(OsmDataLayer layer, OsmPrimitive osm) {
     45        super(layer);
    3746        this.osm = osm;
    3847    }
Note: See TracChangeset for help on using the changeset viewer.