blob: 36b3f09fa886fadc1c37f48f27e5def72e5cf9c1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 protos software gmbh (http://www.protos.de).
* 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:
* juergen.haug@protos.de (initial contribution)
*
*******************************************************************************/
package org.eclipse.etrice.ui.common.base.resource;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl;
public class DiagramResourceFactory extends XMIResourceFactoryImpl {
@Override
public Resource createResource(URI uri) {
return new DiagramResource(uri);
}
}