[josm-dev] Selecting objects in JOSM
Raphael Mack
ramack at raphael-mack.de
Mon Aug 25 17:22:39 BST 2008
Am Montag, 25. August 2008 schrieb Dirk Stöcker:
> On Sun, 24 Aug 2008, Raphael Mack wrote:
> > Am Sonntag, 24. August 2008 schrieb Dirk Stöcker:
> >> On Sun, 24 Aug 2008, Raphael Mack wrote:
> >>> There is still some work left to get the latest features like
> >>> virtual nodes in, but I'd be glad to hear, that you are interested
> >>> in my changes, else I just stop working on it.
> >>
> >> I would like to have the ability to clean out GPX files without the
> >> current workaround to convert them into osm and back.
> >
> > ok, so I went on merging changes and got a version, which seems to
> > work somehow.
> > Find a diff and a josm-custom.jar at
> > http://files.raphael-mack.de/josm/josm-selection/
> >
> > It would be nice, if you could try the recently introduced features
> > and take a look at the code.
>
> Beside the deprecation warnings, I get following errors:
>
> [javac] src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java:647:
> cannot find symbol [javac] symbol : method
> selectPrims(java.util.Set<org.openstreetmap.josm.data.osm.OsmPrimitive>,
>boolean,boolean) [javac] location: class
> org.openstreetmap.josm.gui.layer.OsmDataLayer [javac]
> selectPrims(Collections.singleton((OsmPrimitive)virtualNode), false,
> false); [javac] ^
> [javac] src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java:656:
> cannot find symbol [javac] symbol : variable Mode
> [javac] location: class
> org.openstreetmap.josm.gui.layer.OsmDataLayer [javac] if (mode
> == Mode.rotate && affectedNodes.size() < 2) [javac]
> ^
> [javac] src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java:664:
> cannot find symbol [javac] symbol : variable Mode
> [javac] location: class
> org.openstreetmap.josm.gui.layer.OsmDataLayer [javac] if (mode
> == Mode.move) {
> [javac] ^
> [javac] src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java:681:
> cannot find symbol [javac] symbol : variable Mode
> [javac] location: class
> org.openstreetmap.josm.gui.layer.OsmDataLayer [javac] } else if
> (mode == Mode.rotate) {
> [javac] ^
> [javac] src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java:685:
> cannot find symbol [javac] symbol : constructor
> RotateCommand(java.util.Collection<org.openstreetmap.josm.data.osm.OsmPr
>imitive>,org.openstreetmap.josm.data.coor.EastNorth,org.openstreetmap.jos
>m.data.coor.EastNorth) [javac] location: class
> org.openstreetmap.josm.command.RotateCommand [javac]
> Main.main.undoRedo.add(new RotateCommand(selection, mouseStartEN,
> mouseEN)); [javac] ^
>
> Ciao
Ooops, I wanted to make a patch against the latest revision in svn and did
a svn up before making the patch. And I forgot to recompile... should be
better now. (its a patch against r868 now)
The deprecation messages are trivial to resolve and I'll do it before
commiting of course.
Cheers,
Rapha
More information about the josm-dev
mailing list