javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swttextextension.cpp
branchRCL_3
changeset 83 26b2b12093af
parent 66 2455ef1f5bbc
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
   278 // and returns selected email id to the editor
   278 // and returns selected email id to the editor
   279 // ---------------------------------------------------------------------------
   279 // ---------------------------------------------------------------------------
   280 //
   280 //
   281 void CSwtTextExtension::FetchEmailL()
   281 void CSwtTextExtension::FetchEmailL()
   282 {
   282 {
   283 #ifdef RD_JAVA_S60_RELEASE_9_2
       
   284     // Closing the VKB. Otherwise opened dialog will not be drawn over
       
   285     // the whole screen. After closing dialog, VKB opens itself again
       
   286     if (Editor().IsFocused())
       
   287     {
       
   288         CCoeFep* fep = iDisplay.CoeEnv()->Fep();
       
   289         if (fep)
       
   290         {
       
   291             fep->HandleDestructionOfFocusedItem();
       
   292         }
       
   293     }
       
   294 #endif //RD_JAVA_S60_RELEASE_9_2
       
   295 
       
   296     // The dialog used to select the address doesn't work properly if there is no
   283     // The dialog used to select the address doesn't work properly if there is no
   297     // status pane. Therefore, the status pane is temporarily made visible for
   284     // status pane. Therefore, the status pane is temporarily made visible for
   298     // the duration of showing the dialog.
   285     // the duration of showing the dialog.
   299     MSwtShell* shell = iDisplay.UiUtils().TopMostTopShell();
   286     MSwtShell* shell = iDisplay.UiUtils().TopMostTopShell();
   300     TBool fullScreenMode(EFalse);
   287     TBool fullScreenMode(EFalse);