UnityEditor.ShortcutManagement.xsd 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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.ShortcutManagement" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
  4. <xs:complexType name="ShortcutSearchFieldType">
  5. <xs:complexContent mixed="false">
  6. <xs:restriction base="engine:VisualElementType">
  7. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  8. <xs:attribute default="true" name="enabled" type="xs:boolean" use="optional" />
  9. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  10. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  11. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  12. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  13. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  14. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  15. <xs:attribute default="Inherit" name="language-direction" type="engine:VisualElement_language-direction_Type" use="optional" />
  16. <xs:attribute default="" name="data-source" type="xs:string" use="optional" />
  17. <xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
  18. <xs:attribute default="" name="data-source-type" type="xs:string" use="optional" />
  19. <xs:attribute default="" name="placeholder-text" type="xs:string" use="optional" />
  20. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  21. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  22. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  23. <xs:anyAttribute processContents="lax" />
  24. </xs:restriction>
  25. </xs:complexContent>
  26. </xs:complexType>
  27. <xs:element name="ShortcutSearchField" substitutionGroup="engine:VisualElement" xmlns:q1="UnityEditor.ShortcutManagement" type="q1:ShortcutSearchFieldType" />
  28. <xs:complexType name="ShortcutPopupSearchFieldType">
  29. <xs:complexContent mixed="false">
  30. <xs:restriction base="engine:VisualElementType">
  31. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  32. <xs:attribute default="true" name="enabled" type="xs:boolean" use="optional" />
  33. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  34. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  35. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  36. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  37. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  38. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  39. <xs:attribute default="Inherit" name="language-direction" type="engine:VisualElement_language-direction_Type" use="optional" />
  40. <xs:attribute default="" name="data-source" type="xs:string" use="optional" />
  41. <xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
  42. <xs:attribute default="" name="data-source-type" type="xs:string" use="optional" />
  43. <xs:attribute default="" name="placeholder-text" type="xs:string" use="optional" />
  44. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  45. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  46. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  47. <xs:anyAttribute processContents="lax" />
  48. </xs:restriction>
  49. </xs:complexContent>
  50. </xs:complexType>
  51. <xs:element name="ShortcutPopupSearchField" substitutionGroup="engine:VisualElement" xmlns:q2="UnityEditor.ShortcutManagement" type="q2:ShortcutPopupSearchFieldType" />
  52. </xs:schema>