LibreOffice Module dbaccess (master) 1
|
#include <callbacks.hxx>
Public Member Functions | |
virtual OUString | getContextMenuResourceName () const =0 |
returns the context menu resource name for the control More... | |
virtual IController & | getCommandController ()=0 |
returns the controller which is responsible for providing states of certain features, and executing them. More... | |
virtual ::comphelper::OInterfaceContainerHelper2 * | getContextMenuInterceptors ()=0 |
returns the container of registered context menu interceptors, or NULL if the implementation does not support context menu interception More... | |
virtual css::uno::Any | getCurrentSelection (weld::TreeView &rControl) const =0 |
returns the current selection in the given control More... | |
virtual vcl::Window * | getMenuParent () const =0 |
virtual void | adjustMenuPosition (const weld::TreeView &rControl, ::Point &rPos) const =0 |
adjust rPos which is initially relative to rControl to be relative to the window of getMenuParent More... | |
Protected Member Functions | |
~IContextMenuProvider () | |
Definition at line 72 of file callbacks.hxx.
|
inlineprotected |
Definition at line 107 of file callbacks.hxx.
|
pure virtual |
adjust rPos which is initially relative to rControl to be relative to the window of getMenuParent
Implemented in dbaui::OApplicationController, and dbaui::SbaTableQueryBrowser.
|
pure virtual |
returns the controller which is responsible for providing states of certain features, and executing them.
Implemented in dbaui::OApplicationController, and dbaui::SbaTableQueryBrowser.
|
pure virtual |
returns the container of registered context menu interceptors, or NULL if the implementation does not support context menu interception
Implemented in dbaui::OApplicationController, and dbaui::SbaTableQueryBrowser.
|
pure virtual |
returns the context menu resource name for the control
Supposed to be a valid name from uiconfig/<module>/popupmenu folder.
Implemented in dbaui::OApplicationController, and dbaui::SbaTableQueryBrowser.
|
pure virtual |
returns the current selection in the given control
This selection is used for filling a ContextMenuExecuteEvent event for the given control.
Implemented in dbaui::OApplicationController, and dbaui::SbaTableQueryBrowser.
|
pure virtual |
Implemented in dbaui::OApplicationController, and dbaui::SbaTableQueryBrowser.