Skip to content

Commit

Permalink
[#1370] Operator fails on startup
Browse files Browse the repository at this point in the history
Rework LocWorkbenchEmfformsMigrator
  • Loading branch information
ruspl-afed authored and eparovyshnaya committed May 23, 2024
1 parent 4a53b54 commit 2377641
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" activate="activate" name="org.eclipse.passage.loc.internal.workbench.emfforms.LocWorkbenchEmfformsMigrator">
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" activate="migrate" name="org.eclipse.passage.loc.internal.workbench.emfforms.LocWorkbenchEmfformsMigrator">
<implementation class="org.eclipse.passage.loc.internal.workbench.emfforms.LocWorkbenchEmfformsMigrator"/>
</scr:component>
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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$
}

Expand Down

0 comments on commit 2377641

Please sign in to comment.