Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/18/15 12:30:56 (8 years ago)
Author:
jkarder
Message:

#2116: worked on breadcrumb navigation

  • OperatorGraphView now checks for IOperatorGraphOperator instead of AlgorithmOperator
  • removed breadcrumbs from collection views
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization.Views/3.3/OperatorGraphView.cs

    r13014 r13244  
    141141          if (shapeInfo != null) {
    142142            IOperator op = this.VisualizationInfo.GetOperatorForShapeInfo(shapeInfo);
    143             AlgorithmOperator algOp = op as AlgorithmOperator;
     143            IOperatorGraphOperator graphOp = op as IOperatorGraphOperator;
    144144
    145145            Control c = this;
     
    151151            } while ((vh == null || !vh.EnableBreadcrumbs) && c != null);
    152152
    153             if (algOp != null && vh != null) {
     153            if (graphOp != null && vh != null) {
    154154              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;
    157157              vh.ReadOnly = ReadOnly;
    158158              vh.Locked = Locked;
Note: See TracChangeset for help on using the changeset viewer.