template<class DataDocT>
Reimplemented from Impala::Core::Database::DataDocumentListener. Reimplemented in Impala::Visualization::IxsDocumentGuiMain, Impala::Visualization::SegmentationDocumentGuiMain, and Impala::Visualization::ShowImSetGuiMain. Definition at line 202 of file DataDocumentGui.h. 00203 { 00204 typedef typename DataDocT::BookmarkedType BookmarkedT; 00205 BookmarkedT* bookm = mDataDoc->GetBookmarked(); 00206 if (mInfoText3) 00207 mInfoText3->SetText(MakeString(bookm->Size()) + " bookmarks"); 00208 int firstVis; 00209 if (mStringSelector3) 00210 { 00211 firstVis = mStringSelector3->GetFirstVis(); 00212 mStringSelector3->RemoveStrings(); 00213 } 00214 Core::Database::RawDataSet* dataSet = mDataDoc->GetDataSet(); 00215 int curB = mDataDoc->CurBookmark(); 00216 if (mStringSelector3 && mDataDoc->HasBookmarks()) 00217 { 00218 for (int i=0 ; i<bookm->Size() ; i++) 00219 mStringSelector3->AddString(mDataDoc->DescribeBookmark(i)); 00220 mStringSelector3->SetFirstVis(firstVis, true); 00221 mStringSelector3->SetCurrentString(curB, true); 00222 } 00223 }
|