1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23
24<!DOCTYPE oor:component-schema SYSTEM "../../../../../component-schema.dtd">
25<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Controller" oor:package="org.openoffice.Office.UI" xml:lang="en-US"> <info>
26		<author>CD</author>
27		<desc >Contains implementation of popup menu controllers.</desc>
28	</info>
29	<templates>
30		<group oor:name="ControllerType">
31			<info>
32				<desc>Describes a controller implementation.</desc>
33			</info>
34			<prop oor:name="Command" oor:type="xs:string">
35				<info>
36					<desc>Specifies the command name which the controller is bound to.</desc>
37				</info>
38			</prop>
39			<prop oor:name="Module" oor:type="xs:string">
40			    <info>
41			        <desc>Specifies the model that the controller is associated with. An empty string matches every module.</desc>
42			    </info>
43			</prop>
44			<prop oor:name="Controller" oor:type="xs:string">
45			    <info>
46			        <desc>Specifies the UNO service to use for the specified tuple Command and Module</desc>
47                </info>
48            </prop>
49            <prop oor:name="Value" oor:type="xs:string">
50                <info>
51                    <desc>Specifies a controller specific value which is provided to every controller instance during initialization.</desc>
52                </info>
53                <value/>
54            </prop>
55		</group>
56	</templates>
57	<component>
58		<group oor:name="Registered">
59			<info>
60				<desc>Contains all registered controllers for user interface elements.</desc>
61			</info>
62			<set oor:name="PopupMenu" oor:node-type="ControllerType">
63				<info>
64					<desc>Contains UNO component implementation names that implement popup menu controller which are bound to a command and module name.</desc>
65				</info>
66			</set>
67			<set oor:name="ToolBar" oor:node-type="ControllerType">
68				<info>
69					<desc>Contains UNO component implementation names that implement toolbar controller which are bound to a command and module name.</desc>
70				</info>
71			</set>
72			<set oor:name="StatusBar" oor:node-type="ControllerType">
73				<info>
74                    <desc>Contains UNO component implementation names that implement status bar controller which are bound to a command and module name.</desc>
75				</info>
76			</set>
77		</group>
78	</component>
79</oor:component-schema>
80