blob: 2522446cd4a3fa25d11e67a1c630c6425079660c [file] [log] [blame]
/*
* Copyright (c) 2007 Borland Software Corporation
*
* All rights reserved. This program and the accompanying materials are made
* available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors: Borland - initial API and implementation
*/
package org.eclipse.gmf.internal.map.util;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.gmf.internal.common.ToolingResourceFactory;
import org.eclipse.gmf.internal.common.migrate.MigrationResource;
public class GMFMapResource extends MigrationResource {
public static class Factory extends ToolingResourceFactory {
@Override
public Resource createResource(URI uri) {
return new GMFMapResource(uri);
}
}
private GMFMapResource(URI uri) {
super(uri);
}
@Override
protected org.eclipse.gmf.internal.common.migrate.MigrationDelegate createDelegate() {
MigrationDelegate migrationHelper = new MigrationDelegate();
migrationHelper.init();
return migrationHelper;
}
}