Index: editor/tools/plugins/com.google.dart.tools.core/schema/libraries.exsd |
=================================================================== |
--- editor/tools/plugins/com.google.dart.tools.core/schema/libraries.exsd (revision 1856) |
+++ editor/tools/plugins/com.google.dart.tools.core/schema/libraries.exsd (working copy) |
@@ -1,119 +0,0 @@ |
-<?xml version='1.0' encoding='UTF-8'?> |
-<!-- Schema file written by PDE --> |
-<schema targetNamespace="com.google.dart.tools.core" xmlns="http://www.w3.org/2001/XMLSchema"> |
-<annotation> |
- <appInfo> |
- <meta.schema plugin="com.google.dart.tools.core" id="libraries" name="Dart Libraries"/> |
- </appInfo> |
- <documentation> |
- The libraries extension-point allows libraries that are bundled in Eclipse plugins to be represented within the Eclipse model and referenced by source in the Eclipse workspace. |
- </documentation> |
- </annotation> |
- |
- <element name="extension"> |
- <annotation> |
- <appInfo> |
- <meta.element /> |
- </appInfo> |
- </annotation> |
- <complexType> |
- <sequence minOccurs="0" maxOccurs="unbounded"> |
- <element ref="library"/> |
- </sequence> |
- <attribute name="point" type="string" use="required"> |
- <annotation> |
- <documentation> |
- |
- </documentation> |
- </annotation> |
- </attribute> |
- <attribute name="id" type="string"> |
- <annotation> |
- <documentation> |
- |
- </documentation> |
- </annotation> |
- </attribute> |
- <attribute name="name" type="string"> |
- <annotation> |
- <documentation> |
- |
- </documentation> |
- <appInfo> |
- <meta.attribute translatable="true"/> |
- </appInfo> |
- </annotation> |
- </attribute> |
- </complexType> |
- </element> |
- |
- <element name="library"> |
- <annotation> |
- <documentation> |
- A Dart library |
- </documentation> |
- </annotation> |
- <complexType> |
- <attribute name="name" type="string" use="required"> |
- <annotation> |
- <documentation> |
- 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". |
- </documentation> |
- </annotation> |
- </attribute> |
- <attribute name="host" type="string" use="required"> |
- <annotation> |
- <documentation> |
- The host in the library's URL spec. For example, in the URL "dart://dom/dom.lib", the host is "dom". |
- </documentation> |
- </annotation> |
- </attribute> |
- <attribute name="path" type="string" use="required"> |
- <annotation> |
- <documentation> |
- The path to the *.lib file within the plugin containing the library. |
- </documentation> |
- </annotation> |
- </attribute> |
- <attribute name="visible" type="boolean"> |
- <annotation> |
- <documentation> |
- By default, bundled libraries are displayed to the user so that 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". |
- </documentation> |
- </annotation> |
- </attribute> |
- </complexType> |
- </element> |
- |
- <annotation> |
- <appInfo> |
- <meta.section type="since"/> |
- </appInfo> |
- <documentation> |
- 1.0 |
- </documentation> |
- </annotation> |
- |
- <annotation> |
- <appInfo> |
- <meta.section type="examples"/> |
- </appInfo> |
- <documentation> |
- The DOM library is bundled with the Dart Editor using the following extension: |
-<pre> |
- <extension point="com.google.dart.tools.core.libraries"> |
- <library |
- name="dom.lib" |
- host="dom" |
- path="dart_dom.lib"> |
- </library> |
- </extension> |
-</pre> |
-Given the declaration above, the DOM library can be referenced using the short URL "dart:<name>" or in this case "dart:dom.lib". This is expanded automatically to the full URL for the library "dart://<host>/<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 files. |
- </documentation> |
- </annotation> |
- |
- |
- |
- |
-</schema> |