Skip to main content
summaryrefslogtreecommitdiffstats
blob: baa8d37c93eb5ac038ff377754ef8a9531755740 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright (c) 2007 IBM Corporation and others.
 * 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:
 *   Kenn Hussey (IBM Corporation) - initial API and implementation
 *
 * $Id: CMOF2UMLHelperImpl.java,v 1.1 2007/09/04 15:28:48 khussey Exp $
 */
package org.eclipse.uml2.uml.internal.resource;

import org.eclipse.emf.ecore.xmi.XMLResource;
import org.eclipse.emf.ecore.xmi.impl.XMIHelperImpl;
import org.eclipse.uml2.uml.UMLPackage;
import org.eclipse.uml2.uml.resource.CMOF2UMLResource;

public class CMOF2UMLHelperImpl
		extends XMIHelperImpl {

	public CMOF2UMLHelperImpl(XMLResource resource) {
		super(resource);

		packages.put(UMLPackage.eINSTANCE,
			CMOF2UMLResource.CMOF_METAMODEL_NS_PREFIX);
	}

}

Back to the top