LibreOffice Module framework (master) 1
|
#include <popupmenudispatcher.hxx>
Public Member Functions | |
PopupMenuDispatcher (css::uno::Reference< css::uno::XComponentContext > xContext) | |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &sServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &lArguments) override |
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL | queryDispatch (const css::util::URL &aURL, const OUString &sTarget, sal_Int32 nFlags) override |
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL | queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &lDescriptor) override |
virtual void SAL_CALL | dispatch (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &seqProperties) override |
virtual void SAL_CALL | addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override |
virtual void SAL_CALL | removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override |
virtual void SAL_CALL | frameAction (const css::frame::FrameActionEvent &aEvent) override |
void SAL_CALL | disposing (const css::lang::EventObject &aEvent) override |
Private Member Functions | |
virtual | ~PopupMenuDispatcher () override |
void | impl_RetrievePopupControllerQuery () |
Private Attributes | |
css::uno::WeakReference< css::frame::XFrame > | m_xWeakFrame |
css::uno::Reference< css::container::XNameAccess > | m_xPopupCtrlQuery |
css::uno::WeakReference to frame (Don't use a hard css::uno::Reference. Owner can't delete us then!) More... | |
css::uno::Reference< css::uri::XUriReferenceFactory > | m_xUriRefFactory |
reference to query for popup controller More... | |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
reference to the uri reference factory More... | |
bool | m_bAlreadyDisposed |
factory shared with our owner to create new services! More... | |
bool | m_bActivateListener |
Protection against multiple disposing calls. More... | |
Definition at line 54 of file popupmenudispatcher.hxx.
framework::PopupMenuDispatcher::PopupMenuDispatcher | ( | css::uno::Reference< css::uno::XComponentContext > | xContext | ) |
Definition at line 47 of file popupmenudispatcher.cxx.
|
overrideprivatevirtual |
Definition at line 55 of file popupmenudispatcher.cxx.
|
overridevirtual |
Definition at line 178 of file popupmenudispatcher.cxx.
|
overridevirtual |
Definition at line 174 of file popupmenudispatcher.cxx.
|
override |
Definition at line 199 of file popupmenudispatcher.cxx.
References m_bActivateListener, m_bAlreadyDisposed, m_xContext, m_xWeakFrame, SAL_WARN_IF, and xFrame.
|
overridevirtual |
Definition at line 188 of file popupmenudispatcher.cxx.
References aEvent, and m_xPopupCtrlQuery.
|
overridevirtual |
Definition at line 62 of file popupmenudispatcher.cxx.
|
overridevirtual |
Definition at line 72 of file popupmenudispatcher.cxx.
References framework::SERVICENAME_PROTOCOLHANDLER.
|
private |
Definition at line 224 of file popupmenudispatcher.cxx.
References framework::FRAME_PROPNAME_ASCII_LAYOUTMANAGER, m_xPopupCtrlQuery, m_xWeakFrame, and xFrame.
Referenced by queryDispatch().
|
overridevirtual |
Definition at line 77 of file popupmenudispatcher.cxx.
References a, m_bActivateListener, m_xWeakFrame, and xFrame.
|
overridevirtual |
Definition at line 97 of file popupmenudispatcher.cxx.
References aURL, Exception, impl_RetrievePopupControllerQuery(), m_xContext, m_xPopupCtrlQuery, m_xUriRefFactory, and xDispatch.
Referenced by queryDispatches().
|
overridevirtual |
Definition at line 158 of file popupmenudispatcher.cxx.
References i, nCount, and queryDispatch().
|
overridevirtual |
Definition at line 183 of file popupmenudispatcher.cxx.
|
overridevirtual |
Definition at line 67 of file popupmenudispatcher.cxx.
References sServiceName, and cppu::supportsService().
|
private |
Protection against multiple disposing calls.
Definition at line 111 of file popupmenudispatcher.hxx.
Referenced by disposing(), and initialize().
|
private |
factory shared with our owner to create new services!
Definition at line 110 of file popupmenudispatcher.hxx.
Referenced by disposing().
|
private |
reference to the uri reference factory
Definition at line 109 of file popupmenudispatcher.hxx.
Referenced by disposing(), and queryDispatch().
|
private |
css::uno::WeakReference to frame (Don't use a hard css::uno::Reference. Owner can't delete us then!)
Definition at line 107 of file popupmenudispatcher.hxx.
Referenced by frameAction(), impl_RetrievePopupControllerQuery(), and queryDispatch().
|
private |
reference to query for popup controller
Definition at line 108 of file popupmenudispatcher.hxx.
Referenced by queryDispatch().
|
private |
Definition at line 106 of file popupmenudispatcher.hxx.
Referenced by disposing(), impl_RetrievePopupControllerQuery(), and initialize().