public DocumentViewModel(String file, Control control, ViDocManager docManager)
 {
     this.FilePath   = file;
     this.Title      = this.FileName;
     this.Control    = control;
     this.docManager = docManager;
 }
 public DocumentViewModel(IViEditor editor, ViDocManager docManager)
 {
     this.editor     = editor;
     this.FilePath   = editor.FileName;
     this.Title      = this.FileName;
     this.Control    = editor.Control;
     this.docManager = docManager;
 }