|
|
|
|
Re: [EDapt] Windows filenames are not URIs [message #1753151 is a reply to message #1752766] |
Thu, 02 February 2017 04:12  |
Eclipse User |
|
|
|
Hi Steve,
This Editor integration sample creates the Migrator by using the MigratorRegistory. This one is filled from the org.eclipse.emf.edapt.migrators extension point.
At this extension point you have to register your history, which is expected to be contained in the plugin. It is advised to keep the history next to the ecore anyway.
See below example for the extension point.
If you can't keep the history file in your plugin, then you can't use the extension point. You will have to create the Migrator as shown here: https://www.eclipse.org/forums/index.php?t=msg&th=1083743&goto=1752153&#msg_1752153
Cheers
Johannes
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
name=""
point="org.eclipse.emf.ecore.generated_package">
<package
genModel="model/task.genmodel"
uri="http://eclipse/org/emf/ecp/makeithappen/model/task"
class="org.eclipse.emf.ecp.makeithappen.model.task.TaskPackage">
</package>
</extension>
<extension
point="org.eclipse.emf.edapt.migrators">
<migrator
path="model/task.history">
</migrator>
</extension>
</plugin>
|
|
|
Powered by
FUDForum. Page generated in 0.08077 seconds