You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by bj...@apache.org on 2008/12/05 22:30:39 UTC
svn commit: r723875 [2/4] - in
/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins:
org.apache.geronimo.jee.v21.jaxbmodel/META-INF/
org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/
org.apache.geronimo.st.core/src...
Added: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginArtifactType.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginArtifactType.java?rev=723875&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginArtifactType.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginArtifactType.java Fri Dec 5 13:30:38 2008
@@ -0,0 +1,445 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.jee.plugin;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+import org.apache.geronimo.jee.plugin.ArtifactType;
+import org.apache.geronimo.jee.plugin.ConfigXmlContentType;
+import org.apache.geronimo.jee.plugin.CopyFileType;
+import org.apache.geronimo.jee.plugin.DependencyType;
+import org.apache.geronimo.jee.plugin.HashType;
+import org.apache.geronimo.jee.plugin.PrerequisiteType;
+import org.apache.geronimo.jee.plugin.PropertyType;
+
+
+/**
+ * <p>Java class for pluginArtifactType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="pluginArtifactType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="module-id" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}artifactType"/>
+ * <element name="hash" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}hashType" minOccurs="0"/>
+ * <element name="geronimo-version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="jvm-version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="prerequisite" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}prerequisiteType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="dependency" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}dependencyType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="obsoletes" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}artifactType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="source-repository" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="copy-file" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}copy-fileType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="config-xml-content" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}config-xml-contentType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="artifact-alias" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}propertyType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="config-substitution" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}propertyType" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "pluginArtifactType", propOrder = {
+ "moduleId",
+ "hash",
+ "geronimoVersion",
+ "jvmVersion",
+ "prerequisite",
+ "dependency",
+ "obsoletes",
+ "sourceRepository",
+ "copyFile",
+ "configXmlContent",
+ "artifactAlias",
+ "configSubstitution"
+})
+public class PluginArtifactType
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "module-id", required = true)
+ protected ArtifactType moduleId;
+ protected HashType hash;
+ @XmlElement(name = "geronimo-version")
+ protected List<String> geronimoVersion;
+ @XmlElement(name = "jvm-version")
+ protected List<String> jvmVersion;
+ protected List<PrerequisiteType> prerequisite;
+ protected List<DependencyType> dependency;
+ protected List<ArtifactType> obsoletes;
+ @XmlElement(name = "source-repository")
+ protected List<String> sourceRepository;
+ @XmlElement(name = "copy-file")
+ protected List<CopyFileType> copyFile;
+ @XmlElement(name = "config-xml-content")
+ protected List<ConfigXmlContentType> configXmlContent;
+ @XmlElement(name = "artifact-alias")
+ protected List<PropertyType> artifactAlias;
+ @XmlElement(name = "config-substitution")
+ protected List<PropertyType> configSubstitution;
+
+ /**
+ * Gets the value of the moduleId property.
+ *
+ * @return
+ * possible object is
+ * {@link ArtifactType }
+ *
+ */
+ public ArtifactType getModuleId() {
+ return moduleId;
+ }
+
+ /**
+ * Sets the value of the moduleId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ArtifactType }
+ *
+ */
+ public void setModuleId(ArtifactType value) {
+ this.moduleId = value;
+ }
+
+ /**
+ * Gets the value of the hash property.
+ *
+ * @return
+ * possible object is
+ * {@link HashType }
+ *
+ */
+ public HashType getHash() {
+ return hash;
+ }
+
+ /**
+ * Sets the value of the hash property.
+ *
+ * @param value
+ * allowed object is
+ * {@link HashType }
+ *
+ */
+ public void setHash(HashType value) {
+ this.hash = value;
+ }
+
+ /**
+ * Gets the value of the geronimoVersion property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the geronimoVersion property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getGeronimoVersion().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getGeronimoVersion() {
+ if (geronimoVersion == null) {
+ geronimoVersion = new ArrayList<String>();
+ }
+ return this.geronimoVersion;
+ }
+
+ /**
+ * Gets the value of the jvmVersion property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the jvmVersion property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getJvmVersion().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getJvmVersion() {
+ if (jvmVersion == null) {
+ jvmVersion = new ArrayList<String>();
+ }
+ return this.jvmVersion;
+ }
+
+ /**
+ * Gets the value of the prerequisite property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the prerequisite property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPrerequisite().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PrerequisiteType }
+ *
+ *
+ */
+ public List<PrerequisiteType> getPrerequisite() {
+ if (prerequisite == null) {
+ prerequisite = new ArrayList<PrerequisiteType>();
+ }
+ return this.prerequisite;
+ }
+
+ /**
+ * Gets the value of the dependency property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the dependency property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDependency().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DependencyType }
+ *
+ *
+ */
+ public List<DependencyType> getDependency() {
+ if (dependency == null) {
+ dependency = new ArrayList<DependencyType>();
+ }
+ return this.dependency;
+ }
+
+ /**
+ * Gets the value of the obsoletes property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the obsoletes property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getObsoletes().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ArtifactType }
+ *
+ *
+ */
+ public List<ArtifactType> getObsoletes() {
+ if (obsoletes == null) {
+ obsoletes = new ArrayList<ArtifactType>();
+ }
+ return this.obsoletes;
+ }
+
+ /**
+ * Gets the value of the sourceRepository property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sourceRepository property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSourceRepository().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getSourceRepository() {
+ if (sourceRepository == null) {
+ sourceRepository = new ArrayList<String>();
+ }
+ return this.sourceRepository;
+ }
+
+ /**
+ * Gets the value of the copyFile property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the copyFile property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCopyFile().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CopyFileType }
+ *
+ *
+ */
+ public List<CopyFileType> getCopyFile() {
+ if (copyFile == null) {
+ copyFile = new ArrayList<CopyFileType>();
+ }
+ return this.copyFile;
+ }
+
+ /**
+ * Gets the value of the configXmlContent property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the configXmlContent property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConfigXmlContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ConfigXmlContentType }
+ *
+ *
+ */
+ public List<ConfigXmlContentType> getConfigXmlContent() {
+ if (configXmlContent == null) {
+ configXmlContent = new ArrayList<ConfigXmlContentType>();
+ }
+ return this.configXmlContent;
+ }
+
+ /**
+ * Gets the value of the artifactAlias property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the artifactAlias property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getArtifactAlias().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PropertyType }
+ *
+ *
+ */
+ public List<PropertyType> getArtifactAlias() {
+ if (artifactAlias == null) {
+ artifactAlias = new ArrayList<PropertyType>();
+ }
+ return this.artifactAlias;
+ }
+
+ /**
+ * Gets the value of the configSubstitution property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the configSubstitution property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConfigSubstitution().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PropertyType }
+ *
+ *
+ */
+ public List<PropertyType> getConfigSubstitution() {
+ if (configSubstitution == null) {
+ configSubstitution = new ArrayList<PropertyType>();
+ }
+ return this.configSubstitution;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginArtifactType.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginArtifactType.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginArtifactType.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginListType.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginListType.java?rev=723875&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginListType.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginListType.java Fri Dec 5 13:30:38 2008
@@ -0,0 +1,122 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.jee.plugin;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+import org.apache.geronimo.jee.plugin.PluginType;
+
+
+/**
+ * <p>Java class for plugin-listType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="plugin-listType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="plugin" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}pluginType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="default-repository" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "plugin-listType", propOrder = {
+ "plugin",
+ "defaultRepository"
+})
+public class PluginListType
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ protected List<PluginType> plugin;
+ @XmlElement(name = "default-repository")
+ protected List<String> defaultRepository;
+
+ /**
+ * Gets the value of the plugin property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the plugin property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPlugin().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PluginType }
+ *
+ *
+ */
+ public List<PluginType> getPlugin() {
+ if (plugin == null) {
+ plugin = new ArrayList<PluginType>();
+ }
+ return this.plugin;
+ }
+
+ /**
+ * Gets the value of the defaultRepository property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the defaultRepository property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDefaultRepository().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getDefaultRepository() {
+ if (defaultRepository == null) {
+ defaultRepository = new ArrayList<String>();
+ }
+ return this.defaultRepository;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginListType.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginListType.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginListType.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginType.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginType.java?rev=723875&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginType.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginType.java Fri Dec 5 13:30:38 2008
@@ -0,0 +1,267 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.jee.plugin;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+import org.apache.geronimo.jee.plugin.LicenseType;
+import org.apache.geronimo.jee.plugin.PluginArtifactType;
+
+
+/**
+ * <p>Java class for pluginType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="pluginType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="category" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="author" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="license" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}licenseType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="plugin-artifact" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}pluginArtifactType" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "pluginType", propOrder = {
+ "name",
+ "category",
+ "description",
+ "url",
+ "author",
+ "license",
+ "pluginArtifact"
+})
+public class PluginType
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(required = true)
+ protected String category;
+ @XmlElement(required = true)
+ protected String description;
+ protected String url;
+ protected String author;
+ protected List<LicenseType> license;
+ @XmlElement(name = "plugin-artifact", required = true)
+ protected List<PluginArtifactType> pluginArtifact;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the category property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCategory() {
+ return category;
+ }
+
+ /**
+ * Sets the value of the category property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCategory(String value) {
+ this.category = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the url property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUrl() {
+ if (url == null || url.length() == 0) {
+ return null;
+ }
+ return url;
+ }
+
+ /**
+ * Sets the value of the url property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUrl(String value) {
+ this.url = value;
+ }
+
+ /**
+ * Gets the value of the author property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAuthor() {
+ if (author == null || author.length() == 0) {
+ return null;
+ }
+ return author;
+ }
+
+ /**
+ * Sets the value of the author property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAuthor(String value) {
+ this.author = value;
+ }
+
+ /**
+ * Gets the value of the license property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the license property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLicense().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link LicenseType }
+ *
+ *
+ */
+ public List<LicenseType> getLicense() {
+ if (license == null) {
+ license = new ArrayList<LicenseType>();
+ }
+ return this.license;
+ }
+
+ /**
+ * Gets the value of the pluginArtifact property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the pluginArtifact property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPluginArtifact().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PluginArtifactType }
+ *
+ *
+ */
+ public List<PluginArtifactType> getPluginArtifact() {
+ if (pluginArtifact == null) {
+ pluginArtifact = new ArrayList<PluginArtifactType>();
+ }
+ return this.pluginArtifact;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginType.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginType.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PluginType.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PrerequisiteType.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PrerequisiteType.java?rev=723875&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PrerequisiteType.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PrerequisiteType.java Fri Dec 5 13:30:38 2008
@@ -0,0 +1,138 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.jee.plugin;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+import org.apache.geronimo.jee.plugin.ArtifactType;
+
+
+/**
+ * <p>Java class for prerequisiteType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="prerequisiteType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="id" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}artifactType"/>
+ * <element name="resource-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "prerequisiteType", propOrder = {
+ "id",
+ "resourceType",
+ "description"
+})
+public class PrerequisiteType
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(required = true)
+ protected ArtifactType id;
+ @XmlElement(name = "resource-type")
+ protected String resourceType;
+ protected String description;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link ArtifactType }
+ *
+ */
+ public ArtifactType getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ArtifactType }
+ *
+ */
+ public void setId(ArtifactType value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the resourceType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getResourceType() {
+ return resourceType;
+ }
+
+ /**
+ * Sets the value of the resourceType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setResourceType(String value) {
+ this.resourceType = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PrerequisiteType.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PrerequisiteType.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PrerequisiteType.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PropertyType.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PropertyType.java?rev=723875&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PropertyType.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PropertyType.java Fri Dec 5 13:30:38 2008
@@ -0,0 +1,141 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.jee.plugin;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ *
+ * holds key-value pair. key is in 'key' attribute, value is in content
+ *
+ *
+ * <p>Java class for propertyType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="propertyType">
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="server" type="{http://www.w3.org/2001/XMLSchema}string" default="default" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "propertyType", propOrder = {
+ "value"
+})
+public class PropertyType
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlValue
+ protected String value;
+ @XmlAttribute(required = true)
+ protected String key;
+ @XmlAttribute
+ protected String server;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the key property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getKey() {
+ return key;
+ }
+
+ /**
+ * Sets the value of the key property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setKey(String value) {
+ this.key = value;
+ }
+
+ /**
+ * Gets the value of the server property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getServer() {
+ if (server == null) {
+ return "default";
+ } else {
+ return server;
+ }
+ }
+
+ /**
+ * Sets the value of the server property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setServer(String value) {
+ this.server = value;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PropertyType.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PropertyType.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/PropertyType.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/ReferenceType.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/ReferenceType.java?rev=723875&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/ReferenceType.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/ReferenceType.java Fri Dec 5 13:30:38 2008
@@ -0,0 +1,328 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.jee.plugin;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for referenceType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="referenceType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="pattern" maxOccurs="unbounded" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="module" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "referenceType", namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2", propOrder = {
+ "pattern"
+})
+public class ReferenceType implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2")
+ protected List<ReferenceType.Pattern> pattern;
+ @XmlAttribute
+ protected String name;
+
+ /**
+ * Gets the value of the pattern property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the pattern property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPattern().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ReferenceType.Pattern }
+ *
+ *
+ */
+ public List<ReferenceType.Pattern> getPattern() {
+ if (pattern == null) {
+ pattern = new ArrayList<ReferenceType.Pattern>();
+ }
+ return this.pattern;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="module" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "groupId",
+ "artifactId",
+ "version",
+ "type",
+ "module",
+ "name"
+ })
+ public static class Pattern
+ implements Serializable
+ {
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2")
+ protected String groupId;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2")
+ protected String artifactId;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2")
+ protected String version;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2")
+ protected String type;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2")
+ protected String module;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2", required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the groupId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGroupId() {
+ return groupId;
+ }
+
+ /**
+ * Sets the value of the groupId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGroupId(String value) {
+ this.groupId = value;
+ }
+
+ /**
+ * Gets the value of the artifactId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getArtifactId() {
+ return artifactId;
+ }
+
+ /**
+ * Sets the value of the artifactId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setArtifactId(String value) {
+ this.artifactId = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ return version;
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the module property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getModule() {
+ return module;
+ }
+
+ /**
+ * Sets the value of the module property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setModule(String value) {
+ this.module = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/ReferenceType.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/ReferenceType.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/ReferenceType.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/package-info.java?rev=723875&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/package-info.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/package-info.java Fri Dec 5 13:30:38 2008
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * @version $Rev$ $Date$
+ */
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://geronimo.apache.org/xml/ns/plugins-1.3", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.geronimo.jee.plugin;
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/package-info.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/package-info.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugin/package-info.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/CommonMessages.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/CommonMessages.java?rev=723875&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/CommonMessages.java (added)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/CommonMessages.java Fri Dec 5 13:30:38 2008
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.st.core;
+
+import org.apache.geronimo.st.core.internal.Messages;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class CommonMessages extends Messages {
+
+}
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/CommonMessages.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/CommonMessages.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/CommonMessages.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/internal/Messages.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/internal/Messages.java?rev=723875&r1=723874&r2=723875&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/internal/Messages.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/internal/Messages.java Fri Dec 5 13:30:38 2008
@@ -35,19 +35,34 @@
public static String UNDEPLOY_FAIL;
public static String REDEPLOY_FAIL;
public static String DM_CONNECTION_FAIL;
-
+
public static String errorJRE;
-
+
public static String target20runtime;
public static String target21runtime;
public static String target22runtime;
-
+
public static String incorrectVersion;
public static String noVersion;
public static String missingContent;
public static String errorPortInUse;
public static String missingServer;
-
+
public static String errorNoProfiler;
-}
\ No newline at end of file
+ // errors for GeronimoServerPluginManager
+ public static String badConfigId;
+ public static String errorDeletePlugin;
+ public static String errorMovePlugin;
+ public static String badPlugin;
+ public static String errorCreateMetadata;
+ public static String errorUpdateMetadata;
+ public static String errorReadConfig;
+ public static String errorReadSerFile;
+ public static String errorNoSerFile;
+ public static String errorLoadClass;
+ public static String requires;
+ public static String installed;
+ public static String configSizeMismatch;
+ public static String noDefaultServer;
+}
Modified: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/internal/Messages.properties
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/internal/Messages.properties?rev=723875&r1=723874&r2=723875&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/internal/Messages.properties (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/internal/Messages.properties Fri Dec 5 13:30:38 2008
@@ -36,3 +36,18 @@
missingServer=Server does not exist
errorNoProfiler=Could not launch in profiling mode because no profilers are configured.
+
+badConfigId=Bad configID; should never happen.
+errorDeletePlugin=Unable to delete old plugin at {0}.
+errorMovePlugin=Unable to move new plugin {0} to {1}.
+badadPlugin={0} is not a plugin.
+errorCreateMetadata=Cannot create plugin metadata file for {0}.
+errorUpdateMetadata=Unable to update plugin metadata.
+errorReadConfig=Cannot read configuration {0}.
+errorReadSerFile=Can not read configuration META-INF/config.ser file: {0}.
+errorNoSerFile=Configuration does not contain a META-INF/config.ser file: {0}.
+errorLoadClass=Unable to load class from config: {0}.
+requires= requires
+installed= to be installed.
+configSizeMismatch=A plugin configuration must include one plugin artifact, not {0}.
+noDefaultServer=Invalid setup, no default server instance registered.
Modified: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/jaxb/JAXBUtils.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/jaxb/JAXBUtils.java?rev=723875&r1=723874&r2=723875&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/jaxb/JAXBUtils.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/jaxb/JAXBUtils.java Fri Dec 5 13:30:38 2008
@@ -18,6 +18,9 @@
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
+import java.io.OutputStream;
+import java.io.IOException;
+import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.InvocationTargetException;
@@ -60,7 +63,9 @@
// JAXBContext instantiation is costly - must be done only once!
private static final JAXBContext jaxbContext = newJAXBContext();
+ private static final JAXBContext jaxbPluginContext = newJAXBPluginContext();
private static final MarshallerListener marshallerListener = new MarshallerListener();
+
private static JAXBContext newJAXBContext() {
try {
return JAXBContext.newInstance(
@@ -71,7 +76,8 @@
"org.apache.geronimo.jee.applicationclient:" +
"org.apache.geronimo.jee.deployment:" +
"org.apache.geronimo.jee.naming:" +
- "org.apache.geronimo.jee.security", Activator.class.getClassLoader() );
+ "org.apache.geronimo.jee.security:" +
+ "org.apache.geronimo.jee.plugin", Activator.class.getClassLoader() );
} catch (JAXBException e) {
Trace.tracePoint("JAXBException", "JAXBContext.newInstance");
e.printStackTrace();
@@ -79,6 +85,17 @@
return null;
}
+ private static JAXBContext newJAXBPluginContext() {
+ try {
+ return JAXBContext.newInstance(
+ "org.apache.geronimo.jee.plugin", Activator.class.getClassLoader() );
+ } catch (JAXBException e) {
+ Trace.tracePoint("JAXBException", "JAXBContext.newInstance");
+ e.printStackTrace();
+ }
+ return null;
+ }
+
public static void marshalDeploymentPlan(JAXBElement jaxbElement, IFile file) {
try {
Marshaller marshaller = jaxbContext.createMarshaller();
@@ -105,7 +122,7 @@
ByteArrayOutputStream outBuffer = new ByteArrayOutputStream();
Result out = new StreamResult(new OutputStreamWriter(outBuffer,"UTF-8"));
- NamespacePrefix.processPrefix( doc );
+ NamespacePrefix.processPrefix(doc);
xformer.transform(new DOMSource(doc), out);
ByteArrayInputStream inBuffer = new ByteArrayInputStream(outBuffer.toByteArray());
@@ -144,7 +161,7 @@
factory.setValidating(false);
SAXParser parser = factory.newSAXParser();
NamespaceFilter xmlFilter = new NamespaceFilter(parser.getXMLReader());
- SAXSource source = new SAXSource(xmlFilter, new InputSource( file.getContents()));
+ SAXSource source = new SAXSource(xmlFilter, new InputSource(file.getContents()));
JAXBElement plan = (JAXBElement) unmarshaller.unmarshal(source);
return plan;
} catch (JAXBException e) {
@@ -163,6 +180,77 @@
return null;
}
+ public static void marshalPlugin(JAXBElement jaxbElement, OutputStream outputStream) {
+ try {
+ Marshaller marshaller = jaxbPluginContext.createMarshaller();
+ marshaller.setListener(marshallerListener);
+
+ DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+ DocumentBuilder db = dbf.newDocumentBuilder();
+ Document doc = db.newDocument();
+
+ marshaller.marshal(jaxbElement, doc);
+
+ TransformerFactory xf = TransformerFactory.newInstance();
+ try {
+ xf.setAttribute("indent-number", new Integer(4));
+ } catch (IllegalArgumentException iae) {
+ //ignore this. http://forums.sun.com/thread.jspa?threadID=562510&messageID=2841867
+ }
+ Transformer xformer = xf.newTransformer();
+ xformer.setOutputProperty(OutputKeys.METHOD, "xml");
+ xformer.setOutputProperty(OutputKeys.INDENT, "yes");
+ xformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
+ xformer.setOutputProperty("{http://xml.apache.org/xalan}indent-amount", "4");
+
+ ByteArrayOutputStream outBuffer = new ByteArrayOutputStream();
+ Result out = new StreamResult(new OutputStreamWriter(outBuffer,"UTF-8"));
+
+ xformer.transform(new DOMSource(doc), out);
+ ByteArrayInputStream inBuffer = new ByteArrayInputStream(outBuffer.toByteArray());
+ outputStream.write(outBuffer.toByteArray());
+ } catch (JAXBException jaxbException) {
+ Trace.tracePoint("JAXBException", "JAXBUtils.marshalDeploymentPlan()");
+ jaxbException.printStackTrace();
+ } catch (IOException coreException) {
+ Trace.tracePoint("IOException", "JAXBUtils.marshalDeploymentPlan()");
+ coreException.printStackTrace();
+ } catch (ParserConfigurationException e) {
+ Trace.tracePoint("ParserConfigurationException", "JAXBUtils.marshalDeploymentPlan()");
+ e.printStackTrace();
+ } catch (TransformerConfigurationException e) {
+ Trace.tracePoint("TransformerConfigurationException", "JAXBUtils.marshalDeploymentPlan()");
+ e.printStackTrace();
+ } catch (TransformerException e) {
+ Trace.tracePoint("TransformerException", "JAXBUtils.marshalDeploymentPlan()");
+ e.printStackTrace();
+ }
+ }
+
+ public static JAXBElement unmarshalPlugin(InputStream inputStream) {
+ try {
+ Unmarshaller unmarshaller = jaxbPluginContext.createUnmarshaller();
+ SAXParserFactory factory = SAXParserFactory.newInstance();
+ factory.setNamespaceAware(true);
+ factory.setValidating(false);
+ SAXParser parser = factory.newSAXParser();
+ NamespaceFilter xmlFilter = new NamespaceFilter(parser.getXMLReader());
+ SAXSource source = new SAXSource(xmlFilter, new InputSource(inputStream));
+ JAXBElement plan = (JAXBElement) unmarshaller.unmarshal(source);
+ return plan;
+ } catch (JAXBException e) {
+ Trace.tracePoint("JAXBException", "JAXBUtils.unmarshalFilterDeploymentPlan()");
+ e.printStackTrace();
+ } catch (ParserConfigurationException e) {
+ Trace.tracePoint("ParserConfigurationException", "JAXBUtils.unmarshalFilterDeploymentPlan()");
+ e.printStackTrace();
+ } catch (SAXException e) {
+ Trace.tracePoint("SAXException", "JAXBUtils.unmarshalFilterDeploymentPlan()");
+ e.printStackTrace();
+ }
+ return null;
+ }
+
private static void prepareFolder(IContainer folder) throws CoreException {
if (folder.exists() || !(folder instanceof IFolder)) {
return;
Modified: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.java?rev=723875&r1=723874&r2=723875&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.java Fri Dec 5 13:30:38 2008
@@ -328,6 +328,16 @@
public static String wizardPageTitle_MessageDest;
public static String wizardPageDescription_MessageDest;
//
+ public static String wizardNewTitle_License;
+ public static String wizardEditTitle_License;
+ public static String wizardPageTitle_License;
+ public static String wizardPageDescription_License;
+ //
+ public static String wizardNewTitle_Prerequisite;
+ public static String wizardEditTitle_Prerequisite;
+ public static String wizardPageTitle_Prerequisite;
+ public static String wizardPageDescription_Prerequisite;
+ //
public static String wizardNewTitle_Module;
public static String wizardEditTitle_Module;
public static String wizardPageTitle_Module;
@@ -406,7 +416,37 @@
public static String acceptLicenseAgreement;
public static String rejectLicenseAgreement;
public static String confirmLicenseRejection;
+ public static String license;
+ public static String osiApproved;
public static String savePageTitle;
public static String savePageMessage;
+
+ //
+ public static String wizardTitle_PluginManager;
+ public static String wizardPage0Title_PluginManager;
+ public static String wizardPage0Description_PluginManager;
+ public static String wizardPage1Title_PluginManager;
+ public static String wizardPage1Description_PluginManager;
+ public static String wizardPage2Title_PluginManager;
+ public static String wizardPage2Description_PluginManager;
+ public static String wizardPage3Title_PluginManager;
+ public static String wizardPage3Description_PluginManager;
+ public static String wizardPage4Title_PluginManager;
+ public static String wizardPage4Description_PluginManager;
+ public static String localPluginRepo;
+ public static String failedToSave;
+ public static String savedSuccess;
+ public static String createPlugin;
+ public static String installPlugins;
+ public static String id;
+ public static String downloadRepos;
+ public static String category;
+ public static String pluginURL;
+ public static String author;
+ public static String geronimoVersions;
+ public static String jvmVersions;
+ public static String dependencies;
+ public static String obsoletes;
+ public static String installable;
}
Modified: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.properties
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.properties?rev=723875&r1=723874&r2=723875&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.properties (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.properties Fri Dec 5 13:30:38 2008
@@ -232,6 +232,16 @@
wizardPageTitle_MessageDest=Message Destination Details
wizardPageDescription_MessageDest=Provide details for this message destination.
+wizardNewTitle_License=New License
+wizardEditTitle_License=Edit License
+wizardPageTitle_License=License Details
+wizardPageDescription_License=Provide details for this license.
+
+wizardNewTitle_Prerequisite=New Prerequisite
+wizardEditTitle_Prerequisite=Edit Prerequisite
+wizardPageTitle_Prerequisite=Prerequisite Details
+wizardPageDescription_Prerequisite=Provide details for this prerequisite.
+
wizardNewTitle_Module=New Module
wizardEditTitle_Module=Edit Module
wizardPageTitle_Module=Module Details
@@ -407,3 +417,32 @@
savePageTitle=Save Resource
savePageMessage=Data must be saved before entering or leaving the Source page.
+
+wizardTitle_PluginManager=Create and Install Geronimo Plugins
+wizardPage0Title_PluginManager=Plugin Manager
+wizardPage0Description_PluginManager=Select your local plugin repository and the action to take.
+wizardPage1Title_PluginManager=Application Selection
+wizardPage1Description_PluginManager=Choose a configuration in the current Geronimo server to export as a Geronimo plugin.\nThe configuration will be saved as a CAR file to your local file system.
+wizardPage2Title_PluginManager=Update Plugin Information
+wizardPage2Description_PluginManager=Update information for the plugin.
+wizardPage3Title_PluginManager=Update Plugin Information (continued)
+wizardPage3Description_PluginManager=Update information for the plugin.
+wizardPage4Title_PluginManager=Install Plugin
+wizardPage4Description_PluginManager=Select plugins to be installed to the server.
+localPluginRepo=Local Plugin Repository:
+failedToSave=Failed to save {0}.
+savedSuccess={0} saved successfully.
+createPlugin=create Geronimo plugin
+installPlugins=install Geronimo plugins
+license=License
+osiApproved=OSI Approved
+id=id
+category=Category
+downloadRepos=Download Repos
+pluginURL=Plugin URL
+author=Author
+geronimoVersions= Geronimo versions
+jvmVersions=JVM versions
+dependencies=Dependencies
+obsoletes=Obsoletes
+installable=Installable
Modified: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/sections/AbstractListSection.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/sections/AbstractListSection.java?rev=723875&r1=723874&r2=723875&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/sections/AbstractListSection.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/sections/AbstractListSection.java Fri Dec 5 13:30:38 2008
@@ -102,9 +102,9 @@
viewer.setInput(getInput());
Composite buttonComposite = createButtonComposite(clientComposite);
- createAddButton(toolkit, buttonComposite);
- createRemoveButton(toolkit, buttonComposite);
- createEditButton(toolkit, buttonComposite);
+ createAddButton(buttonComposite);
+ createRemoveButton(buttonComposite);
+ createEditButton(buttonComposite);
activateButtons();
if (isRequiredSyncToolbarAction()) {
@@ -178,8 +178,9 @@
return buttonComp;
}
- protected void createRemoveButton(FormToolkit toolkit, Composite buttonComp) {
+ protected void createRemoveButton(Composite buttonComp) {
removeButton = toolkit.createButton(buttonComp, CommonMessages.remove, SWT.NONE);
+
removeButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
handleDelete();
@@ -191,7 +192,7 @@
removeButton.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
}
- protected void createAddButton(FormToolkit toolkit, Composite buttonComp) {
+ protected void createAddButton(Composite buttonComp) {
addButton = toolkit.createButton(buttonComp, CommonMessages.add, SWT.NONE);
addButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
@@ -209,7 +210,7 @@
addButton.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
}
- protected void createEditButton(FormToolkit toolkit, Composite buttonComp) {
+ protected void createEditButton(Composite buttonComp) {
editButton = toolkit.createButton(buttonComp, CommonMessages.edit, SWT.NONE);
editButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
Modified: geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/wizards/AbstractWizard.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/wizards/AbstractWizard.java?rev=723875&r1=723874&r2=723875&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/wizards/AbstractWizard.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.1.4/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/wizards/AbstractWizard.java Fri Dec 5 13:30:38 2008
@@ -186,6 +186,32 @@
return table;
}
+ protected Table createEditableTable(Composite composite, String[] columnNames, int[] columnWidths) {
+ int style = SWT.H_SCROLL | SWT.V_SCROLL | SWT.SINGLE | SWT.FULL_SELECTION | SWT.HIDE_SELECTION;
+
+ Table table = new Table(composite, style);
+ GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_FILL);
+ data.grabExcessHorizontalSpace = true;
+ data.grabExcessVerticalSpace = true;
+ data.horizontalSpan = 1;
+ data.horizontalAlignment = GridData.FILL;
+ data.heightHint = 250;
+ data.widthHint = 350;
+ table.setLayoutData(data);
+ table.setLinesVisible(false);
+ table.setHeaderVisible(true);
+
+ final TableColumn[] column = new TableColumn[columnNames.length];
+ Listener sortListener = new SortListener(table, columnNames);
+ for (int i = 0; i < columnNames.length; ++i) {
+ column[i] = new TableColumn(table, SWT.LEFT, i);
+ column[i].setText(columnNames[i]);
+ column[i].setWidth(columnWidths[i]);
+ column[i].addListener(SWT.Selection, sortListener);
+ }
+ return table;
+ }
+
protected abstract String getWizardPageTitle();
protected abstract String getWizardPageDescription();