/******************************************************************************* * Copyright (c) 2013 Jean-Marie Gauthier and University of Franche-Comte * 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: * Jean-Marie Gauthier and University of Franche-Comte - initial API and implementation *******************************************************************************/ package edu.ufc.femtost.disc.sysml4modelica.papyrus.ui.utils; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl; public class ProblemResourceFactoryImpl extends ResourceFactoryImpl{ public Resource createResource(URI uri){ Resource result = new ProblemResourceImpl(uri); return result; } }