[josm-dev] How to update changes in dataSet ?

Dirk Stöcker openstreetmap at dstoecker.de
Tue Jan 4 20:34:57 GMT 2011


On Tue, 4 Jan 2011, Flávio Henrique wrote:

> One question that could clarify many things for me:
>
> after calling Main.main.undoRedo.add(new SequenceCommand(tr("My job"),
> cmds)), a new calling for method:
> nc.getCurrentDataSet().getWays() should return the combined ways (without
> the original ones)?

I think so, yes. But I'm not sure. Maybe that is a parallel thread and 
thus asynchroneus. Some of these who had a deeper look into these 
structures lately (Jiri, Sebastion, Upliner) probably know better.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)


More information about the josm-dev mailing list