Ejemplo n.º 1
0
		public override void OnVisibilityChanged(ToolWindowContentVisibilityEvent visEvent) {
			switch (visEvent) {
			case ToolWindowContentVisibilityEvent.Added:
				ScriptContent.OnShow();
				break;
			case ToolWindowContentVisibilityEvent.Removed:
				ScriptContent.OnClose();
				break;
			case ToolWindowContentVisibilityEvent.Visible:
				ScriptContent.OnVisible();
				break;
			case ToolWindowContentVisibilityEvent.Hidden:
				ScriptContent.OnHidden();
				break;
			}
		}
Ejemplo n.º 2
0
 public ReplEditorCtxMenuContext(IReplEditor ui)
 {
     UI = ui;
     VM = ScriptContent.GetScriptContent(ui).ScriptControlVM;
 }
Ejemplo n.º 3
0
 public ReplEditorCtxMenuContext(IReplEditorUI ui)
 {
     this.UI = ui;
     this.VM = ScriptContent.GetScriptContent(ui).ScriptControlVM;
 }