Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class DataDocT>
virtual void Impala::Visualization::DataDocumentGui< DataDocT >::StringSelectionEvent ( OglGui::StringSelector src,
int  strIndex,
void *  listenerData 
) [inline, virtual]

Reimplemented from OglGui::StringListener.

Definition at line 282 of file DataDocumentGui.h.

Referenced by Impala::Application::WindowShowImSet::BuildGUI(), and Impala::Application::WindowAnnoVidSet::BuildGUI().

00284     {
00285         typedef Core::Database::DocLevel DocLevel;
00286         if (listenerData == (void*)STRING_DIR)
00287         {
00288             DocLevel level = mDataDoc->CursorToDir(strIndex);
00289             AllHandleNewCursor(level, false);
00290         }
00291         if (listenerData == (void*)STRING_FILE)
00292         {
00293             int fileIdx = mDataDoc->GetFileOfDir(strIndex, -1);
00294             mDataDoc->CursorToFile(fileIdx);
00295             AllHandleNewCursor(Core::Database::LEVEL_FILE, false);
00296         }
00297         if (listenerData == (void*)STRING_BOOK)
00298         {
00299             mDataDoc->CursorToBookmark(strIndex);
00300             AllHandleNewCursor(Core::Database::LEVEL_FILE, true);
00301         }
00302     }


Generated on Fri Mar 19 11:43:03 2010 for ImpalaSrc by  doxygen 1.5.1