diff options
Diffstat (limited to 'bundles/org.eclipse.jst.ws.jaxb.core')
15 files changed, 0 insertions, 426 deletions
diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/.classpath b/bundles/org.eclipse.jst.ws.jaxb.core/.classpath deleted file mode 100644 index f930cb7..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> - <classpathentry kind="src" path="src"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/.project b/bundles/org.eclipse.jst.ws.jaxb.core/.project deleted file mode 100644 index 275d338..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.jst.ws.jaxb.core</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.jst.ws.jaxb.core/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 83e002a..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -#Mon Feb 02 11:50:42 GMT 2009 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.jaxb.core/META-INF/MANIFEST.MF deleted file mode 100644 index d07d651..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/META-INF/MANIFEST.MF +++ /dev/null @@ -1,16 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.jst.ws.jaxb.core;singleton:=true -Bundle-Vendor: %pluginProvider -Bundle-Version: 1.0.0.qualifier -Bundle-ClassPath: . -Bundle-Localization: plugin -Eclipse-RegisterBuddy: org.eclipse.jst.ws.annotations.core -Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Bundle-Activator: org.eclipse.jst.ws.internal.jaxb.core.JAXBCorePlugin -Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)" -Export-Package: org.eclipse.jst.ws.internal.jaxb.core -Import-Package: javax.xml.bind.annotation;version="[2.1.0,2.2.0)", - javax.xml.bind.annotation.adapters;version="[2.1.0,2.2.0)" -Bundle-ActivationPolicy: lazy diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/about.html b/bundles/org.eclipse.jst.ws.jaxb.core/about.html deleted file mode 100644 index 5b6a031..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/about.html +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> -<title>About</title> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>February 19, 2009</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> - -</body> -</html> diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/about.ini b/bundles/org.eclipse.jst.ws.jaxb.core/about.ini deleted file mode 100644 index e3b93e6..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/about.ini +++ /dev/null @@ -1,12 +0,0 @@ -# about.ini -# contains information about a feature -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# "%key" are externalized strings defined in about.properties -# This file does not need to be translated. - -# Property "aboutText" contains blurb for feature details in the "About" -# dialog (translated). Maximum 15 lines and 75 characters per line. -aboutText=%blurb - -# Property "featureImage" contains path to feature image (32x32) -featureImage=icons/WTP_icon_x32_v2.png diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/about.mappings b/bundles/org.eclipse.jst.ws.jaxb.core/about.mappings deleted file mode 100644 index a28390a..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/about.mappings +++ /dev/null @@ -1,6 +0,0 @@ -# about.mappings -# contains fill-ins for about.properties -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# This file does not need to be translated. - -0=@build@ diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/about.properties b/bundles/org.eclipse.jst.ws.jaxb.core/about.properties deleted file mode 100644 index 43ceb29..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/about.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2009 Shane Clarke and others. -# 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 -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Shane Clarke - initial API and implementation -############################################################################### -# about.properties -# contains externalized strings for about.ini -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# fill-ins are supplied by about.mappings -# This file should be translated. -# -# Do not translate any values surrounded by {} - -blurb=JAXB Tools\n\ -\n\ -Version: {featureVersion}\n\ -Build id: {0}\n\ -\n\ -(c) Copyright Eclipse contributors and others 2009, 2010. All rights reserved.\n\ -Visit http://www.eclipse.org/webtools/\n\ -\n diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/build.properties b/bundles/org.eclipse.jst.ws.jaxb.core/build.properties deleted file mode 100644 index 8b9d613..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/build.properties +++ /dev/null @@ -1,11 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - plugin.xml,\ - plugin.properties,\ - about.html,\ - about.properties,\ - about.ini,\ - about.mappings,\ - icons/ diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/icons/WTP_icon_x32_v2.png b/bundles/org.eclipse.jst.ws.jaxb.core/icons/WTP_icon_x32_v2.png Binary files differdeleted file mode 100644 index 6f09c2a..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/icons/WTP_icon_x32_v2.png +++ /dev/null diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/plugin.properties b/bundles/org.eclipse.jst.ws.jaxb.core/plugin.properties deleted file mode 100644 index 12e17e6..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/plugin.properties +++ /dev/null @@ -1,15 +0,0 @@ -############################################################################### -# Copyright (c) 2009 Progress Software -# 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 -# http://www.eclipse.org/legal/epl-v10.html -############################################################################### - -#properties file for JAXB Core -pluginName=JAXB Tools Core -pluginProvider=Eclipse Web Tools Platform - -JAXB_CATEGORY_NAME=JAXB - -XML_SCHEMA_TYPE_RULES=Validation rules governing the use of @XmlSchemaType
\ No newline at end of file diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/plugin.xml b/bundles/org.eclipse.jst.ws.jaxb.core/plugin.xml deleted file mode 100644 index 3120700..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/plugin.xml +++ /dev/null @@ -1,181 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.2"?> -<plugin> - <extension point="org.eclipse.jst.ws.annotations.core.annotationCategory"> - <category - id="jaxb.category" - name="%JAXB_CATEGORY_NAME"> - </category> - </extension> - - <extension point="org.eclipse.jst.ws.annotations.core.annotationDefinition"> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlAccessorOrder" - name="XmlAccessorOrder"/> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlAccessorType" - name="XmlAccessorType"/> - - <!-- TODO Reinstate when XmlAdapter issue is solved - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.adapters.XmlAdapter" - name="XmlAdapter"> - </annotation> - --> - - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlAnyAttribute" - name="XmlAnyAttribute"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlAnyElement" - name="XmlAnyElement"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlAttachmentRef" - name="XmlAttachmentRef"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlAttribute" - name="XmlAttribute"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlElement" - name="XmlElement"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlElementDecl" - name="XmlElementDecl"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlElementRef" - name="XmlElementRef"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlElementRefs" - name="XmlElementRefs"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlElementWrapper" - name="XmlElementWrapper"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlElements" - name="XmlElements"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlEnum" - name="XmlEnum"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlEnumValue" - name="XmlEnumValue"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlID" - name="XmlID"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlIDREF" - name="XmlIDREF"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlInlineBinaryData" - name="XmlInlineBinaryData"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter" - name="XmlJavaTypeAdapter"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters" - name="XmlJavaTypeAdapters"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlList" - name="XmlList"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlMimeType" - name="XmlMimeType"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlMixed" - name="XmlMixed"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlNs" - name="XmlNs"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlRegistry" - name="XmlRegistry"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlRootElement" - name="XmlRootElement"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlSchema" - name="XmlSchema"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlSchemaType" - name="XmlSchemaType"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlSchemaTypes" - name="XmlSchemaTypes"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlSeeAlso" - name="XmlSeeAlso"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlTransient" - name="XmlTransient"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlType" - name="XmlType"> - </annotation> - <annotation - category="jaxb.category" - class="javax.xml.bind.annotation.XmlValue" - name="XmlValue"> - </annotation> - </extension> - -</plugin> diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/src/org/eclipse/jst/ws/internal/jaxb/core/JAXBCoreMessages.java b/bundles/org.eclipse.jst.ws.jaxb.core/src/org/eclipse/jst/ws/internal/jaxb/core/JAXBCoreMessages.java deleted file mode 100644 index 44f8819..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/src/org/eclipse/jst/ws/internal/jaxb/core/JAXBCoreMessages.java +++ /dev/null @@ -1,30 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 Progress Software - * 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 - * http://www.eclipse.org/legal/epl-v10.html - * - *******************************************************************************/ -package org.eclipse.jst.ws.internal.jaxb.core; - -import org.eclipse.osgi.util.NLS; - -public class JAXBCoreMessages extends NLS { - private static final String BUNDLE_NAME = - "org.eclipse.jst.ws.internal.jaxb.core.JAXBCoreMessages"; //$NON-NLS-1$ - - public static String TYPE_NAME_DIFFERENT_CASE_EXISTS; - public static String TYPE_WITH_NAME_ALREADY_EXISTS; - - public static String XML_SCHEMA_TYPE_MUST_HAVE_DEFAULT_ON_FIELD_OR_METHOD; - - static { - // initialize resource bundle - NLS.initializeMessages(BUNDLE_NAME, JAXBCoreMessages.class); - } - - private JAXBCoreMessages() { - } - -} diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/src/org/eclipse/jst/ws/internal/jaxb/core/JAXBCoreMessages.properties b/bundles/org.eclipse.jst.ws.jaxb.core/src/org/eclipse/jst/ws/internal/jaxb/core/JAXBCoreMessages.properties deleted file mode 100644 index 7081bab..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/src/org/eclipse/jst/ws/internal/jaxb/core/JAXBCoreMessages.properties +++ /dev/null @@ -1,12 +0,0 @@ -############################################################################### -# Copyright (c) 2009 Progress Software Inc -# 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 -# http://www.eclipse.org/legal/epl-v10.html -############################################################################### - -#JDTUtils -TYPE_NAME_DIFFERENT_CASE_EXISTS=A Type with the same name but different case already exists -TYPE_WITH_NAME_ALREADY_EXISTS=A compilation unit named ''{0}'' already exists in package ''{1}'' -XML_SCHEMA_TYPE_MUST_HAVE_DEFAULT_ON_FIELD_OR_METHOD=If @XmlSchemaType is used on a field or a method, then the value of type() must be DEFAULT.class (JAXB 2.1, 8.6.4.2)
\ No newline at end of file diff --git a/bundles/org.eclipse.jst.ws.jaxb.core/src/org/eclipse/jst/ws/internal/jaxb/core/JAXBCorePlugin.java b/bundles/org.eclipse.jst.ws.jaxb.core/src/org/eclipse/jst/ws/internal/jaxb/core/JAXBCorePlugin.java deleted file mode 100644 index 664db78..0000000 --- a/bundles/org.eclipse.jst.ws.jaxb.core/src/org/eclipse/jst/ws/internal/jaxb/core/JAXBCorePlugin.java +++ /dev/null @@ -1,47 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 Progress Software - * 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 - * http://www.eclipse.org/legal/epl-v10.html - *******************************************************************************/ -package org.eclipse.jst.ws.internal.jaxb.core; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Plugin; -import org.eclipse.core.runtime.Status; -import org.osgi.framework.BundleContext; - -public class JAXBCorePlugin extends Plugin { - public static final String PLUGIN_ID = "org.eclipse.jst.ws.jaxb.core"; //$NON-NLS-1$ - - // The shared instance - private static JAXBCorePlugin plugin; - - public static JAXBCorePlugin getDefault() { - return plugin; - } - - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - public void stop(BundleContext context) throws Exception { - plugin = null; - super.stop(context); - } - - public static void logMessage(int severity, String message) { - JAXBCorePlugin.log(new Status(severity, JAXBCorePlugin.PLUGIN_ID, message)); - } - - public static void log(IStatus status) { - JAXBCorePlugin.getDefault().getLog().log(status); - } - - public static void log(Throwable exception) { - JAXBCorePlugin.log(new Status(IStatus.ERROR, JAXBCorePlugin.PLUGIN_ID, exception - .getLocalizedMessage(), exception)); - } -} |