Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: editor/tools/plugins/com.google.dart.tools.core/schema/libraries.exsd

Issue 8631010: Move bundled libraries out of plugins (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 &quot;dom.lib&quot;, then the library can be referenced using the URL &quot;dart:dom.lib&quot;.
61 </documentation>
62 </annotation>
63 </attribute>
64 <attribute name="host" type="string" use="required">
65 <annotation>
66 <documentation>
67 The host in the library&apos;s URL spec. For example, in the U RL &quot;dart://dom/dom.lib&quot;, the host is &quot;dom&quot;.
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 &quot;false&quot;.
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 &lt;pre&gt;
104 &lt;extension point=&quot;com.google.dart.tools.core.libraries&quot;&gt;
105 &lt;library
106 name=&quot;dom.lib&quot;
107 host=&quot;dom&quot;
108 path=&quot;dart_dom.lib&quot;&gt;
109 &lt;/library&gt;
110 &lt;/extension&gt;
111 &lt;/pre&gt;
112 Given the declaration above, the DOM library can be referenced using the short U RL &quot;dart:&lt;name&gt;&quot; or in this case &quot;dart:dom.lib&quot;. This is expanded automatically to the full URL for the library &quot;dart://&lt;host& gt;/&lt;path&gt;&quot; or in this case &quot;dart://dom/dom.lib&quot;. 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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698