<html> <head> <title>Interface XControllerManager</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="XControllerManager-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td> <td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td> <td class="navisub">Attributes' Summary</td> <td class="navisub">Attributes' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">com</a> :: <a href="../../../module-ix.html" class="namechain">sun</a> :: <a href="../../module-ix.html" class="namechain">star</a> :: <a href="../module-ix.html" class="namechain">drawing</a> :: <a href="module-ix.html" class="namechain">framework</a> :: </p> </td> </tr> <tr> <td class="title"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">unpublished </td> <td width="50%" class="title">interface XControllerManager</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>The XControllerManager gives access to the sub controllers that provide the different aspects of the drawing framework. </dd> <dd><p><strong>This interface is not yet in its final form and will probably change considerably.</strong></p> <p>The <a href="XControllerManager.html">XControllerManager</a> interface is typically implemented by the same object that implements ::com::sun::star::<a href="../../frame/module-ix.html">frame</a>::<a href="../../frame/XController.html">XController</a>.</p> <p>The sub controllers that this interface gives access to come from different sources: <ul><li>The core sub controllers are created by instantiating a service from a predefined set of services. These are ::CommandController, <a href="ConfigurationController.html">ConfigurationController</a>, <a href="ModuleController.html">ModuleController</a>, <a href="PaneController.html">PaneController</a>, ::ToolbarController, and <a href="ViewController.html">ViewController</a>. There explicit access methods for all of these services.</li> <li>Optional sub controllers that are created by instantiating services can be added and removed with the <a href="XControllerManager.html#registerController()">registerController()</a> and <a href="XControllerManager.html#removeController()">removeController()</a> methods.</li> <li>Optional sub controllers who are added as living objects. There are not methods for this yet.</li> </ul> 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.</p> </dd> </dl> </td> </tr> </table> <hr> <a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Methods' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#registerResourceController">registerResourceController</a></td> <td class="imsum_right"> </td> </tr> <tr> <td class="imsum_left"><a href="#removeResourceController">removeResourceController</a></td> <td class="imsum_right"> </td> </tr> <tr> <td class="imsum_left"><a href="#getResourceControllers">getResourceControllers</a></td> <td class="imsum_right"> </td> </tr> <tr> <td class="imsum_left"><a href="#getController">getController</a></td> <td class="imsum_right">Return an instance of a sub controller that implements the specified service. </td> </tr> <tr> <td class="imsum_left"><a href="#getCommandController">getCommandController</a></td> <td class="imsum_right"> </td> </tr> <tr> <td class="imsum_left"><a href="#getConfigurationController">getConfigurationController</a></td> <td class="imsum_right"> </td> </tr> <tr> <td class="imsum_left"><a href="#getModuleController">getModuleController</a></td> <td class="imsum_right"> </td> </tr> <tr> <td class="imsum_left"><a href="#getPaneController">getPaneController</a></td> <td class="imsum_right"> </td> </tr> <tr> <td class="imsum_left"><a href="#getToolBarController">getToolBarController</a></td> <td class="imsum_right"> </td> </tr> <tr> <td class="imsum_left"><a href="#getViewController">getViewController</a></td> <td class="imsum_right"> </td> </tr> <tr> <td class="imsum_left"><a href="#releaseController">releaseController</a></td> <td class="imsum_right"> </td> </tr> </table> <a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Methods' Details</td> </tr> <tr> <td class="imdetail"><a name="registerResourceController" class="membertitle">registerResourceController</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>registerResourceController</b>(</td> <td valign="top">[in] string</td> <td valign="bottom"> sServiceName,</td> </tr> <tr> <td/><td valign="top">[in] <a href="XResourceController.html">XResourceController</a></td> <td valign="bottom"> xController );</td> </tr> </table> <hr> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="removeResourceController" class="membertitle">removeResourceController</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>removeResourceController</b>(</td> <td valign="top">[in] <a href="XResourceController.html">XResourceController</a></td> <td valign="bottom"> xController );</td> </tr> </table> <hr> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getResourceControllers" class="membertitle">getResourceControllers</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">sequence< <a href="XResourceController.html">XResourceController</a> ></td> </tr> <tr> <td valign="top"><b>getResourceControllers</b>();</td> </tr> </table> <hr> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getController" class="membertitle">getController</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">::com::sun::star::<a href="../../uno/module-ix.html">uno</a>::<a href="../../uno/XInterface.html">XInterface</a></td> </tr> <tr> <td valign="top"><b>getController</b>(</td> <td valign="top">[in] string</td> <td valign="bottom"> sServiceName );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Return an instance of a sub controller that implements the specified service. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getCommandController" class="membertitle">getCommandController</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XCommandController.html">XCommandController</a></td> </tr> <tr> <td valign="top"><b>getCommandController</b>();</td> </tr> </table> <hr> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getConfigurationController" class="membertitle">getConfigurationController</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XConfigurationController.html">XConfigurationController</a></td> </tr> <tr> <td valign="top"><b>getConfigurationController</b>();</td> </tr> </table> <hr> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getModuleController" class="membertitle">getModuleController</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XModuleController.html">XModuleController</a></td> </tr> <tr> <td valign="top"><b>getModuleController</b>();</td> </tr> </table> <hr> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getPaneController" class="membertitle">getPaneController</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XPaneController.html">XPaneController</a></td> </tr> <tr> <td valign="top"><b>getPaneController</b>();</td> </tr> </table> <hr> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getToolBarController" class="membertitle">getToolBarController</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XToolBarController.html">XToolBarController</a></td> </tr> <tr> <td valign="top"><b>getToolBarController</b>();</td> </tr> </table> <hr> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getViewController" class="membertitle">getViewController</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XViewController.html">XViewController</a></td> </tr> <tr> <td valign="top"><b>getViewController</b>();</td> </tr> </table> <hr> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="releaseController" class="membertitle">releaseController</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>releaseController</b>(</td> <td valign="top">[in] ::com::sun::star::<a href="../../uno/module-ix.html">uno</a>::<a href="../../uno/XInterface.html">XInterface</a></td> <td valign="bottom"> xController );</td> </tr> </table> <hr> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>