ThemeManager themeManager) {
if( factoryUrl == null ) {
factoryUrl = defaultFactoryUrl;
}
IContributionFactory contribFactory = context.get(IContributionFactory.class);
this.factory = (RendererFactory) contribFactory.create(factoryUrl, context);
this.modelService = modelService;
if( context.get(EBindingService.class.getName()) != null ) {
KeyBindingDispatcher dispatcher = ContextInjectionFactory.make(KeyBindingDispatcher.class, context);
context.set(KeyBindingDispatcher.class, dispatcher);