- Timestamp:
- 04/29/10 15:10:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphView.cs
r3556 r3557 157 157 if (shapeInfo != null) { 158 158 IOperator op = this.VisualizationInfo.GetOperatorForShapeInfo(shapeInfo); 159 IContentView view = MainFormManager. CreateDefaultView(op);159 IContentView view = MainFormManager.MainForm.ShowContent(op); 160 160 if (view != null) { 161 161 view.ReadOnly = this.ReadOnly; 162 162 view.Locked = this.Locked; 163 view.Show();164 163 } 165 164 HandledMouseEventArgs eventArgs = e as HandledMouseEventArgs; … … 197 196 if (shapeInfo != null) { 198 197 IOperator op = this.VisualizationInfo.GetOperatorForShapeInfo(shapeInfo); 199 IContentView view = MainFormManager.CreateDefaultView(op); 200 view.ReadOnly = this.ReadOnly; 201 view.Locked = this.Locked; 202 view.Show(); 198 IContentView view = MainFormManager.MainForm.ShowContent(op); 199 if (view != null) { 200 view.ReadOnly = this.ReadOnly; 201 view.Locked = this.Locked; 202 } 203 203 } 204 204 }
Note: See TracChangeset
for help on using the changeset viewer.