[josm-dev] new plugin delete segments
Jorge Luis Chamorro
chamorro at plug.org.ar
Wed Jan 28 11:00:39 GMT 2009
I'm making a simple plugin that enter in a mode that delete segments of
ways.
My plugin extends MapMode and implements MouseListener ,then in
mouseClicked() I find the nearest segment of way . I need to delete it .
I can select this way and the two nodes then I can call to
SplitWayAction() that is in
org.openstreetmap.josm.actions.SplitWayAction but I don't know how can I
call this method ( I do not have much experience with java ).
can you givme a clue ?
thanks in advance , Jorge
More information about the josm-dev
mailing list