Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/17/10 23:50:05 (14 years ago)
Author:
mkommend
Message:

completly refactored the graph visualization (ticket #867)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/OperatorGraph.cs

    r3317 r3386  
    9090    protected OperatorGraph(bool deserializing) : base(deserializing) { }
    9191
     92    //mkommend: IMPROTANT DO NOT REMOVE THIS PRIVATE EVENT
     93    //needed to register OperatorGraph events in GraphVisualizationInfo
     94    public event EventHandler DeserializationFinished;
     95    private void OnOperatorGraphDeserializationFinished() {
     96      EventHandler handler = DeserializationFinished;
     97      if(handler != null)
     98        handler(this,EventArgs.Empty);
     99    }
    92100    [StorableHook(HookType.AfterDeserialization)]
    93101    private void Initialize() {
    94102      RegisterOperatorsEvents();
     103      OnOperatorGraphDeserializationFinished();
    95104    }
    96105
Note: See TracChangeset for help on using the changeset viewer.