- Timestamp:
- 11/18/15 12:30:56 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization.Views/3.3/OperatorGraphView.cs
r13014 r13244 141 141 if (shapeInfo != null) { 142 142 IOperator op = this.VisualizationInfo.GetOperatorForShapeInfo(shapeInfo); 143 AlgorithmOperator algOp = op as AlgorithmOperator;143 IOperatorGraphOperator graphOp = op as IOperatorGraphOperator; 144 144 145 145 Control c = this; … … 151 151 } while ((vh == null || !vh.EnableBreadcrumbs) && c != null); 152 152 153 if ( algOp != null && vh != null) {153 if (graphOp != null && vh != null) { 154 154 vh.AddBreadcrumbs(vh.Content); 155 vh.AddBreadcrumb( algOp.Name, algOp.OperatorGraph);156 vh.Content = algOp.OperatorGraph;155 vh.AddBreadcrumb(graphOp.Name, graphOp.OperatorGraph); 156 vh.Content = graphOp.OperatorGraph; 157 157 vh.ReadOnly = ReadOnly; 158 158 vh.Locked = Locked;
Note: See TracChangeset
for help on using the changeset viewer.