public static interface ResultRepository.ResultConsumer
Result
s, i.e., that need to react to the addition or removal
of results from the repository. One prominent example of a ResultRepository.ResultConsumer
is the FileParameterRenderer
that adjusts its drop-down list of admissible values to the contents of the ResultRepository
, and the ResultRepositoryRenderer
that
always displays the current contents of the ResultRepository
.Modifier and Type | Method and Description |
---|---|
void |
notifyAdded(Result added)
|
void |
notifyRefresh(Result renamed)
Notifies the
ResultRepository.ResultConsumer that a Result has been modified in the ResultRepository
and the view should be refreshed. |
void |
notifyRemoved(Result removed)
Notifies the
ResultRepository.ResultConsumer that a Result has been removed from the ResultRepository . |
void notifyRemoved(Result removed)
ResultRepository.ResultConsumer
that a Result
has been removed from the ResultRepository
.removed
- the Result
removedvoid notifyRefresh(Result renamed)
ResultRepository.ResultConsumer
that a Result
has been modified in the ResultRepository
and the view should be refreshed.renamed
- the Result
renamed