//, public Tizen::Ui::ITextEventListener
, public Tizen::Ui::ITouchEventListener
, public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IFormMenuEventListener
, public Tizen::Ui::Controls::IListViewItemEventListener //for AppControl list
, public Tizen::Ui::Scenes::ISceneEventListener
, public Tizen::Ui::ITouchFlickGestureEventListener
virtual void OnFlickGestureDetected(Tizen::Ui::TouchFlickGestureDetector& gestureDetector);
virtual void OnFlickGestureCanceled(Tizen::Ui::TouchFlickGestureDetector& gestureDetector){};
+ virtual void OnFormMenuRequested(Tizen::Ui::Controls::Form& source);
private:
///Delete the memo displayed in detail form
void RemoveMemo(void);
Tizen::Graphics::Canvas* __pCanvas;
Tizen::Ui::Controls::EditArea* __pCommentEditArea;
Tizen::Ui::Controls::Panel* __pCommentPanel;
- Tizen::Ui::Controls::ContextMenu* __pContextMenu;
Tizen::Ui::Controls::Label* __pDatetimeLabel;
Tizen::Ui::Controls::Panel* __pDatetimePanel;
Tizen::Ui::Controls::Panel* __pDrawingPanel;
Tizen::Ui::Controls::ListView* __pPopupList;
AppControlListProvider* __pAppControlListProvider;
VMemoCreator* __pVMemoCreator;
- Tizen::Base::Collection::ArrayList* __pUpdateDetails;
+ Tizen::Base::Collection::ArrayList* __pUpdateDetails;
Tizen::Ui::Controls::Popup* __pDeletePopup;
Tizen::Ui::TouchFlickGestureDetector* __pFlickGesture;
Tizen::Base::Integer* __pMemoIndex;
Tizen::Base::Collection::ArrayList* __pShareMemoList;
Tizen::Base::String* __pVntFilename;
Tizen::Base::String* __pDrawingFileName;
+ Tizen::Ui::Controls::OptionMenu* __pOption;
};
#endif /* _MM_DRAWING_DETAIL_FORM_H_ */
, public Tizen::Ui::IKeypadEventListener
, public Tizen::Ui::ITextEventListener
, public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IFormMenuEventListener
, public Tizen::Ui::Controls::IListViewItemEventListener
, public Tizen::Ui::Controls::ISearchBarEventListener
, public Tizen::Ui::Scenes::ISceneEventListener
virtual void OnTextValueChanged (const Tizen::Ui::Control& source);
virtual void OnTextValueChangeCanceled (const Tizen::Ui::Control& source){};
+ virtual void OnFormMenuRequested(Tizen::Ui::Controls::Form& source);
private:
Tizen::Ui::Controls::FooterItem __footerItemCreate;
- Tizen::Ui::Controls::ButtonItem __footerItemMenu;
bool __isSearchRegistered;
- Tizen::Ui::Controls::ContextMenu* __pContextMenu;
///the form header
Tizen::Ui::Controls::Footer* __pFormFooter;
///the form header
AppControlListProvider* __pAppControlListProvider;
Tizen::Base::String* __pVntFilename;
Tizen::Base::Collection::ArrayList* __pShareMemoList;
+ Tizen::Ui::Controls::OptionMenu* __pOption;
Tizen::Base::String* __pDrawingFileName;
};
, public Tizen::Ui::IActionEventListener
, public Tizen::Ui::IUiLinkEventListener
, public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IFormMenuEventListener
, public Tizen::Ui::Controls::IListViewItemEventListener //for AppControl list
, public Tizen::Ui::Scenes::ISceneEventListener
, public Tizen::Ui::ITouchFlickGestureEventListener
virtual void OnFlickGestureDetected(Tizen::Ui::TouchFlickGestureDetector& gestureDetector);
virtual void OnFlickGestureCanceled(Tizen::Ui::TouchFlickGestureDetector& gestureDetector){};
+ virtual void OnFormMenuRequested(Tizen::Ui::Controls::Form& source);
+
protected:
///Deletes memo
void RemoveMemo(void);
private:
///Delete footer item
Tizen::Ui::Controls::FooterItem __footerItemDelete;
- Tizen::Ui::Controls::ButtonItem __footerItemMenu;
///App control list provider
AppControlListProvider* __pAppControlListProvider;
///Editarea control to show the memo content
Tizen::Ui::Controls::EditArea* __pContent;
- Tizen::Ui::Controls::ContextMenu* __pContextMenu;
///Datetime label to show the memo created/modified date time
Tizen::Ui::Controls::Label* __pDateTime;
Tizen::Ui::Controls::Panel* __pDateTimePanel;
Tizen::Base::String* __pVntFilename;
Tizen::Ui::Controls::Popup* __pDeletePopup;
Tizen::Ui::TouchFlickGestureDetector* __pFlickGesture;
- Tizen::Base::Integer* __pMemoIndex;
- Tizen::Base::Integer* __pCount;
+ Tizen::Base::Integer* __pMemoIndex;
+ Tizen::Base::Integer* __pCount;
Tizen::Base::Collection::ArrayList* __pShareMemoList;
+ Tizen::Ui::Controls::OptionMenu* __pOption;
};
#endif /* _MM_TEXT_DETAIL_FORM_H_ */
<Version>1.0.0</Version>
<Type>C++App</Type>
<Requirements>
+ <Feature Name="http://tizen.org/feature/platform.core.cpu.arch.armv7">true</Feature>
<Feature Name="http://tizen.org/feature/platform.core.cpu.arch.x86">true</Feature>
<Feature Name="http://tizen.org/feature/platform.core.fpu.arch.vfpv3">true</Feature>
</Requirements>
pFooter->SetItemEnabled(2, true);
pFooter->Draw();
}
+ Header* pHeader = pSceneManager->GetCurrentScene()->GetForm()->GetHeader();
+ if(pHeader != null)
+ {
+ pHeader->SetButtonEnabled(BUTTON_POSITION_RIGHT, false);
+ pHeader->Draw();
+ }
}
/*SceneManager* pSceneManager = SceneManager::GetInstance();
, __pShareMemoList(null)
, __pVntFilename(null)
, __pDrawingFileName(null)
+ , __pOption(null)
{
__pVMemoCreator = new (std::nothrow) VMemoCreator();
}
MemoDrawingDetailForm::OnInitializing(void)
{
result r = E_SUCCESS;
- int xPos= 0, yPos = 0;
Header* pFormHeader = GetHeader();
if (pFormHeader != null)
pFormFooter->SetStyle(FOOTER_STYLE_BUTTON_TEXT);
pFormFooter->AddActionEventListener(*this);
pFormFooter->SetBackButton();
+ pFormFooter->SetMenuButton();
SetFormBackEventListener(this);
-
- //More option
- ButtonItem menuButton;
- menuButton.Construct(BUTTON_ITEM_STYLE_ICON, IDA_FOOTER_BUTTON_MORE);
- AddFooterMenuItem(pFormFooter, menuButton);
+ SetFormMenuEventListener(this);
FooterItem deleteButton;
deleteButton.Construct(IDA_FOOTER_BUTTON_LEFT);
Invalidate(false);
}
}
- __pContextMenu = new (std::nothrow) ContextMenu();
- if (pFormFooter != null)
- {
- pFormFooter->GetPosition(xPos, yPos);
- __pContextMenu->Construct(Point(0,yPos), CONTEXT_MENU_STYLE_LIST);
- }
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_EDIT"), IDA_FOOTER_BUTTON_EDIT);
- __pContextMenu->AddItem(GetResourceString(L"DS_COM_BUTTON_SHARE"), IDA_FOOTER_BUTTON_SHARE);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_CREATE"), IDA_FOOTER_BUTTON_CREATE);
- __pContextMenu->AddActionEventListener(*this);
- __pContextMenu->SetShowState(false);
-
+
+ __pOption = new (std::nothrow) OptionMenu();
+ __pOption->Construct();
+ __pOption->AddItem(GetResourceString(L"IDS_COM_BODY_EDIT"), IDA_FOOTER_BUTTON_EDIT);
+ __pOption->AddItem(GetResourceString(L"IDS_COM_BUTTON_SHARE"), IDA_FOOTER_BUTTON_SHARE);
+ __pOption->AddItem(GetResourceString(L"IDS_COM_BODY_CREATE"), IDA_FOOTER_BUTTON_CREATE);
+ __pOption->AddActionEventListener(*this);
+ __pOption->SetShowState(false);
+
__pFlickGesture = new (std::nothrow) TouchFlickGestureDetector;
if (__pFlickGesture != null)
{
__pFlickGesture->RemoveFlickGestureEventListener(*this);
delete __pFlickGesture;
}
-
+ if (__pOption != null)
+ {
+ __pOption->Destroy();
+ }
return E_SUCCESS;
}
}
break;
- case IDA_FOOTER_BUTTON_MORE: //More
- {
- __pContextMenu->RemoveAllItems();
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_EDIT"), IDA_FOOTER_BUTTON_EDIT);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BUTTON_SHARE"), IDA_FOOTER_BUTTON_SHARE);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_CREATE"), IDA_FOOTER_BUTTON_CREATE);
- __pContextMenu->SetShowState(true);
- __pContextMenu->Show();
- }
- break;
-
case IDA_BUTTON_CLOSE_POPUP:
{
__pPopup->SetShowState(false);
__pPopup->Invalidate(true);
}
break;
+
case IDA_BUTTON_CANCEL_POPUP:
{
__pDeletePopup->SetShowState(false);
RemoveMemo();
}
break;
+
default:
{
AppAssertf(0,"[%s] MemoDrawingDetailForm::OnActionPerformed() actionId cannot be [%d]", GetErrorMessage(E_INVALID_DATA), actionId);
void
MemoDrawingDetailForm::OnFormBackRequested(Form& source)
{
- SceneManager* pSceneManager = SceneManager::GetInstance();
- IList* pArgs = new (std::nothrow) ArrayList();
+ if (__pOption->GetShowState() == true)
+ {
+ __pOption->SetShowState(false);
+ __pOption->Show();
+ }
+ else
+ {
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ IList* pArgs = new (std::nothrow) ArrayList();
- UpdateComment();
- pArgs->Add(new Integer(ID_REFRESH_LIST_FROM_DATABASE));
- pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_MEMO_LIST), pArgs);
+ UpdateComment();
+ pArgs->Add(new Integer(ID_REFRESH_LIST_FROM_DATABASE));
+ pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_MEMO_LIST), pArgs);
+ }
return;
}
}
return;
}
+
+void
+MemoDrawingDetailForm::OnFormMenuRequested(Form& source)
+{
+ __pOption->SetShowState(true);
+ __pOption->Show();
+}
}
__pDeletePopup->SetShowState(true);
__pDeletePopup->Show();
+ __pFormHeader->SetButtonEnabled(BUTTON_POSITION_RIGHT, false);
+ __pFormHeader->Show();
__pFormFooter->SetItemEnabled(2, false);
SetFooterEnabled(false);
}
}
__pPopup->SetShowState(true);
__pPopup->Show();
+ __pFormHeader->SetButtonEnabled(BUTTON_POSITION_RIGHT, false);
+ __pFormHeader->Show();
__pFormFooter->SetItemEnabled(2, false);
SetFooterEnabled(false);
}
{
__pPopup->SetShowState(false);
__pPopup->Invalidate(true);
+ __pFormHeader->SetButtonEnabled(BUTTON_POSITION_RIGHT, true);
+ __pFormHeader->Show();
__pFormFooter->SetItemEnabled(2, true);
SetFooterEnabled(true);
}
{
__pDeletePopup->SetShowState(false);
__pDeletePopup->Invalidate(true);
+ __pFormHeader->SetButtonEnabled(BUTTON_POSITION_RIGHT, true);
+ __pFormHeader->Show();
__pFormFooter->SetItemEnabled(2, true);
SetFooterEnabled(true);
}
MemoListForm::MemoListForm(void)
: __isSearchRegistered(false)
- , __pContextMenu(null)
, __pFormFooter(null)
, __pFormHeader(null)
, __pMemoDetails(null)
, __pSharePopup(null)
, __pVntFilename(null)
, __pShareMemoList(null)
+ , __pOption(null)
, __pDrawingFileName(null)
{
__pVMemoCreator = new (std::nothrow) VMemoCreator();
MemoListForm::OnInitializing(void)
{
result r = E_SUCCESS;
- int xPos= 0, yPos = 0;
__pMemoListDataProvider = new (std::nothrow) MemoListDataProvider();
__pSearchItemProvider = new (std::nothrow) MemoSearchDataProvider();
__pFormFooter->SetStyle(FOOTER_STYLE_BUTTON_TEXT);
__pFormFooter->AddActionEventListener(*this);
__pFormFooter->SetBackButton();
+ __pFormFooter->SetMenuButton();
SetFormBackEventListener(this);
-
- __footerItemMenu.Construct(BUTTON_ITEM_STYLE_ICON, IDA_FOOTER_BUTTON_MORE);
- AddFooterMenuItem(__pFormFooter, __footerItemMenu);
+ SetFormMenuEventListener(this);
__footerItemCreate.Construct(IDA_FOOTER_BUTTON_CREATE);
__footerItemCreate.SetText(GetResourceString(L"IDS_COM_BODY_CREATE"));
__pMemoListView->SetShowState(false);
__pSearchBar->SetContent(__pMemoListView);
- __pContextMenu = new (std::nothrow) ContextMenu();
- __pFormFooter->GetPosition(xPos, yPos);
- __pContextMenu->Construct(Point(0 , yPos), CONTEXT_MENU_STYLE_LIST);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_SEARCH"), IDA_MENU_SEARCH);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_EDIT"), IDA_MENU_EDIT);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_OPT_SORT_BY"), IDA_MENU_SORTBY);
- __pContextMenu->AddActionEventListener(*this);
- __pContextMenu->SetShowState(false);
+ __pOption = new (std::nothrow) OptionMenu();
+ __pOption->Construct();
+ __pOption->AddItem(GetResourceString(L"IDS_COM_BODY_SEARCH"), IDA_MENU_SEARCH);
+ __pOption->AddItem(GetResourceString(L"IDS_COM_BODY_EDIT"), IDA_MENU_EDIT);
+ __pOption->AddItem(GetResourceString(L"IDS_COM_OPT_SORT_BY"), IDA_MENU_SORTBY);
+ __pOption->AddActionEventListener(*this);
+ __pOption->SetShowState(false);
CreateSortRegistry();
return r;
__pShareMemoList->RemoveAll();
delete __pShareMemoList;
}
+ if (__pOption != null)
+ {
+ __pOption->Destroy();
+ }
if(__pDrawingFileName != null)
{
delete __pDrawingFileName;
SetListFormTitle(ID_MEMO_LIST);
//Enable or disable the edit option depending on the memo count
int memoCount = MemoListPresentationModel::GetInstance()->GetMemoCount(ID_MEMO_LIST);
- if (memoCount == 0)
+ if(memoCount == 0)
{
- __pFormFooter->SetButtonEnabled(BUTTON_POSITION_LEFT, false);
+ __pFormFooter->SetMenuButtonEnabled(false);
}
else
{
- __pFormFooter->SetButtonEnabled(BUTTON_POSITION_LEFT, true);
+ __pFormFooter->SetMenuButtonEnabled(true);
}
__pFormFooter->Draw();
__pMemoListView->ScrollToItem(0);
}
break;
- case IDA_FOOTER_BUTTON_MORE:
- {
- //Items are removed and added again as there was issue of Edit Item is always selected once the
- //Edit option is selected and again more is selected
- __pContextMenu->RemoveAllItems();
- bool showState = __pSearchBar->GetShowState();
- if (showState == false)
- {
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_SEARCH"), IDA_MENU_SEARCH);
- }
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_EDIT"), IDA_MENU_EDIT);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_OPT_SORT_BY"), IDA_MENU_SORTBY);
- __pContextMenu->SetShowState(true);
- __pContextMenu->Show();
- }
- break;
-
case IDA_MENU_SEARCH:
{
__pSearchBar->SetShowState(true);
{
__pFormFooter->SetShowState(true);
}
+ //Need to add menu button again as menu button was removed
+ __pFormFooter->SetMenuButton();
+ SetFormMenuEventListener(this);
+
DisplayData(ID_MEMO_LIST);
__pSearchBar->SetFocusable(false);
__pSearchBar->SetContentAreaVisible(true);
}
else
{
+ FloatRectangle rect = CoordinateSystem::AlignToDevice(FloatRectangle(__pSearchBar->GetBoundsF()));
RelativeLayout* pLayout = dynamic_cast<RelativeLayout*>(GetLayoutN());
if(__pMemoListView != null)
{
__pMemoListView->ScrollToItem(0);
}
__isSearchRegistered = true;
+ __pFormFooter->RemoveMenuButton();
__pFormFooter->SetShowState(false);
- __pSearchBar->SetContentAreaSize(Dimension(GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight()));
+ __pSearchBar->SetContentAreaSize(FloatDimension(GetClientAreaBoundsF().width, GetClientAreaBoundsF().height - rect.height));
}
+ __pFormFooter->Draw(true);
__pMemoListView->Invalidate(true);
return;
}
int memoCount = MemoListPresentationModel::GetInstance()->GetMemoCount(ID_MEMO_LIST);
if (memoCount == 0)
{
- __pFormFooter->SetButtonEnabled(BUTTON_POSITION_LEFT, false);
+ __pFormFooter->SetMenuButtonEnabled(false);
}
else
{
- __pFormFooter->SetButtonEnabled(BUTTON_POSITION_LEFT, true);
+ __pFormFooter->SetMenuButtonEnabled(true);
}
__pFormFooter->Draw();
}
MemoListForm::OnListViewItemStateChanged (ListView& listView, int index, int elementId, ListItemStatus status)
{
MemoInfo* pMemoData = null;
-
if (&listView == __pPopupList)
{
__pPopupList->SetItemChecked(index, false);
void
MemoListForm::OnFormBackRequested(Form& source)
{
- //back button: terminates application
+ if (__pOption->GetShowState() == true)
+ {
+ __pOption->SetShowState(false);
+ return;
+ }
//Hide the search bar if it is visible, else terminate the app
- if(__pSearchBar->GetShowState() == true/* && __pSearchBar->GetMode() == SEARCH_BAR_MODE_NORMAL*/)
+ if(__pSearchBar->GetShowState() == true)
{
- __pSearchBar->SetShowState(false);
- __pMemoListView->SetBounds(GetClientAreaBounds().x, 0, GetClientAreaBounds().width, GetClientAreaBounds().height);
- __pMemoListView->Invalidate(true);
+ __pSearchBar->SetMode(SEARCH_BAR_MODE_NORMAL);
}
else
{
return;
}
+
+void
+MemoListForm::OnFormMenuRequested(Form& source)
+{
+ if(__pSearchBar->GetMode() != SEARCH_BAR_MODE_INPUT)
+ {
+ int memoCount = MemoListPresentationModel::GetInstance()->GetMemoCount(ID_MEMO_LIST);
+ if(memoCount == 0)
+ {
+ __pOption->SetShowState(false);
+ }
+ else
+ {
+ __pOption->SetShowState(true);
+ }
+ __pOption->Show();
+ }
+}
MemoTextDetailForm::MemoTextDetailForm(void)
: __pContent(null)
- , __pContextMenu(null)
, __pDateTime(null)
, __pEditArgList(null)
, __pFormFooter(null)
, __pMemoIndex(null)
, __pCount(null)
, __pShareMemoList(null)
+ , __pOption(null)
{
__pVMemoCreator = new (std::nothrow) VMemoCreator();
__pAppControlListProvider = new (std::nothrow) AppControlListProvider();
result
MemoTextDetailForm::OnInitializing(void)
{
- int xPos= 0, yPos = 0;
Font dateFont;
dateFont.Construct(FONT_STYLE_BOLD, FONT_SIZE_DATETIME);
__pFormFooter->SetStyle(FOOTER_STYLE_BUTTON_TEXT);
__pFormFooter->AddActionEventListener(*this);
__pFormFooter->SetBackButton();
+ __pFormFooter->SetMenuButton();
SetFormBackEventListener(this);
-
- //More option
- __footerItemMenu.Construct(BUTTON_ITEM_STYLE_ICON, IDA_FOOTER_BUTTON_MORE);
- AddFooterMenuItem(__pFormFooter, __footerItemMenu);
+ SetFormMenuEventListener(this);
__footerItemDelete.Construct(IDA_FOOTER_BUTTON_LEFT);
__footerItemDelete.SetText(GetResourceString(L"IDS_COM_BODY_DELETE"));
__pContent->SetTextColor(EDIT_TEXT_COLOR_DISABLED, Color::GetColor(COLOR_ID_BLACK));
__pContent->SetTextColor(EDIT_TEXT_COLOR_LINK, Color::GetColor(COLOR_ID_BLUE));
- __pContextMenu = new (std::nothrow) ContextMenu();
- __pFormFooter->GetPosition(xPos, yPos);
- __pContextMenu->Construct(Point(0,yPos), CONTEXT_MENU_STYLE_LIST);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_EDIT"), IDA_FOOTER_BUTTON_EDIT);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BUTTON_SHARE"), IDA_FOOTER_BUTTON_SHARE);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_CREATE"), IDA_FOOTER_BUTTON_CREATE);
-
- __pContextMenu->AddActionEventListener(*this);
- __pContextMenu->SetShowState(false);
+ __pOption = new (std::nothrow) OptionMenu();
+ __pOption->Construct();
+ __pOption->AddItem(GetResourceString(L"IDS_COM_BODY_EDIT"), IDA_FOOTER_BUTTON_EDIT);
+ __pOption->AddItem(GetResourceString(L"IDS_COM_BUTTON_SHARE"), IDA_FOOTER_BUTTON_SHARE);
+ __pOption->AddItem(GetResourceString(L"IDS_COM_BODY_CREATE"), IDA_FOOTER_BUTTON_CREATE);
+ __pOption->AddActionEventListener(*this);
+ __pOption->SetShowState(false);
__pFlickGesture = new (std::nothrow) TouchFlickGestureDetector;
if (__pFlickGesture != null)
}
break;
- case IDA_FOOTER_BUTTON_MORE: //More
- {
- __pContextMenu->RemoveAllItems();
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_EDIT"), IDA_FOOTER_BUTTON_EDIT);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BUTTON_SHARE"), IDA_FOOTER_BUTTON_SHARE);
- __pContextMenu->AddItem(GetResourceString(L"IDS_COM_BODY_CREATE"), IDA_FOOTER_BUTTON_CREATE);
- __pContextMenu->SetShowState(true);
- __pContextMenu->Show();
- }
- break;
-
case IDA_BUTTON_CLOSE_POPUP:
{
__pPopup->SetShowState(false);
void
MemoTextDetailForm::OnFormBackRequested(Form& source)
{
- SceneManager* pSceneManager = SceneManager::GetInstance();
- IList* pArgs = new (std::nothrow) ArrayList();
- pArgs->Add(new (std::nothrow) Integer(ID_REFRESH_LIST_FROM_DATABASEVIEW));
- pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_MEMO_LIST), pArgs);
+ if (__pOption->GetShowState() == true)
+ {
+ __pOption->SetShowState(false);
+ __pOption->Show();
+ }
+ else
+ {
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ IList* pArgs = new (std::nothrow) ArrayList();
+ pArgs->Add(new (std::nothrow) Integer(ID_REFRESH_LIST_FROM_DATABASEVIEW));
+ pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_MEMO_LIST), pArgs);
+ }
return;
}
__pFlickGesture->RemoveFlickGestureEventListener(*this);
delete __pFlickGesture;
}
+ if (__pOption != null)
+ {
+ __pOption->Destroy();
+ }
return E_SUCCESS;
}
+
+void
+MemoTextDetailForm::OnFormMenuRequested(Form& source)
+{
+ __pOption->SetShowState(true);
+ __pOption->Show();
+}