diff --git a/bundles/org.eclipse.passage.loc.workbench.emfforms/OSGI-INF/org.eclipse.passage.loc.internal.workbench.emfforms.LocWorkbenchEmfformsMigrator.xml b/bundles/org.eclipse.passage.loc.workbench.emfforms/OSGI-INF/org.eclipse.passage.loc.internal.workbench.emfforms.LocWorkbenchEmfformsMigrator.xml index 5ab05d3f1..ebad2a006 100644 --- a/bundles/org.eclipse.passage.loc.workbench.emfforms/OSGI-INF/org.eclipse.passage.loc.internal.workbench.emfforms.LocWorkbenchEmfformsMigrator.xml +++ b/bundles/org.eclipse.passage.loc.workbench.emfforms/OSGI-INF/org.eclipse.passage.loc.internal.workbench.emfforms.LocWorkbenchEmfformsMigrator.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/bundles/org.eclipse.passage.loc.workbench.emfforms/src/org/eclipse/passage/loc/internal/workbench/emfforms/LocWorkbenchEmfformsMigrator.java b/bundles/org.eclipse.passage.loc.workbench.emfforms/src/org/eclipse/passage/loc/internal/workbench/emfforms/LocWorkbenchEmfformsMigrator.java index 55ce8fbee..0c1cd5bbe 100644 --- a/bundles/org.eclipse.passage.loc.workbench.emfforms/src/org/eclipse/passage/loc/internal/workbench/emfforms/LocWorkbenchEmfformsMigrator.java +++ b/bundles/org.eclipse.passage.loc.workbench.emfforms/src/org/eclipse/passage/loc/internal/workbench/emfforms/LocWorkbenchEmfformsMigrator.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2018, 2020 ArSysOp + * Copyright (c) 2018, 2024 ArSysOp * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at @@ -18,10 +18,10 @@ import org.osgi.service.component.annotations.Component; @Component -public class LocWorkbenchEmfformsMigrator { - +public final class LocWorkbenchEmfformsMigrator { + @Activate - public void activate() { + public void migrate() { EPackage.Registry.INSTANCE.put("http://org/eclipse/emf/ecp/view/model/1170", VViewPackage.eINSTANCE); //$NON-NLS-1$ }