Package com.nomagic.magicdraw.ui
Class RefreshManager
- java.lang.Object
-
- com.nomagic.magicdraw.ui.RefreshManager
-
@OpenApiAll public class RefreshManager extends java.lang.Object
Singleton class for registeringRefreshManager.RefreshParticipant
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RefreshManager.RefreshParticipant
Refresh participant
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRefreshParticipant(RefreshManager.RefreshParticipant participant)
Register participantstatic RefreshManager
getInstance()
void
refresh(Project project, ProgressStatus progressStatus)
Call refresh for all registered participantsvoid
removeRefreshParticipant(RefreshManager.RefreshParticipant participant)
Remove participant
-
-
-
Method Detail
-
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
- projectprogressStatus
- progress status
-
-