Class RefreshManager

java.lang.Object
com.nomagic.magicdraw.ui.RefreshManager

@OpenApiAll public class RefreshManager extends Object
Singleton class for registering RefreshManager.RefreshParticipant.
  • Method Details

    • getInstance

      public static RefreshManager getInstance()
    • addRefreshParticipant

      public final void addRefreshParticipant(RefreshManager.RefreshParticipant participant)
      Register participant
      Parameters:
      participant - participant
    • removeRefreshParticipant

      public final void removeRefreshParticipant(RefreshManager.RefreshParticipant participant)
      Remove participant
      Parameters:
      participant - participant
    • refresh

      public void refresh(Project project, ProgressStatus progressStatus)
      Call refresh for all registered participants
      Parameters:
      project - project
      progressStatus - progress status