photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxtagfullscreenviewplugin.cpp
branchRCL_3
changeset 15 191387a8b767
parent 1 9ba538e329bd
child 18 78ad99c24f08
equal deleted inserted replaced
14:2dac0fdba72b 15:191387a8b767
    89 
    89 
    90 // ---------------------------------------------------------------------------
    90 // ---------------------------------------------------------------------------
    91 // Adds Command Handlers to the view
    91 // Adds Command Handlers to the view
    92 //-----------------------------------------------------------------------------
    92 //-----------------------------------------------------------------------------
    93 void CGlxTagFullScreenViewPlugin::AddCommandHandlersL()
    93 void CGlxTagFullScreenViewPlugin::AddCommandHandlersL()
    94    {
    94 	{
    95    TRACER( "CGlxTagFullScreenViewPlugin::AddCommandHandlersL"); 
    95 	TRACER( "CGlxTagFullScreenViewPlugin::AddCommandHandlersL");
    96     
       
    97    CGlxFullScreenViewPluginBase::AddCommandHandlersL();
       
    98     
       
    99    //For tag tile view
       
   100    GLX_LOG_INFO("Adding CGlxCommandHandlerRemoveFrom");
       
   101    iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(iFullScreenView, EMPXTag)); 
       
   102 
    96 
   103     // set up help context info
    97 	CGlxFullScreenViewPluginBase::AddCommandHandlersL();
   104     TGlxHelpContext helpInfo;
    98 	TFileName uiutilitiesrscfile;
   105     helpInfo.iBrowseContext = LGAL_HLP_TAGS_GRID;
    99 	uiutilitiesrscfile.Append(
   106     helpInfo.iBrowseContext = LGAL_HLP_TAGS_FULLSCREEN;
   100 			CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL());
   107     
   101 
   108     iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo)); 
   102 	//For tag tile view
   109     }
   103 	GLX_LOG_INFO("Adding CGlxCommandHandlerRemoveFrom");
       
   104 	iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerRemoveFrom::NewL(
       
   105 			iFullScreenView, EMPXTag, uiutilitiesrscfile));
       
   106 
       
   107 	// set up help context info
       
   108 	TGlxHelpContext helpInfo;
       
   109 	helpInfo.iBrowseContext = LGAL_HLP_TAGS_GRID;
       
   110 	helpInfo.iBrowseContext = LGAL_HLP_TAGS_FULLSCREEN;
       
   111 
       
   112 	iFullScreenView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo));
       
   113 	}
   110 
   114 
   111 //-----------------------------------------------------------------------------
   115 //-----------------------------------------------------------------------------
   112 // Get the Resource File Name
   116 // Get the Resource File Name
   113 //-----------------------------------------------------------------------------
   117 //-----------------------------------------------------------------------------
   114 
   118