LibreOffice
LibreOffice 24.2 SDK API Reference
XConfigurationController.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 module com { module sun { module star { module drawing { module framework {
21 
22 interface XConfigurationChangeListener;
23 interface XConfigurationChangeRequest;
24 interface XResourceId;
25 interface XResource;
26 
133 {
137 
154  [in] XResourceId xResourceId,
155  [in] ResourceActivationMode eMode);
156 
166  [in] XResourceId xResourceId);
167 
168 
179  [in] XResourceId xResourceId);
180 
189  void lock ();
190 
198  void unlock ();
199 
206  void update ();
207 
213 
219 
239  void restoreConfiguration ([in] XConfiguration xConfiguration);
240 };
241 
242 }; }; }; }; }; // ::com::sun::star::drawing::framework
243 
244 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Manage the set of registered event listeners and the event notification for a configuration controlle...
Definition: XConfigurationControllerBroadcaster.idl:29
The request queue of the configuration controller handles requests for changes to the current configu...
Definition: XConfigurationControllerRequestQueue.idl:33
The configuration controller is responsible for the management of the set of active resources.
Definition: XConfigurationController.idl:133
XResource getResource([in] XResourceId xResourceId)
Return the active resource specified by the given resource id.
void requestResourceDeactivation([in] XResourceId xResourceId)
Request the deactivation of a resource.
void restoreConfiguration([in] XConfiguration xConfiguration)
Replace the requested configuration with the given configuration and schedule an update of the curren...
XConfiguration getCurrentConfiguration()
Return a copy of the current configuration.
void unlock()
Unlock the processing of configuration change requests.
XConfiguration getRequestedConfiguration()
Return a copy of the requested configuration.
void lock()
Lock the processing of configuration change requests.
void requestResourceActivation([in] XResourceId xResourceId, [in] ResourceActivationMode eMode)
Request the activation of a resource.
void update()
Explicitly request an update of the current configuration.
A configuration describes the resources of an application like panes, views, and tool bars and their ...
Definition: XConfiguration.idl:38
The XResourceFactoryManager is part of the configuration controller and manages the set of registered...
Definition: XResourceFactoryManager.idl:32
A resource id uses a set of URLs to unambiguously specify a resource of the drawing framework.
Definition: XResourceId.idl:38
Base interface that provides functionality shared by all resource types of the drawing framework.
Definition: XResource.idl:28
ResourceActivationMode
The ResourceActivationMode specifies, for example for the com::sun::star::drawing::framework::XConfig...
Definition: ResourceActivationMode.idl:28
Definition: Ambiguous.idl:20