Class MapPaintStyleLoader

    • Method Detail

      • finish

        protected void finish()
        Description copied from class: PleaseWaitRunnable
        Finish up the data work. Is guaranteed to be called if realRun is called. Finish is called in the gui thread just after the dialog disappeared.
        Specified by:
        finish in class PleaseWaitRunnable
      • realRun

        protected void realRun()
        Description copied from class: PleaseWaitRunnable
        Called in the worker thread to do the actual work. When any of the exception is thrown, a message box will be displayed and closeDialog is called. finish() is called in any case.
        Specified by:
        realRun in class PleaseWaitRunnable
      • reloadStyles

        public static void reloadStyles​(int... sel)
        Reload styles preferences are the same, but the file source may have changed
        Parameters:
        sel - the indices of styles to reload
      • reloadStyle

        public static void reloadStyle​(SourceEntry style)
        Reload style.
        Parameters:
        style - StyleSource to reload
        Throws:
        java.lang.IllegalArgumentException - if style is not a StyleSource instance
        Since:
        12825