Exemplo n.º 1
0
 public void SwitchedView(BaseWindowsCanvasView canvasView)
 {
     ModelDiagramForm modelDiagramForm = canvasView.GetOwnerForm() as ModelDiagramForm;
       if (modelDiagramForm != null)
     DockDocument(modelDiagramForm, true, true);
 }
Exemplo n.º 2
0
 public void ToolChanged(BaseWindowsCanvasView canvasView)
 {
     ModelDiagramForm modelDiagramForm = canvasView.GetOwnerForm() as ModelDiagramForm;
       if (modelDiagramForm != null)
     modelDiagramForm.OnToolChanged();
 }
Exemplo 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();
       }
 }