+void
+FileListEditorForm::OnFormMenuRequested (Tizen::Ui::Controls::Form &source)
+{
+
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ int checkedCount = 0;
+
+ if (pSceneManager->GetCurrentSceneId() == IDSCN_ALL_LIST_EDITOR)
+ {
+ AllListEditorPanel* pEditorPanel = dynamic_cast<AllListEditorPanel*>(pSceneManager->GetCurrentScene()->GetPanel());
+ if (pEditorPanel != null)
+ {
+ checkedCount = pEditorPanel->GetItemCheckedCount();
+ }
+ }
+ else if (pSceneManager->GetCurrentSceneId() == IDSCN_ALL_LIST_SELECTION)
+ {
+ AllListSelectionPanel* pSelectionPanel = dynamic_cast<AllListSelectionPanel*>(pSceneManager->GetCurrentScene()->GetPanel());
+ if (pSelectionPanel != null)
+ {
+ checkedCount = pSelectionPanel->GetItemCheckedCount();
+ }
+ }
+
+ if (__pContextMenuShare != null && __pContextMenuShare->GetShowState() == true )
+ {
+ __pContextMenuShare->SetShowState(false);
+ }
+
+ if ( checkedCount > 0)
+ {
+ if ( __pOptionMenu == null )
+ {
+ return ;
+ }
+
+ __pOptionMenu->RemoveAllItems();
+ __pOptionMenu->AddItem(ResourceManager::GetString(L"IDS_COM_BODY_MOVE"),
+ IDA_CONTEXT_MENU_MORE_MOVE);
+ __pOptionMenu->AddItem(ResourceManager::GetString(L"IDS_COM_BODY_COPY"),
+ IDA_CONTEXT_MENU_MORE_COPY);
+
+ if (checkedCount > 1)
+ {
+ __pOptionMenu->AddItem(ResourceManager::GetString(L"IDS_MEDIABR_OPT_SLIDESHOW"),
+ IDA_CONTEXT_MENU_MORE_SLIDE_SHOW);
+ }
+
+ __pOptionMenu->AddItem(ResourceManager::GetString(L"IDS_IV_OPT_ROTATE_LEFT"),IDA_CONTEXT_MENU_ROTATE_LEFT);
+ __pOptionMenu->AddItem(ResourceManager::GetString(L"IDS_IV_OPT_ROTATE_RIGHT"),IDA_CONTEXT_MENU_ROTATE_RIGHT);
+
+ __pOptionMenu->SetShowState(true);
+ __pOptionMenu->Show();
+
+ }
+}