[jbosstools-commits] JBoss Tools SVN: r35723 - in trunk/central/plugins/org.jboss.tools.central: schema and 1 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Oct 17 10:09:22 EDT 2011


Author: snjeza
Date: 2011-10-17 10:09:22 -0400 (Mon, 17 Oct 2011)
New Revision: 35723

Removed:
   trunk/central/plugins/org.jboss.tools.central/schema/downloadJBossRuntimes.exsd
Modified:
   trunk/central/plugins/org.jboss.tools.central/plugin.properties
   trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/dialogs/ProjectExamplesDialog.java
Log:
JBIDE-6369 Should support auto download of new container for Tools

Modified: trunk/central/plugins/org.jboss.tools.central/plugin.properties
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/plugin.properties	2011-10-17 14:09:16 UTC (rev 35722)
+++ trunk/central/plugins/org.jboss.tools.central/plugin.properties	2011-10-17 14:09:22 UTC (rev 35723)
@@ -1,5 +1,4 @@
 #Properties file for org.jboss.tools.central
 BundleVendor = JBoss by Red Hat
 BundleName = JBoss Central
-DownloadJBossRuntimes = Download JBoss Runtimes
 ProjectExamplesTutorial = Project Examples Tutorial

Deleted: trunk/central/plugins/org.jboss.tools.central/schema/downloadJBossRuntimes.exsd
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/schema/downloadJBossRuntimes.exsd	2011-10-17 14:09:16 UTC (rev 35722)
+++ trunk/central/plugins/org.jboss.tools.central/schema/downloadJBossRuntimes.exsd	2011-10-17 14:09:22 UTC (rev 35723)
@@ -1,138 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.jboss.tools.central" xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
-      <appinfo>
-         <meta.schema plugin="org.jboss.tools.central" id="downloadJBossRuntimes" name="Download JBoss Runtimes"/>
-      </appinfo>
-      <documentation>
-         Downloads a new JBoss Runtime
-      </documentation>
-   </annotation>
-
-   <element name="extension">
-      <annotation>
-         <appinfo>
-            <meta.element />
-         </appinfo>
-      </annotation>
-      <complexType>
-         <sequence>
-            <element ref="runtime" minOccurs="1" maxOccurs="unbounded"/>
-         </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="runtime">
-      <complexType>
-         <attribute name="id" type="string" use="required">
-            <annotation>
-               <documentation>
-                  
-               </documentation>
-            </annotation>
-         </attribute>
-         <attribute name="name" type="string" use="required">
-            <annotation>
-               <documentation>
-                  
-               </documentation>
-            </annotation>
-         </attribute>
-         <attribute name="version" type="string" use="required">
-            <annotation>
-               <documentation>
-                  
-               </documentation>
-            </annotation>
-         </attribute>
-         <attribute name="url" type="string" use="required">
-            <annotation>
-               <documentation>
-                  
-               </documentation>
-            </annotation>
-         </attribute>
-         <attribute name="size" type="string" use="required">
-            <annotation>
-               <documentation>
-                  
-               </documentation>
-            </annotation>
-         </attribute>
-      </complexType>
-   </element>
-
-   <annotation>
-      <appinfo>
-         <meta.section type="since"/>
-      </appinfo>
-      <documentation>
-         3.0.0
-      </documentation>
-   </annotation>
-
-   <annotation>
-      <appinfo>
-         <meta.section type="examples"/>
-      </appinfo>
-      <documentation>
-         &lt;extension
-         point=&quot;org.jboss.tools.central.downloadJBossRuntimes&quot;&gt;
-
-&lt;/extension&gt;
-      </documentation>
-   </annotation>
-
-   <annotation>
-      <appinfo>
-         <meta.section type="apiinfo"/>
-      </appinfo>
-      <documentation>
-         [Enter API information here.]
-      </documentation>
-   </annotation>
-
-   <annotation>
-      <appinfo>
-         <meta.section type="implementation"/>
-      </appinfo>
-      <documentation>
-         [Enter information about supplied implementation of this extension point.]
-      </documentation>
-   </annotation>
-
-   <annotation>
-      <appinfo>
-         <meta.section type="copyright"/>
-      </appinfo>
-      <documentation>
-         JBoss by Red Hat
-      </documentation>
-   </annotation>
-
-</schema>

Modified: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/dialogs/ProjectExamplesDialog.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/dialogs/ProjectExamplesDialog.java	2011-10-17 14:09:16 UTC (rev 35722)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/dialogs/ProjectExamplesDialog.java	2011-10-17 14:09:22 UTC (rev 35723)
@@ -237,7 +237,7 @@
 		final String downloadId = projectFix.getProperties().get(ProjectFix.DOWNLOAD_ID);
 		boolean haveDownloadId = false;
 		if (downloadId != null) {
-			DownloadRuntime downloadRuntime = RuntimeCoreActivator.getDefault().getDownloadJBossRuntimes().get(downloadId);
+			DownloadRuntime downloadRuntime = RuntimeCoreActivator.getDefault().getDownloadRuntimes().get(downloadId);
 			if (downloadRuntime != null) {
 				haveDownloadId = true;
 				Button download = toolkit.createButton(fixesComposite, "Download and Install...", SWT.PUSH);



More information about the jbosstools-commits mailing list