Ignore:
Timestamp:
2017-09-12T16:50:56+02:00 (3 years ago)
Author:
Don-vip
Message:

see #15229 - see #15182 - see #13036 - convert SplitWayAction to SplitWayCommand to remove dependence of DeleteCommand on actions package

File:
1 edited

Legend:

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

    r12825 r12828  
    7878import org.openstreetmap.josm.actions.search.SearchAction;
    7979import org.openstreetmap.josm.command.DeleteCommand;
     80import org.openstreetmap.josm.command.SplitWayCommand;
    8081import org.openstreetmap.josm.data.Bounds;
    8182import org.openstreetmap.josm.data.UndoRedoHandler;
     
    10981099        MessageNotifier.setNotifierCallback(MainApplication::notifyNewMessages);
    10991100        DeleteCommand.setDeletionCallback(DeleteAction.defaultDeletionCallback);
     1101        SplitWayCommand.setWarningNotifier(msg -> new Notification(msg).setIcon(JOptionPane.WARNING_MESSAGE).show());
    11001102        FileWatcher.registerLoader(SourceType.MAP_PAINT_STYLE, MapPaintStyleLoader::reloadStyle);
    11011103        FileWatcher.registerLoader(SourceType.TAGCHECKER_RULE, MapCSSTagChecker::reloadRule);
Note: See TracChangeset for help on using the changeset viewer.