Changeset 7226 for trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization
- Timestamp:
- 12/21/11 23:26:30 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphVisualizationInfo.cs
r6572 r7226 121 121 } 122 122 } 123 124 foreach (IOperatorShapeInfo shapeInfo2 in this.operatorShapeInfoMapping.SecondValues) 125 if (string.IsNullOrEmpty(shapeInfo2.TypeName)) shapeInfo2.TypeName = this.operatorShapeInfoMapping.GetBySecond(shapeInfo2).GetType().GetPrettyName(); 123 126 } 124 127 -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorShapeInfo.cs
r7199 r7226 38 38 [StorableConstructor] 39 39 protected OperatorShapeInfo(bool deserializing) : base(deserializing) { } 40 [StorableHook(HookType.AfterDeserialization)] 41 private void AfterDeserialization() { 42 if (string.IsNullOrEmpty(this.typeName)) 43 typeName = title; 44 } 40 45 41 protected OperatorShapeInfo(OperatorShapeInfo original, Cloner cloner) 46 42 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.