From 618e0c9e25740294600cbfeb5275d43229a53e44 Mon Sep 17 00:00:00 2001 From: Tomasz Zarna Date: Fri, 23 Dec 2011 10:44:53 +0100 Subject: bug 366790: Allow to specify values from BundleImporterDelegate declaratively, in plugin.xml --- .../schema/bundleImporters.exsd | 50 +++++++++++++--------- 1 file changed, 30 insertions(+), 20 deletions(-) (limited to 'bundles/org.eclipse.team.core/schema/bundleImporters.exsd') diff --git a/bundles/org.eclipse.team.core/schema/bundleImporters.exsd b/bundles/org.eclipse.team.core/schema/bundleImporters.exsd index 747a545ab..35e80a223 100644 --- a/bundles/org.eclipse.team.core/schema/bundleImporters.exsd +++ b/bundles/org.eclipse.team.core/schema/bundleImporters.exsd @@ -52,16 +52,9 @@ A bundle importer is capable of creating a project in the workspace based on a b - - - - Fully qualified name of a Java class providing an implementation of <code>org.eclipse.team.core.importing.provisional.IBundleImporterDelegate</code> for this handler. - - - - - - + + + @@ -82,13 +75,35 @@ A bundle importer is capable of creating a project in the workspace based on a b - The name of this bundle importer, suitable for display to an end user. + The name of this bundle importer, suitable for display to the end user. + + + + The id of org.eclipse.team.core.repository extension that is associated with this importer. + + + + + + + + + + + + + + + The SCM URL prefix being supported by this importer. + + + @@ -113,7 +128,10 @@ A bundle importer is capable of creating a project in the workspace based on a b <extension point="org.eclipse.team.core.bundleImporters"> <importer id="com.example.ExampleIdentifier" - class="com.example.ExampleBundleImporter"> + name="Example Importer" + repository="com.example.ExampleNature"> + <supports prefix="scm:example:"> + </supports> </importer> </extension> </pre> @@ -121,14 +139,6 @@ A bundle importer is capable of creating a project in the workspace based on a b - - - - - - Value of a importer's <b>class</b> attribute must be a fully qualified name of a Java class that implements the interface <b>org.eclipse.team.core.importing.provisional.IBundleImporterDelegate</b>. - - -- cgit v1.2.3