Lines Matching refs:EnableItem
438 … aContextMenu.EnableItem( SID_FM_NEW, bSingleSelection && (m_nFormsSelected || m_bRootSelected) ); in Command()
441 …pSubMenuNew->EnableItem( SID_FM_NEW_FORM, bSingleSelection && (m_nFormsSelected || m_bRootSelected… in Command()
446 pSubMenuNew->EnableItem( SID_FM_NEW_HIDDEN, bSingleSelection && m_nFormsSelected ); 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()
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()
494 aContextMenu.EnableItem( SID_FM_CHANGECONTROLTYPE, sal_False ); in Command()