|
From: <caw...@us...> - 2007-01-19 18:34:54
|
Revision: 1810
http://svn.sourceforge.net/rubyeclipse/?rev=1810&view=rev
Author: cawilliams
Date: 2007-01-19 10:34:50 -0800 (Fri, 19 Jan 2007)
Log Message:
-----------
new schemas/extension points
Modified Paths:
--------------
trunk/org.rubypeople.rdt.launching/plugin.xml
Added Paths:
-----------
trunk/org.rubypeople.rdt.launching/schema/loadpathProviders.exsd
trunk/org.rubypeople.rdt.launching/schema/runtimeLoadpathEntries.exsd
trunk/org.rubypeople.rdt.launching/schema/runtimeLoadpathEntryResolvers.exsd
Modified: trunk/org.rubypeople.rdt.launching/plugin.xml
===================================================================
--- trunk/org.rubypeople.rdt.launching/plugin.xml 2007-01-19 18:29:36 UTC (rev 1809)
+++ trunk/org.rubypeople.rdt.launching/plugin.xml 2007-01-19 18:34:50 UTC (rev 1810)
@@ -25,6 +25,9 @@
<!-- Extension point definitions -->
<extension-point id="vmInstallTypes" name="%vmInstallTypes" schema="schema/vmInstallTypes.exsd"/>
<extension-point id="vmInstalls" name="%vmInstalls" schema="schema/vmInstalls.exsd"/>
+ <extension-point id="loadpathProviders" name="%loadpathProviders" schema="schema/loadpathProviders.exsd"/>
+ <extension-point id="runtimeLoadpathEntryResolvers" name="%runtimeLoadpathEntryResolvers" schema="schema/runtimeLoadpathEntryResolvers.exsd"/>
+ <extension-point id="runtimeLoadpathEntries" name="%runtimeLoadpathEntries" schema="schema/runtimeLoadpathEntries.exsd"/>
<extension
point="org.rubypeople.rdt.launching.vmInstallTypes">
Added: trunk/org.rubypeople.rdt.launching/schema/loadpathProviders.exsd
===================================================================
--- trunk/org.rubypeople.rdt.launching/schema/loadpathProviders.exsd (rev 0)
+++ trunk/org.rubypeople.rdt.launching/schema/loadpathProviders.exsd 2007-01-19 18:34:50 UTC (rev 1810)
@@ -0,0 +1,115 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.jdt.launching">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.jdt.launching" id="classpathProviders" name="Java Runtime Classpath Providers"/>
+ </appInfo>
+ <documentation>
+ This extension point allows clients to dynamically compute and resolve classpaths and source lookup paths for Java launch configurations. A Java launch configuration is can be associated with a custom classpath provider via the launch configuration attriubte ATTR_CLASSPATH_PROVIDER and a custom source path provider via the attribute ATTR_SOURCE_PATH_PROVIDER. When specified, the launch configuration attributes correspond to the id of a classpath provider extension.
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <complexType>
+ <sequence>
+ <element ref="loadpathProvider" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+ a fully qualified identifier of the target extension point
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+ an optional identifier of the extension instance
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+ an optional name of the extension instance
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="loadpathProvider">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ a unique identifier that can be used to reference this classpath provider
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ the class that implements this classpath provider. The class must implement <code>IRuntimeClasspathProvider</code>
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.rubypeople.rdt.launching.AbstractVMInstallType"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ 2.1
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ The following is an example of a classpath provider:
+
+<p>
+<pre>
+ <extension point="org.eclipse.jdt.launching.classpathProviders">
+ <classpathProvider
+ class="com.example.ProviderImplementation"
+ id="com.example.ProviderId">
+ </classpathProvider>
+ </extension>
+</pre>
+</p>
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+ A default implementation is provided for all launch configurations that do not specify a custom classpath provider.
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2000, 2005 IBM Corporation and others.<br>
+All rights reserved. This program and the accompanying materials are made
+available under the terms of the Eclipse Public License v1.0 which
+accompanies this distribution, and is available at
+<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
+ </documentation>
+ </annotation>
+
+</schema>
Added: trunk/org.rubypeople.rdt.launching/schema/runtimeLoadpathEntries.exsd
===================================================================
--- trunk/org.rubypeople.rdt.launching/schema/runtimeLoadpathEntries.exsd (rev 0)
+++ trunk/org.rubypeople.rdt.launching/schema/runtimeLoadpathEntries.exsd 2007-01-19 18:34:50 UTC (rev 1810)
@@ -0,0 +1,115 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.rubypeople.rdt.launching">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.rubypeople.rdt.launching" id="runtimeLoadpathEntries" name="Ruby Runtime Loadpath Entries"/>
+ </appInfo>
+ <documentation>
+ This in an internal extension point that allows the Java debugger to extend the set of runtime classpath entries used for launching Java applications. Clients are not intended to use this extension point.
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <complexType>
+ <sequence>
+ <element ref="runtimeLoadpathEntry" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+ a fully qualified identifier of the target extension point
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+ an optional identifier of the extension instance
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+ an optional name of the extension instance
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="runtimeLoadpathEntry">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ a unique identifier that can be used to reference this type of runtime classpath entry.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ the class that implements this runtime classpath entry. The class must implement <code>IRuntimeClasspathEntry2</code>.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.rubypeople.rdt.launching.internal.IRuntimeLoadpathEntry2"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ 3.0
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ The following is an example of a resolver:
+
+<p>
+<pre>
+ <extension point="org.eclipse.jdt.launching.runtimeClasspathEntries">
+ <runtimeClasspathEntry
+ id="com.example.EnvVarEntry"
+ class="com.example.EnvVarClasspathEntry">
+ </runtimeClasspathEntry>
+ </extension>
+</pre>
+</p>
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+ An implementations is provided for Java projects, contributed with an identifier of <code>org.eclipse.jdt.launching.classpathentry.project</code>. A Java project classpath entry includes all references on its buildpath.
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2000, 2005 IBM Corporation and others.<br>
+All rights reserved. This program and the accompanying materials are made
+available under the terms of the Eclipse Public License v1.0 which
+accompanies this distribution, and is available at
+<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
+ </documentation>
+ </annotation>
+
+</schema>
Added: trunk/org.rubypeople.rdt.launching/schema/runtimeLoadpathEntryResolvers.exsd
===================================================================
--- trunk/org.rubypeople.rdt.launching/schema/runtimeLoadpathEntryResolvers.exsd (rev 0)
+++ trunk/org.rubypeople.rdt.launching/schema/runtimeLoadpathEntryResolvers.exsd 2007-01-19 18:34:50 UTC (rev 1810)
@@ -0,0 +1,129 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.rubypeople.rdt.launching">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.rubypeople.rdt.launching" id="runtimeLoadpathEntryResolvers" name="Ruby Runtime Loadpath Entry Resolvers"/>
+ </appInfo>
+ <documentation>
+ This extension point allows clients to dynamically resolve entries used on the runtime classpath and source
+lookup path, for corresponding classpath variables and classpath containers.
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <complexType>
+ <sequence>
+ <element ref="runtimeLoadpathEntryResolver" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+ a fully qualified identifier of the target extension point
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+ an optional identifier of the extension instance
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+ an optional name of the extension instance
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="runtimeLoadpathEntryResolver">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ a unique identifier that can be used to reference this resolver.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ the class that implements this resolver. The class must implement <code>IRuntimeClasspathEntryResolver</code>.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.rubypeople.rdt.launching.IRuntimeLoadpathEntryResolver"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="variable" type="string">
+ <annotation>
+ <documentation>
+ the name of the classpath variable this resolver is registered for. At least one of variable or container must be specified, and at most one resolver can be registered for a variable or container.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="container" type="string">
+ <annotation>
+ <documentation>
+ the identifier of the classpath container this resolver is registered for. At least one of variable or container must be specified, and at most one resolver can be registered for a variable or container.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="runtimeLoadpathEntryId" type="string">
+ <annotation>
+ <documentation>
+ the identifier of the runtime classpath entry this resolver is associated with
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ The following is an example of a resolver:
+
+<p>
+<pre>
+ <extension point="org.eclipse.jdt.launching.runtimeClasspathEntryResolvers">
+ <runtimeClasspathEntryResolver
+ class="com.example.ResolverImplementation"
+ id="com.example.ResolverId"
+ variable="CLASSPATH_VARIABLE">
+ </runtimeClasspathEntryResolver>
+ </extension>
+</pre>
+</p>
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+ Implementations are provided for the standard JRE_LIB classpath variable and JRE_CONTAINER classpath container.
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2000, 2005 IBM Corporation and others.<br>
+All rights reserved. This program and the accompanying materials are made
+available under the terms of the Eclipse Public License v1.0 which
+accompanies this distribution, and is available at
+<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
+ </documentation>
+ </annotation>
+
+</schema>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|