javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swttextextension.cpp
branchRCL_3
changeset 60 6c158198356e
parent 34 71c436fe3ce0
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
   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 
   283     // The dialog used to select the address doesn't work properly if there is no
   296     // The dialog used to select the address doesn't work properly if there is no
   284     // status pane. Therefore, the status pane is temporarily made visible for
   297     // status pane. Therefore, the status pane is temporarily made visible for
   285     // the duration of showing the dialog.
   298     // the duration of showing the dialog.
   286     MSwtShell* shell = iDisplay.UiUtils().TopMostTopShell();
   299     MSwtShell* shell = iDisplay.UiUtils().TopMostTopShell();
   287     TBool fullScreenMode(EFalse);
   300     TBool fullScreenMode(EFalse);