Ejemplo n.º 1
0
 public IFileTabUIContext Create <T>() where T : class, IFileTabUIContext
 {
     if (typeof(T) == typeof(ITextEditorUIContext))
     {
         var ttRefFinder = new ToolTipReferenceFinder();
         var uiContext   = new TextEditorUIContext(wpfCommandManager, textEditorUIContextManagerImpl);
         var tec         = new TextEditorControl(themeManager, new ToolTipHelper(codeToolTipManager, ttRefFinder), textEditorSettings, uiContext, uiContext, textLineObjectManager, imageManager, iconBarCommandManager);
         uiContext.Initialize(menuManager, tec);
         ttRefFinder.UIContext = uiContext;
         textEditorUIContextManagerImpl.RaiseAddedEvent(uiContext);
         return(uiContext);
     }
     return(null);
 }
Ejemplo n.º 2
0
			public GuidObjectsCreator(TextEditorUIContext uiContext) {
				this.uiContext = uiContext;
			}
Ejemplo n.º 3
0
 public GuidObjectsCreator(TextEditorUIContext uiContext)
 {
     this.uiContext = uiContext;
 }