Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Wouters2014-04-04 14:18:15 +0000
committerLaurent Wouters2014-04-04 14:18:15 +0000
commit2fbe24ec4aef451ca29ef123594ff28ad2298c4a (patch)
tree1a914ac51f0a32421de7423ff94d8a880f446b61
parent2bec330c90d810246ac17027c828deebe766c9c3 (diff)
downloadorg.eclipse.papyrus-2fbe24ec4aef451ca29ef123594ff28ad2298c4a.tar.gz
org.eclipse.papyrus-2fbe24ec4aef451ca29ef123594ff28ad2298c4a.tar.xz
org.eclipse.papyrus-2fbe24ec4aef451ca29ef123594ff28ad2298c4a.zip
[clean] Retiring org.eclipse.papyrus.uml.profilefacet.generationlast/org.eclipse.papyrus.uml.profilefacet.generation
Signed-off-by: Laurent Wouters <laurent.wouters@cea.fr>
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.classpath7
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.project28
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/META-INF/MANIFEST.MF23
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/OSGI-INF/l10n/bundle.properties3
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/about.html106
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/build.properties9
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/plugin.pdoc12
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/Activator.java69
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/factory/ProfileFacetGenericFactory.java453
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/messages/Messages.java43
-rw-r--r--deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/messages/messages.properties7
12 files changed, 0 insertions, 767 deletions
diff --git a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.classpath b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.classpath
deleted file mode 100644
index 2d1a4302f04..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.project b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.project
deleted file mode 100644
index 09d4b80b940..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.uml.profilefacet.generation</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/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.settings/org.eclipse.jdt.core.prefs b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 44217f8c068..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-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/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/META-INF/MANIFEST.MF b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/META-INF/MANIFEST.MF
deleted file mode 100644
index a2b04b09e46..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.emf.ecore,
- org.eclipse.emf.ecore.xmi,
- org.eclipse.uml2.uml,
- org.eclipse.papyrus.uml.profilefacet;bundle-version="1.0.0",
- org.eclipse.papyrus.uml.profilefacet.metamodel;bundle-version="1.0.0",
- org.eclipse.emf.facet.infra.query.core;bundle-version="0.2.1",
- org.eclipse.papyrus.infra.core.log;bundle-version="1.0.0",
- org.eclipse.papyrus.infra.emf.facet.queries;bundle-version="1.0.0"
-Export-Package: org.eclipse.papyrus.uml.profilefacet.generation.factor
- y
-Bundle-Vendor: %Bundle-Vendor
-Bundle-ActivationPolicy: lazy
-Bundle-Version: 1.0.0.qualifier
-Bundle-Name: %Bundle-Name
-Bundle-ManifestVersion: 2
-Bundle-Activator: org.eclipse.papyrus.uml.profilefacet.generation.Acti
- vator
-Bundle-SymbolicName: org.eclipse.papyrus.uml.profilefacet.generation
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-
diff --git a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/OSGI-INF/l10n/bundle.properties b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/OSGI-INF/l10n/bundle.properties
deleted file mode 100644
index 3acb2dcd43e..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/OSGI-INF/l10n/bundle.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-#Properties file for org.eclipse.papyrus.uml.profilefacet.generation
-Bundle-Vendor = Eclipse Modeling Project
-Bundle-Name = Profile Facet Generation Plugin (Incubation) \ No newline at end of file
diff --git a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/about.html b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/about.html
deleted file mode 100644
index 34ab520eed4..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/about.html
+++ /dev/null
@@ -1,106 +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>Eclipse Foundation Software User Agreement</title>
-</head>
-
-<body lang="EN-US">
-<h2>Eclipse Foundation Software User Agreement</h2>
-<p>April 14, 2010</p>
-
-<h3>Usage Of Content</h3>
-
-<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS
- (COLLECTIVELY &quot;CONTENT&quot;). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND
- CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE
- OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR
- NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND
- CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p>
-
-<h3>Applicable Licenses</h3>
-
-<p>Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0
- (&quot;EPL&quot;). A copy of the EPL is provided with this Content and is also 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, &quot;Program&quot; will mean the Content.</p>
-
-<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code
- repository (&quot;Repository&quot;) in software modules (&quot;Modules&quot;) and made available as downloadable archives (&quot;Downloads&quot;).</p>
-
-<ul>
- <li>Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins (&quot;Plug-ins&quot;), plug-in fragments (&quot;Fragments&quot;), and features (&quot;Features&quot;).</li>
- <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java&trade; ARchive) in a directory named &quot;plugins&quot;.</li>
- <li>A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named &quot;features&quot;. Within a Feature, files named &quot;feature.xml&quot; may contain a list of the names and version numbers of the Plug-ins
- and/or Fragments associated with that Feature.</li>
- <li>Features may also include other Features (&quot;Included Features&quot;). Within a Feature, files named &quot;feature.xml&quot; may contain a list of the names and version numbers of Included Features.</li>
-</ul>
-
-<p>The terms and conditions governing Plug-ins and Fragments should be contained in files named &quot;about.html&quot; (&quot;Abouts&quot;). The terms and conditions governing Features and
-Included Features should be contained in files named &quot;license.html&quot; (&quot;Feature Licenses&quot;). Abouts and Feature Licenses may be located in any directory of a Download or Module
-including, but not limited to the following locations:</p>
-
-<ul>
- <li>The top-level (root) directory</li>
- <li>Plug-in and Fragment directories</li>
- <li>Inside Plug-ins and Fragments packaged as JARs</li>
- <li>Sub-directories of the directory named &quot;src&quot; of certain Plug-ins</li>
- <li>Feature directories</li>
-</ul>
-
-<p>Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license (&quot;Feature Update License&quot;) during the
-installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or
-inform you where you can locate them. Feature Update Licenses may be found in the &quot;license&quot; property of files named &quot;feature.properties&quot; found within a Feature.
-Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in
-that directory.</p>
-
-<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
-
-<ul>
- <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li>
- <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
- <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li>
- <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
- <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
-</ul>
-
-<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please
-contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.</p>
-
-
-<h3>Use of Provisioning Technology</h3>
-
-<p>The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse
- Update Manager (&quot;Provisioning Technology&quot;) for the purpose of allowing users to install software, documentation, information and/or
- other materials (collectively &quot;Installable Software&quot;). This capability is provided with the intent of allowing such users to
- install, extend and update Eclipse-based products. Information about packaging Installable Software is available at <a
- href="http://eclipse.org/equinox/p2/repository_packaging.html">http://eclipse.org/equinox/p2/repository_packaging.html</a>
- (&quot;Specification&quot;).</p>
-
-<p>You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the
- applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology
- in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the
- Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:</p>
-
-<ol>
- <li>A series of actions may occur (&quot;Provisioning Process&quot;) in which a user may execute the Provisioning Technology
- on a machine (&quot;Target Machine&quot;) with the intent of installing, extending or updating the functionality of an Eclipse-based
- product.</li>
- <li>During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be
- accessed and copied to the Target Machine.</li>
- <li>Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable
- Software (&quot;Installable Software Agreement&quot;) and such Installable Software Agreement shall be accessed from the Target
- Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern
- the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such
- indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.</li>
-</ol>
-
-<h3>Cryptography</h3>
-
-<p>Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to
- another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import,
- possession, or use, and re-export of encryption software, to see if this is permitted.</p>
-
-<p><small>Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.</small></p>
-</body>
-</html> \ No newline at end of file
diff --git a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/build.properties b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/build.properties
deleted file mode 100644
index ceacf492bf7..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/build.properties
+++ /dev/null
@@ -1,9 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- OSGI-INF/,\
- about.html,\
- build.properties,\
- plugin.pdoc
-src.includes = about.html
diff --git a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/plugin.pdoc b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/plugin.pdoc
deleted file mode 100644
index 8d5b69da5d7..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/plugin.pdoc
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<doc:Documentation
- xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI"
- xmlns:doc="http://www.eclipse.org/papyrus/documentation/plugin/documentation"
- description="This plugins provides a generator for profilefacet">
- <referent
- firstName="vincent"
- lastName="lorenzo"
- eMail="vincent.lorenzo@cea.fr"
- currentCompany="CEA-LIST"/>
-</doc:Documentation>
diff --git a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/Activator.java b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/Activator.java
deleted file mode 100644
index ab8c3e9559f..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/Activator.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.profilefacet.generation;
-
-import org.eclipse.papyrus.infra.core.log.LogHelper;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.papyrus.uml.profilefacet.generation"; //$NON-NLS-1$
-
- // The shared instance
- private static Activator plugin;
-
- public static LogHelper log;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- log = new LogHelper(this);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static Activator getDefault() {
- return plugin;
- }
-
-}
diff --git a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/factory/ProfileFacetGenericFactory.java b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/factory/ProfileFacetGenericFactory.java
deleted file mode 100644
index a7da783ece4..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/factory/ProfileFacetGenericFactory.java
+++ /dev/null
@@ -1,453 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.profilefacet.generation.factory;
-
-import java.util.ArrayList;
-import java.util.Collection;
-
-import org.eclipse.emf.ecore.EClassifier;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.ecore.xmi.XMIResource;
-import org.eclipse.emf.facet.infra.query.ModelQuery;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.papyrus.infra.emf.facet.queries.parametricquery.EStructuralFeatureArgument;
-import org.eclipse.papyrus.infra.emf.facet.queries.parametricquery.ParametricQuery;
-import org.eclipse.papyrus.infra.emf.facet.queries.parametricquery.ParametricqueryFactory;
-import org.eclipse.papyrus.infra.emf.facet.queries.parametricquery.StringArgument;
-import org.eclipse.papyrus.uml.profilefacet.generation.Activator;
-import org.eclipse.papyrus.uml.profilefacet.generation.messages.Messages;
-import org.eclipse.papyrus.uml.profilefacet.metamodel.profilefacet.ProfileFacetFactory;
-import org.eclipse.papyrus.uml.profilefacet.metamodel.profilefacet.ProfileFacetSet;
-import org.eclipse.papyrus.uml.profilefacet.metamodel.profilefacet.StereotypeFacet;
-import org.eclipse.papyrus.uml.profilefacet.metamodel.profilefacet.StereotypePropertyFacetAttribute;
-import org.eclipse.papyrus.uml.profilefacet.metamodel.profilefacet.StereotypePropertyFacetReference;
-import org.eclipse.papyrus.uml.profilefacet.queries.registry.QueryRegistry;
-import org.eclipse.papyrus.uml.profilefacet.utils.ArgumentUtils;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.DataType;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Enumeration;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.eclipse.uml2.uml.PrimitiveType;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.Stereotype;
-import org.eclipse.uml2.uml.Type;
-import org.eclipse.uml2.uml.UMLPackage;
-import org.eclipse.uml2.uml.Package;
-/**
- *
- * This factory allows to generate a ProfileEFacetSet from a UML Profile
- *
- */
-public class ProfileFacetGenericFactory {
-
- /** the string base_ used to identify stereotype properties */
- private static final String BASE_ = "base_"; //$NON-NLS-1$
-
- /** the string used for UML boolean */
- private static final String UML_BOOLEAN = "Boolean"; //$NON-NLS-1$
-
- /** the string used for UML integer */
- private static final String UML_INTEGER = "Integer"; //$NON-NLS-1$
-
- /** the string used for UML string */
- private static final String UML_STRING = "String"; //$NON-NLS-1$
-
- /** the string used for uml real */
- private static final String UML_REAL = "Real"; //$NON-NLS-1$
-
- /** the string used for uml unlimited natural */
- private static final String UML_UNLIMITED_NATURAL = "UnlimitedNatural"; //$NON-NLS-1$
-
- /** the facetOperation registry */
- private final QueryRegistry registry;
-
- /** String for the get query description */
- public static final String GET_QUERY_DESCRIPTION = Messages.ProfileFacetGenericFactory_GetterForStereotypeProperty;
-
- /** String for the set query description */
- public static final String SET_QUERY_DESCRIPTION = Messages.ProfileFacetGenericFactory_SetterForStereotypeProperty;
-
- /**
- *
- * Constructor.
- *
- * @param resourceSet
- * the resourceSet which will be used to find required FacetOperation for Getter and Setter
- */
- public ProfileFacetGenericFactory() {
- this.registry = new QueryRegistry();
- }
-
-
- /**
- *
- * @param profile
- * @return
- * the ProfileFacetSet for this profile or <code>null</code> if the profile argument doesn't contains steretoypes with properties
- */
- public ProfileFacetSet createProfileFacetSet(final Package profile) {
- final ProfileFacetSet set = ProfileFacetFactory.eINSTANCE.createProfileFacetSet();
- set.setName(profile.getName());
- set.setProfileQualifiedName(profile.getQualifiedName());
- set.setNsPrefix(profile.getName());
- set.setNsURI("http://www.eclipse.org/papyrus/profilefacet/" + profile.getQualifiedName()); //$NON-NLS-1$
- set.setExtendedPackage(UMLPackage.eINSTANCE);
- final XMIResource res = (XMIResource)profile.eResource();
- final String XMI_ID = res.getID(profile);
- set.setRepresentedElement_XMI_ID(XMI_ID);
- for(final PackageableElement packagedElement : profile.getPackagedElements()) {
- if(packagedElement instanceof Package) {
- final ProfileFacetSet subProfile = createProfileFacetSet((Package)packagedElement);
- //We ignore empty facetSet
- if(subProfile != null && (subProfile.getStereotypeFacets().size() != 0 || subProfile.getSubProfileFacetSet().size() != 0)) {
- set.getESubpackages().add(subProfile);
- }
- } else if(packagedElement instanceof Stereotype) {
- final StereotypeFacet stereotypeFacet = createFacet((Stereotype)packagedElement);
-
- //we ignore stereotypes without properties
-
- if(stereotypeFacet.getStereotypePropertyElements().size() != 0) {
- set.getEClassifiers().add(stereotypeFacet);
- }
- }
- }
-
- if(set.getStereotypeFacets().size() != 0 || set.getSubProfileFacetSet().size() != 0) {
- return set;
- }
-
- return null;
-
- }
-
- /**
- *
- * @param stereotype
- * the stereotype for which we want to create the facet
- * @return
- * the created facet for this stereotype or <code>null</code> if the stereotype doesn't contain property
- */
- public StereotypeFacet createFacet(final Stereotype stereotype) {
- final StereotypeFacet facet = ProfileFacetFactory.eINSTANCE.createStereotypeFacet();
- final String stereotypeQualifiedName = stereotype.getQualifiedName();
- facet.setStereotypeQualifiedName(stereotypeQualifiedName);
- facet.setName(stereotype.getName());
- facet.getESuperTypes().add(UMLPackage.eINSTANCE.getElement());
- final XMIResource res = (XMIResource)stereotype.eResource();
- final String XMI_ID = res.getID(stereotype);
- facet.setRepresentedElement_XMI_ID(XMI_ID);
- final Collection<String> ignoredPropertyName = new ArrayList<String>();
-
- for(final Class extendedMetaclassName : stereotype.getAllExtendedMetaclasses()) {
- ignoredPropertyName.add(BASE_ + extendedMetaclassName.getName());
- }
-
- // for(final Property attribute : stereotype.getAllAttributes()) { //in this case we duplicate facet properties for the same attribute
- for(final Property attribute : stereotype.getAttributes()) {
- if(ignoredPropertyName.contains(attribute.getName())) {
- continue;
- }
- if(attribute.getType() instanceof DataType) {
- final StereotypePropertyFacetAttribute attr = createFacetAttribute(attribute);
- if(attr != null) {
- facet.getEStructuralFeatures().add(attr);
- }
- } else if(attribute.getType() instanceof EObject) {
- final StereotypePropertyFacetReference ref = createFacetReference(attribute);
- if(ref != null) {
- facet.getEStructuralFeatures().add(ref);
- }
- }
- }
-
-
- //set the condition query (test on the appied stereotype)
- final ModelQuery query = getQueryForIsAppliedStereotype(stereotypeQualifiedName);
- facet.setConditionQuery(query);
- return facet;
- }
-
- /**
- *
- * @param stereotypeQualifiedName
- * the stereotype qualified name
- * @return
- * the query to test if the required stereotype is applied on the element
- */
- protected ModelQuery getQueryForIsAppliedStereotype(final String stereotypeQualifiedName) {
- //1. create the returned query
- final ParametricQuery query = ParametricqueryFactory.eINSTANCE.createParametricQuery();
- query.setName("IsApplied_" + stereotypeQualifiedName + "_query"); //$NON-NLS-1$ //$NON-NLS-2$
- query.setLowerBound(0);
- query.setUpperBound(1);
- query.setReturnType(EcorePackage.eINSTANCE.getEBoolean());
-
- //2.create the argument for this query
- final StringArgument arg = ParametricqueryFactory.eINSTANCE.createStringArgument();
- arg.setArgumentName(ArgumentUtils.STEREOTYPE_QUALIFIED_NAME);
- arg.setValue(stereotypeQualifiedName);
- query.getArguments().add(arg);
-
- //3.set tge called query
- final ModelQuery testStereotypeCalledQuery = this.registry.getModelQuery(QueryRegistry.IS_APPLIED_REQUIRED_STEREOTYPE);
- query.setCalledQuery(testStereotypeCalledQuery);
- query.setDescription(NLS.bind("Test if the stereotype {0} or one of its specialization is applied on the element", stereotypeQualifiedName));
- return query;
- }
-
- /**
- *
- * @param property
- * the property used to create the FacetReference
- * @return
- * the created FacetReference for this property
- */
- public StereotypePropertyFacetReference createFacetReference(final Property property) {
- final StereotypePropertyFacetReference facetReference = ProfileFacetFactory.eINSTANCE.createStereotypePropertyFacetReference();
- facetReference.setIsDerived(property.isDerived());
- facetReference.setChangeable(!property.isReadOnly());
- facetReference.setDerived(true);
- facetReference.setPropertyQualifiedName(property.getQualifiedName());
- final XMIResource res = (XMIResource)property.eResource();
- final String XMI_ID = res.getID(property);
- facetReference.setRepresentedElement_XMI_ID(XMI_ID);
- facetReference.setName(property.getName());
- final Type type = property.getType();
- final EClassifier eType = EcorePackage.eINSTANCE.getEObject();
-
-
- final int upperBound = property.upperBound();
- facetReference.setLowerBound(property.getLower());
- facetReference.setUpperBound(property.getUpper());
-
- ModelQuery getCalledQuery = null;
- ModelQuery setCalledQuery = null;
-
- //EObject reference
- if(type instanceof Element) {
-
- if(upperBound == -1 || upperBound > 1) {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_EOBJECT_MULTI_REFERENCE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_EOBJECT_MULTI_REFERENCE_OPERATION_ID);
- } else {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_EOBJECT_SINGLE_REFERENCE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_EOBJECT_SINGLE_REFERENCE_OPERATION_ID);
- }
-
- } else {
- return null;
- }
- //1. we create the getValueQuery
- ParametricQuery getQuery = getQuery = ParametricqueryFactory.eINSTANCE.createParametricQuery();
- getQuery.setName("get_" + property.getQualifiedName() + "_value"); //$NON-NLS-1$ //$NON-NLS-2$
- getQuery.setDescription(NLS.bind(GET_QUERY_DESCRIPTION, property.getQualifiedName()));
-
- getQuery.setLowerBound(facetReference.getLowerBound());
- getQuery.setUpperBound(facetReference.getUpperBound());
- getQuery.setReturnType(eType);
-
- getQuery.setCalledQuery(getCalledQuery);
- //1.bis we create the argument
- final EStructuralFeatureArgument getArgument = ParametricqueryFactory.eINSTANCE.createEStructuralFeatureArgument();
- getArgument.setArgumentName(ArgumentUtils.EDITED_FEATURE);
- getArgument.setValue(facetReference);
- getQuery.getArguments().add(getArgument);
-
-
- //2. we create the setValueQuery
- ParametricQuery setQuery = ParametricqueryFactory.eINSTANCE.createParametricQuery();
- setQuery.setName("set_" + property.getQualifiedName() + "_value"); //$NON-NLS-1$ //$NON-NLS-2$
- setQuery.setDescription(NLS.bind(SET_QUERY_DESCRIPTION, property.getQualifiedName()));
- setQuery.setLowerBound(0);
- setQuery.setUpperBound(1);
- setQuery.setReturnType(eType);
- setQuery.setCalledQuery(setCalledQuery);
- //2.bis we create the argument
- final EStructuralFeatureArgument setArgument = ParametricqueryFactory.eINSTANCE.createEStructuralFeatureArgument();
- setArgument.setArgumentName(ArgumentUtils.EDITED_FEATURE);
- setArgument.setValue(facetReference);
- setQuery.getArguments().add(setArgument);
-
- facetReference.setEType(eType);
- facetReference.setValueQuery(getQuery);
- facetReference.setSetQuery(setQuery);
- if(facetReference.isChangeable() && upperBound==1){//unset is valable only for monovalued properties
- facetReference.setUnsettable(true);
- }
- return facetReference;
- }
-
- /**
- *
- * @param property
- * the property used to create the FacetAttribute
- * @return
- * the created FacetAttribute for this property
- */
- public StereotypePropertyFacetAttribute createFacetAttribute(final Property property) {
- final Type type = property.getType();
- EClassifier eType = null;
- final int upperBound = property.upperBound();
- final StereotypePropertyFacetAttribute facetAttribute = ProfileFacetFactory.eINSTANCE.createStereotypePropertyFacetAttribute();
- facetAttribute.setIsDerived(property.isDerived());
- facetAttribute.setChangeable(!property.isReadOnly());
- facetAttribute.setDerived(true);
-
- facetAttribute.setPropertyQualifiedName(property.getQualifiedName());
- final XMIResource res = (XMIResource)property.eResource();
- final String XMI_ID = res.getID(property);
- facetAttribute.setRepresentedElement_XMI_ID(XMI_ID);
-
- facetAttribute.setName(property.getName());
- facetAttribute.setLowerBound(property.getLower());
- facetAttribute.setUpperBound(property.getUpper());
- ModelQuery getCalledQuery = null;
- ModelQuery setCalledQuery = null;
- //UML primitive type
- if(type instanceof PrimitiveType) {
- final PrimitiveType pType = (PrimitiveType)type;
- final String name = pType.getName();
-
- if(UML_BOOLEAN.equals(name)) {
- eType = EcorePackage.eINSTANCE.getEBoolean();
- if(upperBound == -1 || upperBound > 1) {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_BOOLEAN_MULTI_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_BOOLEAN_MULTI_VALUE_OPERATION_ID);
- } else {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_BOOLEAN_SINGLE_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_BOOLEAN_SINGLE_VALUE_OPERATION_ID);
- }
- } else if(UML_INTEGER.equals(name)) {
- eType = EcorePackage.eINSTANCE.getEInt();
- if(upperBound == -1 || upperBound > 1) {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_INTEGER_MULTI_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_INTEGER_MULTI_VALUE_OPERATION_ID);
- } else {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_INTEGER_SINGLE_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_INTEGER_SINGLE_VALUE_OPERATION_ID);
- }
-
- } else if(UML_REAL.equals(name)) {
- eType = EcorePackage.eINSTANCE.getEDouble();
- if(upperBound == -1 || upperBound > 1) {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_REAL_MULTI_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_REAL_MULTI_VALUE_OPERATION_ID);
- } else {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_REAL_SINGLE_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_REAL_SINGLE_VALUE_OPERATION_ID);
- }
-
- } else if(UML_STRING.equals(name)) {
- eType = EcorePackage.eINSTANCE.getEString();
- if(upperBound == -1 || upperBound > 1) {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_STRING_MULTI_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_STRING_MULTI_VALUE_OPERATION_ID);
- } else {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_STRING_SINGLE_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_STRING_SINGLE_VALUE_OPERATION_ID);
- }
-
- } else if(UML_UNLIMITED_NATURAL.equals(name)) {
- eType = EcorePackage.eINSTANCE.getEInt();
- if(upperBound == -1 || upperBound > 1) {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_UNLIMITED_NATURAL_MULTI_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_UNLIMITED_NATURAL_MULTI_VALUE_OPERATION_ID);
- } else {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_UNLIMITED_NATURAL_SINGLE_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_UNLIMITED_NATURAL_SINGLE_VALUE_OPERATION_ID);
- }
-
- }
-
- } else if(type instanceof Enumeration) {
- if(upperBound == -1 || upperBound > 1) {
- eType = UMLPackage.eINSTANCE.getEnumerationLiteral();
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_UML_ENUMERATION_MULTI_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_UML_ENUMERATION_MULTI_VALUE_OPERATION_ID);
- } else {
- eType = UMLPackage.eINSTANCE.getEnumerationLiteral();
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_UML_ENUMERATION_SINGLE_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_UML_ENUMERATION_SINGLE_VALUE_OPERATION_ID);
- }
-
- }
-
- if(eType == null) {
- if(type instanceof PrimitiveType) {
- eType = EcorePackage.eINSTANCE.getEString();
- if(upperBound == -1 || upperBound > 1) {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_PRIMITIVE_TYPE_MULTI_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_PRIMITIVE_TYPE_MULTI_VALUE_OPERATION_ID);
- } else {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_PRIMITIVE_TYPE_SINGLE_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_PRIMITIVE_TYPE_SINGLE_VALUE_OPERATION_ID);
- }
- } else if(type instanceof DataType) {
- eType = EcorePackage.eINSTANCE.getEString();
- if(upperBound == -1 || upperBound > 1) {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_DATATYPE_MULTI_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_DATATYPE_MULTI_VALUE_OPERATION_ID);
- } else {
- getCalledQuery = this.registry.getModelQuery(QueryRegistry.GET_DATATYPE_SINGLE_VALUE_OPERATION_ID);
- setCalledQuery = this.registry.getModelQuery(QueryRegistry.SET_DATATYPE_SINGLE_VALUE_OPERATION_ID);
- }
- } else {
- Activator.log.warn(NLS.bind(Messages.ProfileFacetGenericFactory_TheTypeIsNotManaged, type));
- return null;
-
- }
- }
-
- facetAttribute.setEType(eType);
-
- //1. we create the getValueQuery
- final ParametricQuery getQuery = ParametricqueryFactory.eINSTANCE.createParametricQuery();
- getQuery.setCalledQuery(getCalledQuery);
- getQuery.setName("get_" + property.getQualifiedName() + "_value"); //$NON-NLS-1$ //$NON-NLS-2$
- getQuery.setDescription(NLS.bind(GET_QUERY_DESCRIPTION, property.getQualifiedName()));
- getQuery.setLowerBound(facetAttribute.getLowerBound());
- getQuery.setUpperBound(facetAttribute.getUpperBound());
- getQuery.setReturnType(eType);
-
- //1.bis we prepare the argument
- final EStructuralFeatureArgument getArgument = ParametricqueryFactory.eINSTANCE.createEStructuralFeatureArgument();
- getArgument.setValue(facetAttribute);
- getArgument.setArgumentName(ArgumentUtils.EDITED_FEATURE);
- getQuery.getArguments().add(getArgument);
-
- facetAttribute.setValueQuery(getQuery);
-
- //2. we create the setValueQuery
- final ParametricQuery setQuery = ParametricqueryFactory.eINSTANCE.createParametricQuery();
- setQuery.setCalledQuery(setCalledQuery);
- setQuery.setName("set_" + property.getQualifiedName() + "_value"); //$NON-NLS-1$ //$NON-NLS-2$
- setQuery.setDescription(NLS.bind(SET_QUERY_DESCRIPTION, property.getQualifiedName()));
- setQuery.setLowerBound(0);
- setQuery.setUpperBound(1);
- setQuery.setReturnType(eType);
-
- //2.bis we prepare the argument
- final EStructuralFeatureArgument setArgument = ParametricqueryFactory.eINSTANCE.createEStructuralFeatureArgument();
- setArgument.setValue(facetAttribute);
- setArgument.setArgumentName(ArgumentUtils.EDITED_FEATURE);
- setQuery.getArguments().add(setArgument);
-
- facetAttribute.setSetQuery(setQuery);
- return facetAttribute;
- }
-
-}
diff --git a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/messages/Messages.java b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/messages/Messages.java
deleted file mode 100644
index c7a50777ac3..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/messages/Messages.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.profilefacet.generation.messages;
-
-import org.eclipse.osgi.util.NLS;
-
-public class Messages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.papyrus.uml.profilefacet.generation.messages.messages"; //$NON-NLS-1$
-
- public static String ProfileEFacetGenericFactory_FacetAttributeDocumentation;
-
- public static String ProfileEFacetGenericFactory_FacetDocumentation;
-
- public static String ProfileEFacetGenericFactory_FacetReferenceDocumentation;
-
- public static String ProfileEFacetGenericFactory_FacetSetDocumentation;
-
- public static String ProfileFacetGenericFactory_GetterForStereotypeProperty;
-
- public static String ProfileFacetGenericFactory_SetterForStereotypeProperty;
-
- public static String ProfileFacetGenericFactory_TheTypeIsNotManaged;
-
- static {
- // initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
- }
-
- private Messages() {
- }
-}
diff --git a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/messages/messages.properties b/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/messages/messages.properties
deleted file mode 100644
index 32a641cbf08..00000000000
--- a/deprecated/profilefacet/org.eclipse.papyrus.uml.profilefacet.generation/src/org/eclipse/papyrus/uml/profilefacet/generation/messages/messages.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-ProfileEFacetGenericFactory_FacetAttributeDocumentation=This Facet Attribute represents the stereotype property {0}.
-ProfileEFacetGenericFactory_FacetDocumentation=This facet represents the eClass {0}.
-ProfileEFacetGenericFactory_FacetReferenceDocumentation=This Facet Reference represents the stereotype property {0}.
-ProfileEFacetGenericFactory_FacetSetDocumentation=This FacetSet represents the UML Profile {0}
-ProfileFacetGenericFactory_GetterForStereotypeProperty=Getter for the stereotype property {0}
-ProfileFacetGenericFactory_SetterForStereotypeProperty=Setter for the stereotype property {0}
-ProfileFacetGenericFactory_TheTypeIsNotManaged=This type {0} is not managed

Back to the top