org.eclipse.gmt.umlx.editor.refresh
Interface IRefreshEntry

All Known Implementing Classes:
ProblemDomain

public interface IRefreshEntry

An IRefreshEntry is queued to request some form of refresh of an EditPart. Refrsshes are queued during model update and are serviced once the model is stable. This avoids races between the information model and the display model. The uniqueness of refresh entries aggreagtes multiple updates of the same artefact as may occur in a complex multi-object restore. The priority of the entries ensures that refreshes are performed in an efficient order regardless of the accidental ordering of the underlying model changes.


Nested Class Summary
static class IRefreshEntry.Priority
           
 
Method Summary
 IRefreshEntry.Priority getPriority()
          Return the priority of this refresh queue entry.
 void refresh()
          Perform the queued refresh.
 

Method Detail

getPriority

IRefreshEntry.Priority getPriority()
Return the priority of this refresh queue entry.

Returns:
the priority

refresh

void refresh()
Perform the queued refresh.