de.cau.cs.kieler.synccharts.custom.update
Class UpdateResourceFactoryImpl
java.lang.Object
org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl
org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl
de.cau.cs.kieler.synccharts.custom.update.UpdateResourceFactoryImpl
- All Implemented Interfaces:
- Resource.Factory
public class UpdateResourceFactoryImpl
- extends XMIResourceFactoryImpl
This class handles the migration from Synccharts 0.1 to 0.2.1.
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CURRENT_VERSION
public static final UpdateResourceFactoryImpl.Synccharts_MM_Version CURRENT_VERSION
UpdateResourceFactoryImpl
public UpdateResourceFactoryImpl()
setReInitDiagramCommand
public static void setReInitDiagramCommand(AbstractInitDiagramHandler cmdParam)
- Set the reinitialize command for automatic migration. FIXME: currently
not active
- Parameters:
cmdParam
- the param
checkDiagramEditorInput
public static void checkDiagramEditorInput(FileEditorInput input)
- Check whether the editor is out of date and thrown an exception if it is.
- Parameters:
input
- the file editor input
createResource
public Resource createResource(URI uri)
-
- Specified by:
createResource
in interface Resource.Factory
- Overrides:
createResource
in class XMIResourceFactoryImpl