allows intercepting context menu requests done by the user
The ::com::sun::star::ui::ContextMenuExecuteEvent::Selection member
of the event passed to an interceptor will not be the controller itself
(though the controller also supports the XSelectionSupplier
interface), but a component which descrbes the current selection of the very window where the context
menu was requested.
In OpenOffice.org's database application, database objects such as tables, queries, forms,
reports are displayed in a tree-like fashion. Currently, only context menu requests on this tree view
can be intercepted using the XContextMenuInterception interface. Context menu requests
in other places cannot be intercepted.
For the aforementioned tree view, the selection supplied by the ContextMenuEvent::Selection
component is an array of NamedDatabaseObject instances.
Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
The Apache feather logo is a trademark of The Apache Software Foundation.
Other names appearing on the site may be trademarks of their respective owners.