Esempio n. 1
0
 public void SwitchedView(BaseWindowsCanvasView canvasView)
 {
     ModelDiagramForm modelDiagramForm = canvasView.GetOwnerForm() as ModelDiagramForm;
       if (modelDiagramForm != null)
     DockDocument(modelDiagramForm, true, true);
 }
Esempio n. 2
0
 public void ToolChanged(BaseWindowsCanvasView canvasView)
 {
     ModelDiagramForm modelDiagramForm = canvasView.GetOwnerForm() as ModelDiagramForm;
       if (modelDiagramForm != null)
     modelDiagramForm.OnToolChanged();
 }
Esempio n. 3
0
 /// <summary>
 /// Frees a model diagram form once its backend was freed.
 /// </summary>
 public void DestroyView(BaseWindowsCanvasView canvasView)
 {
     ModelDiagramForm modelDiagramForm = canvasView.GetOwnerForm() as ModelDiagramForm;
       if (modelDiagramForm != null)
       {
     modelDiagramForm.Close();
     if (workbenchPhysicalOverviewForm != null)
       workbenchPhysicalOverviewForm.Activate();
       }
 }