__pContentIconListView->SetCheckBoxPosition(ICON_LIST_VIEW_CHECK_BOX_POSITION_TOP_LEFT);
__pContentIconListView->AddIconListViewItemEventListener(*this);
__pContentIconListView->SetTouchAnimationEnabled(false);
- AddControl(*__pContentIconListView);
+ AddControl(__pContentIconListView);
__pContentIconListView->SetShowState(true);
__itemCount = 0;
AppLogDebug("ENTER");
result r = E_SUCCESS;
__pPresentationModel->RemovePresentationModelListener(*this);
- __pPresentationModel->RemoveContentEventListener(__pFileListEditorForm);
if (__pSeletedIndexList != null)
{
delete __pSeletedIndexList;
if (GetItemCount() > 0)
{
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALL_LIST));
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALL_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE,
+ SCENE_HISTORY_OPTION_NO_HISTORY, SCENE_DESTROY_OPTION_DESTROY));
}
else
{
r = __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_MESSAGE, APPCONTROL_OPERATION_ID_COMPOSE, null,
null, pDataList, null);
- if(r == E_MAX_EXCEEDED)
+ if (r == E_MAX_EXCEEDED)
{
MessageBox messageBox;
messageBox.Construct(L"", ResourceManager::GetString(L"IDS_RCS_BODY_MAXIMUM_NUMBER_OF_FILES_EXCEEDED"),
r = __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_EMAIL, APPCONTROL_OPERATION_ID_COMPOSE,
new (std::nothrow) String(APPCONTROL_URI_MAIL_TO), null, pDataList, null);
- if(r == E_MAX_EXCEEDED)
+ if (r == E_MAX_EXCEEDED)
{
MessageBox messageBox;
messageBox.Construct(L"", ResourceManager::GetString(L"IDS_RCS_BODY_MAXIMUM_NUMBER_OF_FILES_EXCEEDED"),
r = __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_IMAGE, APPCONTROL_OPERATION_ID_VIEW, null,
new (std::nothrow) String(APPCONTROL_MIME_IMAGE_ALL), pDataList, null);
- if(r == E_MAX_EXCEEDED)
+ if (r == E_MAX_EXCEEDED)
{
MessageBox messageBox;
messageBox.Construct(L"", ResourceManager::GetString(L"IDS_RCS_BODY_MAXIMUM_NUMBER_OF_FILES_EXCEEDED"),
String bodyText = ResourceManager::GetString(L"IDS_COM_BODY_SELECTED");
strTmp.Format(LENGTH_COUNT_LABEL, L"%ls (%d)", bodyText.GetPointer(), __itemCount);
__pFileListEditorForm->SetTitleText(strTmp);
- if (__pContentIconListView != null)
- {
- __pContentIconListView->UpdateList();
- }
+
SetButtonState();
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
}
return E_SUCCESS;
}
+void AllListSelectionPanel::CancelUpdateProgress(void)
+{
+ if( __pFileUpdateTimer!= null && __pFileUpdateTimer->IsStarted())
+ {
+ __pFileUpdateTimer->Cancel();
+ delete __pFileUpdateTimer;
+ __pFileUpdateTimer = null;
+ }
+}