private void Close(EditorKey key) { if (!this.editors.ContainsKey(key)) { return; } this.editors[key].Close(); }
public void Open(System.Type editorType, EditorKey editorKey) { if (!typeof(EditorWindow).IsAssignableFrom(editorType)) { throw new ArgumentException(string.Format("{0} is not subclass of EditorWindow", (object)editorType)); } Global.DockManager.Open(editorType, (object)editorKey); }
public void MoveTo(System.Type editorType, EditorKey editorKey, string methodName, string[] methodDefinition) { this.Open(editorType, editorKey); EditorWindow editorWindow = this.editors[editorKey]; if (editorWindow.MoveTo(methodName)) return; editorWindow.InsertMethod(methodDefinition, 2, 2); }
public void MoveTo(System.Type editorType, EditorKey editorKey, string methodName, string[] methodDefinition) { this.Open(editorType, editorKey); EditorWindow editorWindow = this.editors[editorKey]; if (editorWindow.MoveTo(methodName)) { return; } editorWindow.InsertMethod(methodDefinition, 2, 2); }
public void MoveTo(System.Type editorType, EditorKey editorKey, int line, int column) { this.Open(editorType, editorKey); this.editors[editorKey].MoveTo(line - 1, column); }
public void MoveTo(System.Type editorType, EditorKey editorKey, int line, int column) { this.Open(editorType, editorKey); this.editors[editorKey].MoveTo(line - 1, column); }
private void Close(EditorKey key) { if (!this.editors.ContainsKey(key)) return; this.editors[key].Close(); }
public void Open(System.Type editorType, EditorKey editorKey) { if (!typeof(EditorWindow).IsAssignableFrom(editorType)) throw new ArgumentException(string.Format("{0} is not subclass of EditorWindow", (object)editorType)); Global.DockManager.Open(editorType, (object)editorKey); }