Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1441 model #1452

Merged
merged 3 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="licenses" nsURI="http://www.eclipse.org/passage/lic/licenses/3.0.0"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="licenses" nsURI="http://www.eclipse.org/passage/lic/licenses/4.0.0"
nsPrefix="org.eclipse.passage.lic">
<eClassifiers xsi:type="ecore:EClass" name="AgreementData">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.eclipse.passage.lic.licenses.model/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated licenses -->
<package
uri="http://www.eclipse.org/passage/lic/licenses/3.0.0"
uri="http://www.eclipse.org/passage/lic/licenses/4.0.0"
class="org.eclipse.passage.lic.licenses.model.meta.LicensesPackage"
genModel="model/licenses.genmodel"/>
</extension>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public interface LicensesPackage extends EPackage {
* <!-- end-user-doc -->
* @generated
*/
String eNS_URI = "http://www.eclipse.org/passage/lic/licenses/3.0.0"; //$NON-NLS-1$
String eNS_URI = "http://www.eclipse.org/passage/lic/licenses/4.0.0"; //$NON-NLS-1$

/**
* The package namespace name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ protected final void register() {
migrate100();
migrate110();
migrate200();
migrate300();
}

@Override
Expand Down Expand Up @@ -146,4 +147,10 @@ private void migrate200() {
EPackage.Registry.INSTANCE.computeIfAbsent(uri, ns -> delegate);
}

private void migrate300() {
String uri = "http://www.eclipse.org/passage/lic/licenses/3.0.0"; //$NON-NLS-1$
LicensesPackage delegate = LicensesPackage.eINSTANCE;
EPackage.Registry.INSTANCE.computeIfAbsent(uri, ns -> delegate);
}

}
Loading