use of org.rstudio.studio.client.workbench.events.ListChangedEvent in project rstudio by rstudio.
the class AddinsMRUList method onSessionInit.
@Override
public void onSessionInit(SessionInitEvent sie) {
RAddins addins = session_.getSessionInfo().getAddins();
update(addins);
mruList_ = pListManager_.get().getAddinsMruList();
mruList_.addListChangedHandler(new ListChangedHandler() {
@Override
public void onListChanged(ListChangedEvent event) {
mruEntries_ = event.getList();
update(addinRegistry_);
}
});
}
Aggregations