NEW RELEASE! The 2022x Refresh2 Hot Fix 3 was released on February 28, 2025. For more information, see 2022x Refresh2 Hot Fix 3 Version News.

For long lasting actions, there is a need to show a progress and run the asynchronous code.

There are two options to execute these actions:

  • a foreground task - use com.nomagic.task.RunnableWithProgress or com.nomagic.magicdraw.ui.MagicDrawProgressStatusRunner
  • a background task - use com.nomagic.magicdraw.task.BackgroundTaskRunner

 You can find the code examples in <modeling tool installation directory>\openapi\examples\progressstatus

Related pages

Activity

All
Personal filters
All