Package com.nomagic.magicdraw.ui
Class ProgressMonitorAdapter
- java.lang.Object
-
- com.nomagic.magicdraw.ui.ProgressMonitorAdapter
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IProgressMonitor
@OpenApi public class ProgressMonitorAdapter extends java.lang.Object implements org.eclipse.core.runtime.IProgressMonitor
An implementation ofProgressStatus
mapper toIProgressMonitor
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.core.runtime.IProgressMonitor
toProgressMonitor(ProgressStatus status)
MapsProgressStatus
toIProgressMonitor
.static ProgressStatus
toProgressStatus(org.eclipse.core.runtime.IProgressMonitor monitor)
MapsIProgressMonitor
toProgressStatus
.
-
-
-
Method Detail
-
toProgressMonitor
@OpenApi public static org.eclipse.core.runtime.IProgressMonitor toProgressMonitor(@CheckForNull ProgressStatus status)
MapsProgressStatus
toIProgressMonitor
.- Parameters:
status
- status to map.- Returns:
- mapped monitor.
-
toProgressStatus
@OpenApi public static ProgressStatus toProgressStatus(@CheckForNull org.eclipse.core.runtime.IProgressMonitor monitor)
MapsIProgressMonitor
toProgressStatus
.- Parameters:
monitor
- monitor to map.- Returns:
- mapped status.
-
-