Ignore:
Timestamp:
23.06.2009 22:03:37 (3 years ago)
Author:
Gubaer
Message:

new: MultiFetchServerObjectReader using APIs Multi Fetch method
update: now uses Multi Fetch to check for deleted primitives on the server
update: now uses Multi Fetch to update the selected primitives with the state from the server
fixed: cleaned up merging in MergeVisitor
new: conflict resolution dialog; now resolves conflicts due to different visibilities
new: replacement for realEqual() on OsmPrimitive and derived classes; realEqual now @deprecated
fixed: cleaning up OsmReader
fixed: progress indication in OsmApi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ConflictResolutionDialog.java

    r1677 r1690  
    2323import org.openstreetmap.josm.command.Command; 
    2424import org.openstreetmap.josm.gui.conflict.ConflictResolver; 
     25import org.openstreetmap.josm.gui.conflict.properties.OperationCancelledException; 
    2526import org.openstreetmap.josm.tools.ImageProvider; 
    2627 
     
    190191                    return; 
    191192            } 
    192             Command cmd = resolver.buildResolveCommand(); 
    193             Main.main.undoRedo.add(cmd); 
     193            try { 
     194                Command cmd = resolver.buildResolveCommand(); 
     195                Main.main.undoRedo.add(cmd); 
     196            } catch(OperationCancelledException e) { 
     197                // do nothing. Exception already reported 
     198            } 
    194199            setVisible(false); 
    195200        } 
Note: See TracChangeset for help on using the changeset viewer.