[josm-dev] Selection handling

Petr Nejedlý petr at nejedli.cz
Sun Oct 11 16:09:22 BST 2009


Karl Guggisberg napsal(a):
> Hi Dave,
> 
> I saw that your patch regarding selection handling was commited:
>   http://josm.openstreetmap.de/ticket/3676
> 
> When you introduce a new "selection cache" in the future, could you make
> sure it's *ordered*, i.e. it reflects the order in which primitives are
> selected (could be a list, an ordered set, instead of a plain collection)?

FYI: josm-ng used LinkedHashSet for keeping (per-layer) selection and 
used the order just to cover the cases you mentioned.

Nenik




More information about the josm-dev mailing list