private UIContextImpl getUIContextInstance(Resource<?>... initialSelection)
{
Imported<UIContextListener> listeners = addonRegistry.getServices(UIContextListener.class);
UISelection<Resource<?>> selection = Selections.from(initialSelection);
UIContextImpl context = new UIContextImpl(getProvider(), listeners, selection);
return context;
}