UnityEditor.Accessibility.xsd 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.Accessibility" elementFormDefault="qualified" targetNamespace="UnityEditor.Accessibility" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
  4. <xs:simpleType name="AccessibilityHierarchyTreeViewItem_role_Type">
  5. <xs:restriction base="xs:string">
  6. <xs:enumeration value="None" />
  7. <xs:enumeration value="Button" />
  8. <xs:enumeration value="Image" />
  9. <xs:enumeration value="StaticText" />
  10. <xs:enumeration value="SearchField" />
  11. <xs:enumeration value="KeyboardKey" />
  12. <xs:enumeration value="Header" />
  13. <xs:enumeration value="TabBar" />
  14. <xs:enumeration value="Slider" />
  15. <xs:enumeration value="Toggle" />
  16. </xs:restriction>
  17. </xs:simpleType>
  18. <xs:complexType name="AccessibilityHierarchyTreeViewItemType">
  19. <xs:complexContent mixed="false">
  20. <xs:restriction base="engine:VisualElementType">
  21. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  22. <xs:attribute default="true" name="enabled" type="xs:boolean" use="optional" />
  23. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  24. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  25. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  26. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  27. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  28. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  29. <xs:attribute default="Inherit" name="language-direction" type="engine:VisualElement_language-direction_Type" use="optional" />
  30. <xs:attribute default="" name="data-source" type="xs:string" use="optional" />
  31. <xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
  32. <xs:attribute default="" name="data-source-type" type="xs:string" use="optional" />
  33. <xs:attribute default="false" name="is-root" type="xs:boolean" use="optional" />
  34. <xs:attribute default="0" name="id" type="xs:int" use="optional" />
  35. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  36. <xs:attribute default="None" name="role" type="AccessibilityHierarchyTreeViewItem_role_Type" use="optional" />
  37. <xs:attribute default="false" name="is-active" type="xs:boolean" use="optional" />
  38. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  39. <xs:attribute default="" name="class" 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="AccessibilityHierarchyTreeViewItem" substitutionGroup="engine:VisualElement" type="AccessibilityHierarchyTreeViewItemType" />
  46. <xs:complexType name="AccessibilityHierarchyTreeViewType">
  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="true" name="enabled" type="xs:boolean" use="optional" />
  51. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  52. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  53. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  54. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  55. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  56. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  57. <xs:attribute default="Inherit" name="language-direction" type="engine:VisualElement_language-direction_Type" use="optional" />
  58. <xs:attribute default="" name="data-source" type="xs:string" use="optional" />
  59. <xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
  60. <xs:attribute default="" name="data-source-type" type="xs:string" use="optional" />
  61. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  62. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  63. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  64. <xs:anyAttribute processContents="lax" />
  65. </xs:restriction>
  66. </xs:complexContent>
  67. </xs:complexType>
  68. <xs:element name="AccessibilityHierarchyTreeView" substitutionGroup="engine:VisualElement" type="AccessibilityHierarchyTreeViewType" />
  69. <xs:complexType name="TreeViewSearchBarType">
  70. <xs:complexContent mixed="false">
  71. <xs:restriction base="engine:VisualElementType">
  72. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  73. <xs:attribute default="true" name="enabled" type="xs:boolean" use="optional" />
  74. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  75. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  76. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  77. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  78. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  79. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  80. <xs:attribute default="Inherit" name="language-direction" type="engine:VisualElement_language-direction_Type" use="optional" />
  81. <xs:attribute default="" name="data-source" type="xs:string" use="optional" />
  82. <xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
  83. <xs:attribute default="" name="data-source-type" type="xs:string" use="optional" />
  84. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  85. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  86. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  87. <xs:anyAttribute processContents="lax" />
  88. </xs:restriction>
  89. </xs:complexContent>
  90. </xs:complexType>
  91. <xs:element name="TreeViewSearchBar" substitutionGroup="engine:VisualElement" type="TreeViewSearchBarType" />
  92. <xs:complexType name="SearchableLabelType">
  93. <xs:complexContent mixed="false">
  94. <xs:restriction base="engine:VisualElementType">
  95. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  96. <xs:attribute default="true" name="enabled" type="xs:boolean" use="optional" />
  97. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  98. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  99. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  100. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  101. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  102. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  103. <xs:attribute default="Inherit" name="language-direction" type="engine:VisualElement_language-direction_Type" use="optional" />
  104. <xs:attribute default="" name="data-source" type="xs:string" use="optional" />
  105. <xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
  106. <xs:attribute default="" name="data-source-type" type="xs:string" use="optional" />
  107. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  108. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  109. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  110. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  111. <xs:anyAttribute processContents="lax" />
  112. </xs:restriction>
  113. </xs:complexContent>
  114. </xs:complexType>
  115. <xs:element name="SearchableLabel" substitutionGroup="engine:VisualElement" type="SearchableLabelType" />
  116. </xs:schema>