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

virtual void Impala::Application::MediaTable::TableDataViewController::InitContextMenu ( OglGui::Window window  )  [inline, protected, virtual]

Definition at line 209 of file TableDataViewController.h.

References OglGui::Menu::AddItem(), mContext, OglGui::Menu::SEPARATOR, OglGui::Menu::SetMenuListener(), and OglGui::Menu::SetOptions().

Referenced by Impala::Application::MediaTable::TableWindow::Init(), Impala::Application::MediaTable::GridWindow::Init(), and Impala::Application::MediaTable::TableViewerPointCloud::TableViewerPointCloud().

00210         {
00211                 MenuTopPane* top = new MenuTopPane(window);
00212                 mContext = new Menu(top, 1, 180);
00213                 //mContext->AddItem("Show more results like this", 1);
00214                 mContext->AddItem("Add selection to bucket:", 2);
00215                 mContext->AddItem("red", 3);
00216                 mContext->AddItem("green", 4);
00217                 mContext->AddItem("blue", 5);
00218                 mContext->AddItem("yellow", 6);
00219                 mContext->AddItem("cyan", 7);
00220 #ifndef MEDIATABLE_VIDEOLYMPICS
00221                 mContext->AddItem("other", 8);
00222 #else
00223                 mContext->AddItem("VideOlympics", 8);
00224 #endif
00225                 mContext->SetOptions(2, Menu::SEPARATOR, true);
00226                 mContext->SetMenuListener(this, 0);             
00227         }

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:34 2011 for ImpalaSrc by  doxygen 1.5.1