| OLD | NEW |
| (Empty) |
| 1 <?xml version='1.0' encoding='UTF-8'?> | |
| 2 <!-- Schema file written by PDE --> | |
| 3 <schema targetNamespace="com.google.dart.tools.core" xmlns="http://www.w3.org/20
01/XMLSchema"> | |
| 4 <annotation> | |
| 5 <appInfo> | |
| 6 <meta.schema plugin="com.google.dart.tools.core" id="libraries" name="D
art Libraries"/> | |
| 7 </appInfo> | |
| 8 <documentation> | |
| 9 The libraries extension-point allows libraries that are bundled in Ecli
pse plugins to be represented within the Eclipse model and referenced by source
in the Eclipse workspace. | |
| 10 </documentation> | |
| 11 </annotation> | |
| 12 | |
| 13 <element name="extension"> | |
| 14 <annotation> | |
| 15 <appInfo> | |
| 16 <meta.element /> | |
| 17 </appInfo> | |
| 18 </annotation> | |
| 19 <complexType> | |
| 20 <sequence minOccurs="0" maxOccurs="unbounded"> | |
| 21 <element ref="library"/> | |
| 22 </sequence> | |
| 23 <attribute name="point" type="string" use="required"> | |
| 24 <annotation> | |
| 25 <documentation> | |
| 26 | |
| 27 </documentation> | |
| 28 </annotation> | |
| 29 </attribute> | |
| 30 <attribute name="id" type="string"> | |
| 31 <annotation> | |
| 32 <documentation> | |
| 33 | |
| 34 </documentation> | |
| 35 </annotation> | |
| 36 </attribute> | |
| 37 <attribute name="name" type="string"> | |
| 38 <annotation> | |
| 39 <documentation> | |
| 40 | |
| 41 </documentation> | |
| 42 <appInfo> | |
| 43 <meta.attribute translatable="true"/> | |
| 44 </appInfo> | |
| 45 </annotation> | |
| 46 </attribute> | |
| 47 </complexType> | |
| 48 </element> | |
| 49 | |
| 50 <element name="library"> | |
| 51 <annotation> | |
| 52 <documentation> | |
| 53 A Dart library | |
| 54 </documentation> | |
| 55 </annotation> | |
| 56 <complexType> | |
| 57 <attribute name="name" type="string" use="required"> | |
| 58 <annotation> | |
| 59 <documentation> | |
| 60 The short name used to refer to this library. For example, if
the short name is "dom.lib", then the library can be referenced using
the URL "dart:dom.lib". | |
| 61 </documentation> | |
| 62 </annotation> | |
| 63 </attribute> | |
| 64 <attribute name="host" type="string" use="required"> | |
| 65 <annotation> | |
| 66 <documentation> | |
| 67 The host in the library's URL spec. For example, in the U
RL "dart://dom/dom.lib", the host is "dom". | |
| 68 </documentation> | |
| 69 </annotation> | |
| 70 </attribute> | |
| 71 <attribute name="path" type="string" use="required"> | |
| 72 <annotation> | |
| 73 <documentation> | |
| 74 The path to the *.lib file within the plugin containing the li
brary. | |
| 75 </documentation> | |
| 76 </annotation> | |
| 77 </attribute> | |
| 78 <attribute name="visible" type="boolean"> | |
| 79 <annotation> | |
| 80 <documentation> | |
| 81 By default, bundled libraries are displayed to the user so tha
t they can optionally import them when generating a new application or library.
If you do not want a library displayed to the user (e.g. the Core library) then
set this attribute to "false". | |
| 82 </documentation> | |
| 83 </annotation> | |
| 84 </attribute> | |
| 85 </complexType> | |
| 86 </element> | |
| 87 | |
| 88 <annotation> | |
| 89 <appInfo> | |
| 90 <meta.section type="since"/> | |
| 91 </appInfo> | |
| 92 <documentation> | |
| 93 1.0 | |
| 94 </documentation> | |
| 95 </annotation> | |
| 96 | |
| 97 <annotation> | |
| 98 <appInfo> | |
| 99 <meta.section type="examples"/> | |
| 100 </appInfo> | |
| 101 <documentation> | |
| 102 The DOM library is bundled with the Dart Editor using the following ext
ension: | |
| 103 <pre> | |
| 104 <extension point="com.google.dart.tools.core.libraries"> | |
| 105 <library | |
| 106 name="dom.lib" | |
| 107 host="dom" | |
| 108 path="dart_dom.lib"> | |
| 109 </library> | |
| 110 </extension> | |
| 111 </pre> | |
| 112 Given the declaration above, the DOM library can be referenced using the short U
RL "dart:<name>" or in this case "dart:dom.lib". This
is expanded automatically to the full URL for the library "dart://<host&
gt;/<path>" or in this case "dart://dom/dom.lib". The full
path is build and installation dependent and should not be used *.lib or app fil
es. | |
| 113 </documentation> | |
| 114 </annotation> | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 </schema> | |
| OLD | NEW |