Ejemplo n.º 1
0
 public ManagedDataSource( DataSource source )
 {
     this.source = source;
     spectrumListForm = new SpectrumListForm();
     spectrumProcessingForm = new SpectrumProcessingForm();
     chromatogramListForm = new ChromatogramListForm();
     graphInfoMap = new GraphInfoMap();
 }
Ejemplo n.º 2
0
        public void updateGraph( bool clearOverlays )
        {
            if( clearOverlays )
                currentOverlays.Clear();

            showData( currentGraphItem, false );
            DataSource primaryDataSource = currentDataSource;
            foreach( RefPair<DataSource, GraphItem> overlayDataPair in currentOverlays )
            {
                currentDataSource = overlayDataPair.first;
                showData( overlayDataPair.second, true );
            }
            currentDataSource = primaryDataSource;
        }
Ejemplo n.º 3
0
 public void ShowDataOverlay( DataSource dataSource, GraphItem dataItem )
 {
     currentOverlays.Add( new RefPair<DataSource, GraphItem>( dataSource, dataItem ) );
     currentDataSource = dataSource;
     currentGraphItem = dataItem;
     showData( dataItem, true );
 }
Ejemplo n.º 4
0
 public void ShowData( DataSource dataSource, GraphItem dataItem )
 {
     currentOverlays.Clear();
     currentDataSource = dataSource;
     currentGraphItem = dataItem;
     showData( dataItem, false );
 }