Пример #1
0
        ///////////////////////////////////////////////////////////////////////////////////
        //..................................................................... IGPObserver

        /// <summary>
        /// Adds the given axis to the list of permanently observed axes.
        /// If observed, axis can span metavisualizations between them, if
        /// they fullfill given factors.
        /// </summary>
        /// <param name="axis"></param>
        public override void Observe(AAxis observable)
        {
            // do not observe axes of meta-visualizations
            if (!observable.Base().isMetaVis)
            {
                observable.Subscribe(this);
                observedAxes.Add(observable);
                normalVisualizations.Add(observable.Base());

                UpdateAxis(observable);
            }
        }
Пример #2
0
 public void Observe(AAxis observable)
 {
     observable.Subscribe(this);
 }