UnityEditor.ShortcutManagement.xsd 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.Overlays" 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: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="ShortcutSearchField" substitutionGroup="engine:VisualElement" xmlns:q1="UnityEditor.ShortcutManagement" type="q1:ShortcutSearchFieldType" />
  25. <xs:complexType name="ShortcutPopupSearchFieldType">
  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="ShortcutPopupSearchField" substitutionGroup="engine:VisualElement" xmlns:q2="UnityEditor.ShortcutManagement" type="q2:ShortcutPopupSearchFieldType" />
  46. </xs:schema>