Ignore:
Timestamp:
2017-08-24T15:54:00+02:00 (2 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate Main.worker, replace it by gui.MainApplication.worker + code refactoring to make sure only editor packages use it

File:
1 edited

Legend:

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

    r12620 r12634  
    5050import org.openstreetmap.josm.data.preferences.StrokeProperty;
    5151import org.openstreetmap.josm.gui.ExtendedDialog;
     52import org.openstreetmap.josm.gui.MainApplication;
    5253import org.openstreetmap.josm.gui.widgets.HtmlPanel;
    5354import org.openstreetmap.josm.tools.CheckParameterUtil;
     
    9394     */
    9495    public static void executeByMainWorkerInEDT(final Runnable task) {
    95         Main.worker.submit(() -> runInEDTAndWait(task));
     96        MainApplication.worker.submit(() -> runInEDTAndWait(task));
    9697    }
    9798
Note: See TracChangeset for help on using the changeset viewer.