UnityEditor.PackageManager.UI.xsd 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.UIElements.Debugger" elementFormDefault="qualified" targetNamespace="UnityEditor.PackageManager.UI" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
  4. <xs:complexType name="AlertType">
  5. <xs:complexContent mixed="false">
  6. <xs:restriction base="engine:VisualElementType">
  7. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  8. <xs:element ref="engine:VisualElement" />
  9. </xs:sequence>
  10. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  11. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  12. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  13. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  14. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  15. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  16. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  17. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  18. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  19. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  20. <xs:anyAttribute processContents="lax" />
  21. </xs:restriction>
  22. </xs:complexContent>
  23. </xs:complexType>
  24. <xs:element name="Alert" substitutionGroup="engine:VisualElement" xmlns:q1="UnityEditor.PackageManager.UI" type="q1:AlertType" />
  25. <xs:complexType name="ArrowToggleType">
  26. <xs:complexContent mixed="false">
  27. <xs:restriction base="engine:VisualElementType">
  28. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  29. <xs:element ref="engine:VisualElement" />
  30. </xs:sequence>
  31. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  32. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  33. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  34. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  35. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  36. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  37. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  38. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  39. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  40. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  41. <xs:anyAttribute processContents="lax" />
  42. </xs:restriction>
  43. </xs:complexContent>
  44. </xs:complexType>
  45. <xs:element name="ArrowToggle" substitutionGroup="engine:VisualElement" xmlns:q2="UnityEditor.PackageManager.UI" type="q2:ArrowToggleType" />
  46. <xs:complexType name="DropdownButtonType">
  47. <xs:complexContent mixed="false">
  48. <xs:restriction base="engine:VisualElementType">
  49. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  50. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  51. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  52. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  53. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  54. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  55. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  56. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  57. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  58. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  59. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  60. <xs:anyAttribute processContents="lax" />
  61. </xs:restriction>
  62. </xs:complexContent>
  63. </xs:complexType>
  64. <xs:element name="DropdownButton" substitutionGroup="engine:VisualElement" xmlns:q3="UnityEditor.PackageManager.UI" type="q3:DropdownButtonType" />
  65. <xs:complexType name="LoadingSpinnerType">
  66. <xs:complexContent mixed="false">
  67. <xs:restriction base="engine:VisualElementType">
  68. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  69. <xs:element ref="engine:VisualElement" />
  70. </xs:sequence>
  71. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  72. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  73. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  74. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  75. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  76. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  77. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  78. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  79. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  80. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  81. <xs:anyAttribute processContents="lax" />
  82. </xs:restriction>
  83. </xs:complexContent>
  84. </xs:complexType>
  85. <xs:element name="LoadingSpinner" substitutionGroup="engine:VisualElement" xmlns:q4="UnityEditor.PackageManager.UI" type="q4:LoadingSpinnerType" />
  86. <xs:complexType name="PackageDependenciesType">
  87. <xs:complexContent mixed="false">
  88. <xs:restriction base="engine:VisualElementType">
  89. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  90. <xs:element ref="engine:VisualElement" />
  91. </xs:sequence>
  92. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  93. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  94. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  95. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  96. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  97. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  98. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  99. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  100. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  101. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  102. <xs:anyAttribute processContents="lax" />
  103. </xs:restriction>
  104. </xs:complexContent>
  105. </xs:complexType>
  106. <xs:element name="PackageDependencies" substitutionGroup="engine:VisualElement" xmlns:q5="UnityEditor.PackageManager.UI" type="q5:PackageDependenciesType" />
  107. <xs:complexType name="PackageDetailsType">
  108. <xs:complexContent mixed="false">
  109. <xs:restriction base="engine:VisualElementType">
  110. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  111. <xs:element ref="engine:VisualElement" />
  112. </xs:sequence>
  113. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  114. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  115. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  116. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  117. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  118. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  119. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  120. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  121. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  122. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  123. <xs:anyAttribute processContents="lax" />
  124. </xs:restriction>
  125. </xs:complexContent>
  126. </xs:complexType>
  127. <xs:element name="PackageDetails" substitutionGroup="engine:VisualElement" xmlns:q6="UnityEditor.PackageManager.UI" type="q6:PackageDetailsType" />
  128. <xs:complexType name="PackageItemType">
  129. <xs:complexContent mixed="false">
  130. <xs:restriction base="engine:VisualElementType">
  131. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  132. <xs:element ref="engine:VisualElement" />
  133. </xs:sequence>
  134. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  135. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  136. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  137. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  138. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  139. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  140. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  141. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  142. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  143. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  144. <xs:anyAttribute processContents="lax" />
  145. </xs:restriction>
  146. </xs:complexContent>
  147. </xs:complexType>
  148. <xs:element name="PackageItem" substitutionGroup="engine:VisualElement" xmlns:q7="UnityEditor.PackageManager.UI" type="q7:PackageItemType" />
  149. <xs:complexType name="PackageListType">
  150. <xs:complexContent mixed="false">
  151. <xs:restriction base="engine:VisualElementType">
  152. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  153. <xs:element ref="engine:VisualElement" />
  154. </xs:sequence>
  155. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  156. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  157. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  158. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  159. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  160. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  161. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  162. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  163. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  164. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  165. <xs:anyAttribute processContents="lax" />
  166. </xs:restriction>
  167. </xs:complexContent>
  168. </xs:complexType>
  169. <xs:element name="PackageList" substitutionGroup="engine:VisualElement" xmlns:q8="UnityEditor.PackageManager.UI" type="q8:PackageListType" />
  170. <xs:complexType name="PackageManagerToolbarType">
  171. <xs:complexContent mixed="false">
  172. <xs:restriction base="engine:VisualElementType">
  173. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  174. <xs:element ref="engine:VisualElement" />
  175. </xs:sequence>
  176. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  177. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  178. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  179. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  180. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  181. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  182. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  183. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  184. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  185. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  186. <xs:anyAttribute processContents="lax" />
  187. </xs:restriction>
  188. </xs:complexContent>
  189. </xs:complexType>
  190. <xs:element name="PackageManagerToolbar" substitutionGroup="engine:VisualElement" xmlns:q9="UnityEditor.PackageManager.UI" type="q9:PackageManagerToolbarType" />
  191. <xs:complexType name="PackageSampleListType">
  192. <xs:complexContent mixed="false">
  193. <xs:restriction base="engine:VisualElementType">
  194. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  195. <xs:element ref="engine:VisualElement" />
  196. </xs:sequence>
  197. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  198. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  199. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  200. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  201. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  202. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  203. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  204. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  205. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  206. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  207. <xs:anyAttribute processContents="lax" />
  208. </xs:restriction>
  209. </xs:complexContent>
  210. </xs:complexType>
  211. <xs:element name="PackageSampleList" substitutionGroup="engine:VisualElement" xmlns:q10="UnityEditor.PackageManager.UI" type="q10:PackageSampleListType" />
  212. <xs:complexType name="PackageStatusBarType">
  213. <xs:complexContent mixed="false">
  214. <xs:restriction base="engine:VisualElementType">
  215. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  216. <xs:element ref="engine:VisualElement" />
  217. </xs:sequence>
  218. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  219. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  220. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  221. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  222. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  223. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  224. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  225. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  226. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  227. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  228. <xs:anyAttribute processContents="lax" />
  229. </xs:restriction>
  230. </xs:complexContent>
  231. </xs:complexType>
  232. <xs:element name="PackageStatusBar" substitutionGroup="engine:VisualElement" xmlns:q11="UnityEditor.PackageManager.UI" type="q11:PackageStatusBarType" />
  233. <xs:complexType name="PackageToolbarType">
  234. <xs:complexContent mixed="false">
  235. <xs:restriction base="engine:VisualElementType">
  236. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  237. <xs:element ref="engine:VisualElement" />
  238. </xs:sequence>
  239. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  240. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  241. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  242. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  243. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  244. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  245. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  246. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  247. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  248. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  249. <xs:anyAttribute processContents="lax" />
  250. </xs:restriction>
  251. </xs:complexContent>
  252. </xs:complexType>
  253. <xs:element name="PackageToolbar" substitutionGroup="engine:VisualElement" xmlns:q12="UnityEditor.PackageManager.UI" type="q12:PackageToolbarType" />
  254. <xs:complexType name="ProgressBarType">
  255. <xs:complexContent mixed="false">
  256. <xs:restriction base="engine:VisualElementType">
  257. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  258. <xs:element ref="engine:VisualElement" />
  259. </xs:sequence>
  260. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  261. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  262. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  263. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  264. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  265. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  266. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  267. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  268. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  269. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  270. <xs:anyAttribute processContents="lax" />
  271. </xs:restriction>
  272. </xs:complexContent>
  273. </xs:complexType>
  274. <xs:element name="ProgressBar" substitutionGroup="engine:VisualElement" xmlns:q13="UnityEditor.PackageManager.UI" type="q13:ProgressBarType" />
  275. <xs:complexType name="SplitViewType">
  276. <xs:complexContent mixed="false">
  277. <xs:restriction base="engine:VisualElementType">
  278. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  279. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  280. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  281. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  282. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  283. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  284. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  285. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  286. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  287. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  288. <xs:attribute default="100" name="fixed-pane-initial-size" type="xs:int" use="optional" />
  289. <xs:anyAttribute processContents="lax" />
  290. </xs:restriction>
  291. </xs:complexContent>
  292. </xs:complexType>
  293. <xs:element name="SplitView" substitutionGroup="engine:VisualElement" xmlns:q14="UnityEditor.PackageManager.UI" type="q14:SplitViewType" />
  294. </xs:schema>