Changeset 3423 for trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphView.cs
- Timestamp:
- 04/19/10 22:16:27 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphView.cs
r3386 r3423 156 156 if (shapeInfo != null) { 157 157 IOperator op = this.VisualizationInfo.GetOperatorForShapeInfo(shapeInfo); 158 MainFormManager.CreateDefaultView(op).Show(); 158 IContentView view = MainFormManager.CreateDefaultView(op); 159 if (view != null) { 160 view.ReadOnly = this.ReadOnly; 161 view.Locked = this.Locked; 162 view.Show(); 163 } 159 164 HandledMouseEventArgs eventArgs = e as HandledMouseEventArgs; 160 165 if (eventArgs != null) … … 189 194 if (shapeInfo != null) { 190 195 IOperator op = this.VisualizationInfo.GetOperatorForShapeInfo(shapeInfo); 191 MainFormManager.CreateDefaultView(op).Show(); 196 IContentView view = MainFormManager.CreateDefaultView(op); 197 view.ReadOnly = this.ReadOnly; 198 view.Locked = this.Locked; 199 view.Show(); 192 200 } 193 201 }
Note: See TracChangeset
for help on using the changeset viewer.