public GnosisPrimarySplitController( GnosisPrimarySplit _primarySplit, // IGnosisPrimarySplitImplementation _primarySplitImplementation, GnosisEntityController entityController, GnosisParentWindowController parentWindow) : base(_primarySplit, entityController, parentWindow) { ((IGnosisPrimarySplitImplementation)ControlImplementation).SetSplitterMovedHandler(new Action <double, int>(SplitterMoved)); }
//public GnosisController.HorizontalAlignmentType TrayHorizontalAlignment //{ // get { return ((GnosisToolbarTray)ControlImplementation).TrayHorizontalAlignment; } //} //public GnosisController.OrientationType Orientation //{ // get { return ((GnosisToolbarTray)ControlImplementation).Orientation; } //} public GnosisToolbarTrayController( GnosisToolbarTray toolbarTray, // IGnosisToolbarTrayImplementation _toolbarTrayImplementation, GnosisEntityController entityController, GnosisParentWindowController parent) : base(toolbarTray, entityController, parent) { toolbarTray.SetHorizontalAlignment(toolbarTray._TrayHorizontalAlignment); }
//public void LoadPrimarySplit(IGnosisPrimarySplitImplementation primarySplit) //{ // contentRoot.Children.Add((GnosisPrimarySplit)primarySplit); //} //public void LoadToolbarTray(IGnosisToolbarTrayImplementation toolbarTray) //{ // switch (((GnosisToolbarTray)toolbarTray).HorizontalAlignment) // { // case HorizontalAlignment.Left: // pnlToolsLeft.Children.Add((GnosisToolbarTray)toolbarTray); // break; // case HorizontalAlignment.Center: // pnlToolsCentre.Children.Add((GnosisToolbarTray)toolbarTray); // break; // case HorizontalAlignment.Right: // pnlToolsRight.Children.Add((GnosisToolbarTray)toolbarTray); // break; // } //} public void SetController(GnosisVisibleController _controller) { controller = (GnosisParentWindowController)_controller; }