Lines Matching refs:aContextMenu

434 					PopupMenu aContextMenu(SVX_RES(RID_FMEXPLORER_POPUPMENU));  in Command()  local
435 PopupMenu* pSubMenuNew = aContextMenu.GetPopupMenu( SID_FM_NEW ); in Command()
438aContextMenu.EnableItem( SID_FM_NEW, bSingleSelection && (m_nFormsSelected || m_bRootSelected) ); in Command()
449 aContextMenu.EnableItem( SID_FM_DELETE, !m_bRootSelected ); in Command()
452 aContextMenu.EnableItem( SID_CUT, !m_bRootSelected && implAllowExchange( DND_ACTION_MOVE ) ); in Command()
453 aContextMenu.EnableItem( SID_COPY, !m_bRootSelected && implAllowExchange( DND_ACTION_COPY ) ); in Command()
454 aContextMenu.EnableItem( SID_PASTE, implAcceptPaste( ) ); in Command()
457 aContextMenu.EnableItem( SID_FM_TAB_DIALOG, bSingleSelection && m_nFormsSelected ); in Command()
462aContextMenu.RemoveItem( aContextMenu.GetItemPos( SID_FM_SHOW_PROPERTY_BROWSER ) ); in Command()
466 aContextMenu.RemoveItem( aContextMenu.GetItemPos( SID_FM_SHOW_PROPERTY_BROWSER ) ); in Command()
469 aContextMenu.EnableItem( SID_FM_SHOW_PROPERTY_BROWSER, in Command()
473 aContextMenu.EnableItem( SID_FM_RENAME_OBJECT, bSingleSelection && !m_bRootSelected ); in Command()
476 aContextMenu.EnableItem( SID_FM_OPEN_READONLY, m_bRootSelected ); in Command()
478 aContextMenu.EnableItem( SID_FM_AUTOCONTROLFOCUS, m_bRootSelected ); in Command()
484 aContextMenu.SetPopupMenu( SID_FM_CHANGECONTROLTYPE, FmXFormShell::GetConversionMenu() ); in Command()
491 …ormShell->GetImpl()->checkControlConversionSlotsForCurrentSelection( *aContextMenu.GetPopupMenu( S… in Command()
494 aContextMenu.EnableItem( SID_FM_CHANGECONTROLTYPE, sal_False ); in Command()
497 aContextMenu.RemoveDisabledEntries(sal_True, sal_True); in Command()
501 aContextMenu.CheckItem( SID_FM_OPEN_READONLY, pFormModel->GetOpenInDesignMode() ); in Command()
502 aContextMenu.CheckItem( SID_FM_AUTOCONTROLFOCUS, pFormModel->GetAutoControlFocus() ); in Command()
504 sal_uInt16 nSlotId = aContextMenu.Execute( this, ptWhere ); in Command()