Class ProgressMonitorAdapter

    • Method Detail

      • toProgressMonitor

        @OpenApi
        public static org.eclipse.core.runtime.IProgressMonitor toProgressMonitor​(@CheckForNull
                                                                                  ProgressStatus status)
        Maps ProgressStatus to IProgressMonitor.
        Parameters:
        status - status to map.
        Returns:
        mapped monitor.
      • toProgressStatus

        @OpenApi
        public static ProgressStatus toProgressStatus​(@CheckForNull
                                                      org.eclipse.core.runtime.IProgressMonitor monitor)
        Maps IProgressMonitor to ProgressStatus.
        Parameters:
        monitor - monitor to map.
        Returns:
        mapped status.