/// <summary>
 /// Initialize an unbound visualizer with a name and location.
 /// </summary>
 /// <param name="theModel"></param>
 /// <param name="theTitle"></param>
 protected VisualizerModel(Model theModel, WorkspaceTabTitle theTitle)
     : base(theModel)
 {
     Title = theTitle;
 }
 /// <summary>
 /// Initialize the chessboard visualizer with a screen location.
 /// </summary>
 /// <param name="theBoard"></param>
 /// <param name="theTitle"></param>
 public ChessboardTabModel(ChessboardModel theBoard, WorkspaceTabTitle theTitle)
     : base(theBoard, theTitle)
 {
     this.chessboard = theBoard;
 }
예제 #3
0
 /// <summary>
 /// Initialize a table tab with a model and title.
 /// </summary>
 /// <param name="theTable">Table model.</param>
 /// <param name="theTitle">Table title.</param>
 public TableTabModel(TableModel theTable, WorkspaceTabTitle theTitle)
     : base(theTable, theTitle)
 {
     _table = theTable;
 }