1 <?xml version='1.0' encoding='UTF-8'?> 2 <!-- 3 Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. 4 5 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 7 The contents of this file are subject to the terms of either the Universal Permissive License 8 v 1.0 as shown at http://oss.oracle.com/licenses/upl 9 10 or the following license: 11 12 Redistribution and use in source and binary forms, with or without modification, are permitted 13 provided that the following conditions are met: 14 15 1. Redistributions of source code must retain the above copyright notice, this list of conditions 16 and the following disclaimer. 17 18 2. Redistributions in binary form must reproduce the above copyright notice, this list of 19 conditions and the following disclaimer in the documentation and/or other materials provided with 20 the distribution. 21 22 3. Neither the name of the copyright holder nor the names of its contributors may be used to 23 endorse or promote products derived from this software without specific prior written permission. 24 25 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 26 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 27 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 28 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 30 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 32 WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 --> 34 <schema targetNamespace="org.openjdk.jmc.rjmx.ui" xmlns="http://www.w3.org/2001/XMLSchema"> 35 <annotation> 36 <appinfo> 37 <meta.schema plugin="org.openjdk.jmc.rjmx.ui" id="actionProvider" name="Action Provider"/> 38 </appinfo> 39 <documentation> 40 Extension point for registering actions that will be linked to server handles. 41 </documentation> 42 </annotation> 43 44 <element name="extension"> 45 <annotation> 46 <appinfo> 47 <meta.element /> 48 </appinfo> 49 </annotation> 50 <complexType> 51 <sequence> 52 <element ref="provider" minOccurs="0" maxOccurs="unbounded"/> 53 <element ref="action" minOccurs="0" maxOccurs="unbounded"/> 54 <element ref="providerFactory" minOccurs="0" maxOccurs="unbounded"/> 55 <element ref="addon" minOccurs="0" maxOccurs="unbounded"/> 56 </sequence> 57 <attribute name="point" type="string" use="required"> 58 <annotation> 59 <documentation> 60 61 </documentation> 62 </annotation> 63 </attribute> 64 <attribute name="id" type="string"> 65 <annotation> 66 <documentation> 67 68 </documentation> 69 </annotation> 70 </attribute> 71 <attribute name="name" type="string"> 72 <annotation> 73 <documentation> 74 75 </documentation> 76 <appinfo> 77 <meta.attribute translatable="true"/> 78 </appinfo> 79 </annotation> 80 </attribute> 81 </complexType> 82 </element> 83 84 <element name="provider"> 85 <complexType> 86 <sequence> 87 <element ref="action" minOccurs="0" maxOccurs="unbounded"/> 88 <element ref="provider" minOccurs="0" maxOccurs="unbounded"/> 89 <element ref="providerFactory" minOccurs="0" maxOccurs="unbounded"/> 90 </sequence> 91 <attribute name="icon" type="string"> 92 <annotation> 93 <documentation> 94 95 </documentation> 96 <appinfo> 97 <meta.attribute kind="resource"/> 98 </appinfo> 99 </annotation> 100 </attribute> 101 <attribute name="label" type="string" use="required"> 102 <annotation> 103 <documentation> 104 105 </documentation> 106 <appinfo> 107 <meta.attribute translatable="true"/> 108 </appinfo> 109 </annotation> 110 </attribute> 111 <attribute name="description" type="string"> 112 <annotation> 113 <documentation> 114 115 </documentation> 116 <appinfo> 117 <meta.attribute translatable="true"/> 118 </appinfo> 119 </annotation> 120 </attribute> 121 <attribute name="id" type="string"> 122 <annotation> 123 <documentation> 124 125 </documentation> 126 </annotation> 127 </attribute> 128 <attribute name="priority" type="string"> 129 <annotation> 130 <documentation> 131 132 </documentation> 133 </annotation> 134 </attribute> 135 <attribute name="doubleClickActionIndex" type="string"> 136 <annotation> 137 <documentation> 138 139 </documentation> 140 </annotation> 141 </attribute> 142 </complexType> 143 </element> 144 145 <element name="action"> 146 <complexType> 147 <attribute name="factory" type="string" use="required"> 148 <annotation> 149 <documentation> 150 151 </documentation> 152 <appinfo> 153 <meta.attribute kind="java" basedOn=":org.openjdk.jmc.rjmx.actionprovider.IActionFactory"/> 154 </appinfo> 155 </annotation> 156 </attribute> 157 <attribute name="icon" type="string"> 158 <annotation> 159 <documentation> 160 161 </documentation> 162 <appinfo> 163 <meta.attribute kind="resource"/> 164 </appinfo> 165 </annotation> 166 </attribute> 167 <attribute name="label" type="string" use="required"> 168 <annotation> 169 <documentation> 170 171 </documentation> 172 <appinfo> 173 <meta.attribute translatable="true"/> 174 </appinfo> 175 </annotation> 176 </attribute> 177 <attribute name="description" type="string"> 178 <annotation> 179 <documentation> 180 181 </documentation> 182 <appinfo> 183 <meta.attribute translatable="true"/> 184 </appinfo> 185 </annotation> 186 </attribute> 187 <attribute name="priority" type="string"> 188 <annotation> 189 <documentation> 190 191 </documentation> 192 </annotation> 193 </attribute> 194 </complexType> 195 </element> 196 197 <element name="providerFactory"> 198 <complexType> 199 <attribute name="class" type="string"> 200 <annotation> 201 <documentation> 202 203 </documentation> 204 <appinfo> 205 <meta.attribute kind="java" basedOn=":org.openjdk.jmc.rjmx.actionprovider.IActionProviderFactory"/> 206 </appinfo> 207 </annotation> 208 </attribute> 209 <attribute name="priority" type="string"> 210 <annotation> 211 <documentation> 212 213 </documentation> 214 </annotation> 215 </attribute> 216 </complexType> 217 </element> 218 219 <element name="addon"> 220 <complexType> 221 <sequence> 222 <element ref="action" minOccurs="0" maxOccurs="unbounded"/> 223 <element ref="provider" minOccurs="0" maxOccurs="unbounded"/> 224 <element ref="providerFactory" minOccurs="0" maxOccurs="unbounded"/> 225 </sequence> 226 <attribute name="priority" type="string"> 227 <annotation> 228 <documentation> 229 230 </documentation> 231 </annotation> 232 </attribute> 233 <attribute name="location" type="string" use="required"> 234 <annotation> 235 <documentation> 236 237 </documentation> 238 <appinfo> 239 <meta.attribute kind="identifier" basedOn="org.openjdk.jmc.rjmx.actionProvider/provider/@id"/> 240 </appinfo> 241 </annotation> 242 </attribute> 243 </complexType> 244 </element> 245 246 <annotation> 247 <appinfo> 248 <meta.section type="since"/> 249 </appinfo> 250 <documentation> 251 5.2.0 252 </documentation> 253 </annotation> 254 255 256 257 258 <annotation> 259 <appinfo> 260 <meta.section type="copyright"/> 261 </appinfo> 262 <documentation> 263 Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. 264 </documentation> 265 </annotation> 266 267 </schema>