interface XContextMenuInterception in module com::sun::star::ui::

(Global Index)

Syntax

interface XContextMenuInterception : com::sun::star::uno::XInterface ;

Description

This interface enables an object to get interceptors registered that change context menue or prevent them from beeing executed.

Method Summary

registerContextMenuInterceptor registers an XContextMenuInterceptor , which will become the first interceptor in the chain of registered interceptors.

releaseContextMenuInterceptor removes an XContextMenuInterceptor which was previously registered using XContextMenuInterception::registerContextMenuInterceptor .

Method Details



registerContextMenuInterceptor

Syntax

void registerContextMenuInterceptor (
com::sun::star::ui::XContextMenuInterceptor Interceptor );

Description

registers an XContextMenuInterceptor , which will become the first interceptor in the chain of registered interceptors.


releaseContextMenuInterceptor

Syntax

void releaseContextMenuInterceptor (
com::sun::star::ui::XContextMenuInterceptor Interceptor );

Description

removes an XContextMenuInterceptor which was previously registered using XContextMenuInterception::registerContextMenuInterceptor .

The order of removals is arbitrary. It is not necessary to remove the last registered interceptor first.

Top of Page