diff options
author | Ed Willink | 2015-07-03 05:10:32 +0000 |
---|---|---|
committer | Ed Willink | 2015-07-03 05:10:32 +0000 |
commit | 56b2008fbc5121e02ca5aaff37302432084eaca7 (patch) | |
tree | 80b453f22c562a456c14fbd601e87ab5bbffbf7e | |
parent | dabd45ebf238a16ee2d4a6f3558411447ea7a3de (diff) | |
download | org.eclipse.qvtd-56b2008fbc5121e02ca5aaff37302432084eaca7.tar.gz org.eclipse.qvtd-56b2008fbc5121e02ca5aaff37302432084eaca7.tar.xz org.eclipse.qvtd-56b2008fbc5121e02ca5aaff37302432084eaca7.zip |
[unrelated] Ensure Transformation visible in QVTi library
4 files changed, 8 insertions, 2 deletions
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtbase/emf-gen/org/eclipse/qvtd/pivot/qvtbase/model/QVTbaseLibrary.java b/plugins/org.eclipse.qvtd.pivot.qvtbase/emf-gen/org/eclipse/qvtd/pivot/qvtbase/model/QVTbaseLibrary.java index 4210e5d81..b8fc16a82 100644 --- a/plugins/org.eclipse.qvtd.pivot.qvtbase/emf-gen/org/eclipse/qvtd/pivot/qvtbase/model/QVTbaseLibrary.java +++ b/plugins/org.eclipse.qvtd.pivot.qvtbase/emf-gen/org/eclipse/qvtd/pivot/qvtbase/model/QVTbaseLibrary.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010,2015 Willink Transformations and others. + * Copyright (c) 2010, 2015 Willink Transformations 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 diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/model/QVTimperativeLibrary.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/model/QVTimperativeLibrary.java index 638cf6cfe..3b3baa944 100644 --- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/model/QVTimperativeLibrary.java +++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/model/QVTimperativeLibrary.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010,2015 Willink Transformations and others. + * Copyright (c) 2010, 2015 Willink Transformations 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 @@ -270,6 +270,7 @@ public class QVTimperativeLibrary extends ASResourceImpl } private final @NonNull Class _Model = createClass("Model"); + private final @NonNull Class _Transformation = createClass("Transformation"); private final @NonNull TemplateParameter tp_Model_objectsOfKind_TT = createTemplateParameter("TT"); private final @NonNull TemplateParameter tp_Model_objectsOfType_TT = createTemplateParameter("TT"); @@ -293,6 +294,9 @@ public class QVTimperativeLibrary extends ASResourceImpl ownedClasses.add(type = _Model); superClasses = type.getSuperClasses(); superClasses.add(_OclElement); + ownedClasses.add(type = _Transformation); + superClasses = type.getSuperClasses(); + superClasses.add(_OclElement); } private void installCollectionTypes() { diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/model-gen/QVTimperativeLibrary.oclas b/plugins/org.eclipse.qvtd.pivot.qvtimperative/model-gen/QVTimperativeLibrary.oclas index 9fc181549..12b0e8241 100644 --- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/model-gen/QVTimperativeLibrary.oclas +++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/model-gen/QVTimperativeLibrary.oclas @@ -24,6 +24,7 @@ <ownedOperations xmi:id="o.qvtbaselibrary.Model.rootObjects" implementationClass="org.eclipse.qvtd.pivot.qvtimperative.library.model.RootObjectsOperation" name="rootObjects" type="#//@ownedPackages.1/@ownedClasses.3"/> </ownedClasses> + <ownedClasses xmi:id="T.qvtbaselibrary.Transformation" name="Transformation" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclElement"/> </ownedPackages> <ownedPackages xmi:id="P.$$" URI="http://www.eclipse.org/ocl/2015/Orphanage" name="$$" nsPrefix="orphanage"> <ownedClasses xsi:type="pivot:CollectionType" elementType="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclElement" diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/model/QVTimperativeLibrary.oclstdlib b/plugins/org.eclipse.qvtd.pivot.qvtimperative/model/QVTimperativeLibrary.oclstdlib index f569e5417..99cf7cb87 100644 --- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/model/QVTimperativeLibrary.oclstdlib +++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/model/QVTimperativeLibrary.oclstdlib @@ -8,4 +8,5 @@ type Model : TypedModel { operation objectsOfType(TT)(type : typeof(TT)) : ocl::Set(TT) => 'org.eclipse.qvtd.pivot.qvtimperative.library.model.ModelObjectsOfTypeOperation'; operation rootObjects() : ocl::Set(ocl::OclElement) => 'org.eclipse.qvtd.pivot.qvtimperative.library.model.RootObjectsOperation'; } +type Transformation : Transformation {} } |