ooodev.adapter.frame.ui_controller_registration_partial module
- class ooodev.adapter.frame.ui_controller_registration_partial.UIControllerRegistrationPartial(component, interface=com.sun.star.frame.XUIControllerRegistration)[source]
Bases:
object
Partial class for XUIControllerRegistration.
- Parameters:
component (XUIControllerRegistration) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.frame.XUIControllerRegistration)[source]
Constructor
- Parameters:
component (XUIControllerRegistration) – UNO Component that implements
com.sun.star.frame.XUIControllerRegistration
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XUIControllerRegistration
.
- Return type:
None
- deregister_controller(cmd_url, model_name)[source]
function to remove a previously defined association between a user interface controller implementation and a command URL and optional module.
- Return type:
None
- Parameters:
cmd_url (str) –
model_name (str) –
- has_controller(cmd_url, model_name)[source]
function to check if an user interface controller is registered for a command URL and optional module.
- Return type:
bool
- Parameters:
cmd_url (str) –
model_name (str) –
- register_controller(cmd_url, model_name, controller_implementation_name)[source]
function to create an association between a user interface controller implementation and a command URL and optional module.
- Return type:
None
- Parameters:
cmd_url (str) –
model_name (str) –
controller_implementation_name (str) –