protected EditableWindowContextManager createWindowContextManager(WindowContextConfig windowContextConfig,
ConversationConfig conversationConfig,
ProjectStage projectStage,
BeanManager beanManager)
{
WindowContextManagerFactory windowContextManagerFactory =
CodiUtils.getContextualReferenceByClass(beanManager, WindowContextManagerFactory.class, true);
if(windowContextManagerFactory != null)
{
return windowContextManagerFactory.createWindowContextManager(windowContextConfig, conversationConfig);
}
return new DefaultWindowContextManager(windowContextConfig, conversationConfig, projectStage, beanManager);
}