Class LongRunningActionDelegate

    • Constructor Detail

      • LongRunningActionDelegate

        public LongRunningActionDelegate()
    • Method Detail

      • getTotalWork

        @Deprecated
        protected final int getTotalWork()
        Deprecated.
        Not supported anymore.
      • setTotalWork

        @Deprecated
        protected final void setTotalWork​(int totalWork)
        Deprecated.
        Not supported anymore.
      • cancel

        protected final void cancel()
      • safeRun

        protected final void safeRun()
                              throws java.lang.Exception
        Specified by:
        safeRun in class SafeActionDelegate
        Throws:
        java.lang.Exception
      • preRun

        protected void preRun()
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getBundleID

        protected java.lang.String getBundleID()
      • getErrorTitle

        protected java.lang.String getErrorTitle​(java.lang.Exception ex)
        Since:
        3.12
      • getErrorMessage

        protected java.lang.String getErrorMessage​(java.lang.Exception ex)
        Since:
        3.12
      • doRun

        protected abstract void doRun​(IProgressMonitor progressMonitor)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
        Since:
        2.0
      • checkCancelation

        protected final void checkCancelation​(IProgressMonitor monitor)