| 1898 | } |
| 1899 | |
| 1900 | void TOPPViewBase::annotateWithOSW() |
| 1901 | { // this should only be callable if current layer's type is of type DT_CHROMATOGRAM |
| 1902 | LayerDataBase& layer = getActiveCanvas()->getCurrentLayer(); |
| 1903 | LayerAnnotatorOSW annotator(this); |
| 1904 | assert(log_ != nullptr); |
| 1905 | if (!annotator.annotateWithFileDialog(layer, *log_, current_path_)) |
| 1906 | { |
| 1907 | return; |
| 1908 | } |
| 1909 | selection_view_->setCurrentIndex(DataSelectionTabs::DIAOSW_IDX); // switch to DIA view |
| 1910 | selection_view_->currentTabChanged(DataSelectionTabs::DIAOSW_IDX); |
| 1911 | } |
| 1912 | |
| 1913 | void TOPPViewBase::showSpectrumGenerationDialog() |
| 1914 | { |
nothing calls this directly
no test coverage detected