:: com :: sun :: star :: drawing :: framework ::

unpublished interface XControllerManager
Description
The XControllerManager gives access to the sub controllers that provide the different aspects of the drawing framework.

This interface is not yet in its final form and will probably change considerably.

The XControllerManager interface is typically implemented by the same object that implements ::com::sun::star::frame::XController .

The sub controllers that this interface gives access to come from different sources:

  • The core sub controllers are created by instantiating a service from a predefined set of services. These are ::CommandController , ConfigurationController , ModuleController , PaneController , ::ToolbarController , and ViewController . There explicit access methods for all of these services.
  • Optional sub controllers that are created by instantiating services can be added and removed with the registerController() and removeController() methods.
  • Optional sub controllers who are added as living objects. There are not methods for this yet.
One motivation for optional sub controllers that can be added at runtime is to allow the slide sorter register a sub controller that exports its (multi) selection. This selection is used for example by controls in the task pane. A sub controller is one way of providing a central access point to the selection of the slide sorter which may be shown either in the center pane or the left pane or not at all.


Methods' Summary
registerResourceController  
removeResourceController  
getResourceControllers  
getController Return an instance of a sub controller that implements the specified service.  
getCommandController  
getConfigurationController  
getModuleController  
getPaneController  
getToolBarController  
getViewController  
releaseController  
Methods' Details
registerResourceController
void
registerResourceController( [in] string  sServiceName,
[in] XResourceController  xController );

removeResourceController
void
removeResourceController( [in] XResourceController  xController );

getResourceControllers
sequence< XResourceController >
getResourceControllers();

getController
::com::sun::star::uno::XInterface
getController( [in] string  sServiceName );

Description
Return an instance of a sub controller that implements the specified service.
getCommandController
XCommandController
getCommandController();

getConfigurationController
XConfigurationController
getConfigurationController();

getModuleController
XModuleController
getModuleController();

getPaneController
XPaneController
getPaneController();

getToolBarController
XToolBarController
getToolBarController();

getViewController
XViewController
getViewController();

releaseController
void
releaseController( [in] ::com::sun::star::uno::XInterface  xController );

Top of Page