Ignore:
Timestamp:
10.03.2010 10:00:20 (2 years ago)
Author:
Gubaer
Message:

fixed #4651: Ability to download incomplete relation from selection
fixed #4098: Popup Menu entry "download relation members" in relation dialog should be "download incomplete relation members"
fixed two NPEs in RelationListDialog and SelectionListDialog
refactored SelectionListDialog to support better user feedback (enabled/disabled buttons and menu items)
Finally removed the sort() method on DataSet, marked as FIXME since a long time.

CAVEAT: DataSet.getSelected() now returns an unmodifiable list instead of a copy of the selection list. This may lead to UnsupportedOperationExceptions in the next few days. I tried to make sure the JOSM core uses getSelected() only for reading, but I didn't check the plugins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPaintVisitor.java

    r2982 r3102  
    1717import java.util.Comparator; 
    1818import java.util.LinkedList; 
     19import java.util.List; 
    1920 
    2021import org.openstreetmap.josm.Main; 
     
    674675            Collection<Way> noAreaWays = new LinkedList<Way>(); 
    675676 
     677            List<Relation> relations = data.searchRelations(bbox); 
    676678            /*** RELATIONS ***/ 
    677679            for (final Relation osm: data.searchRelations(bbox)) { 
Note: See TracChangeset for help on using the changeset viewer.