blob: c13fad7f16f25a66d41434e9b127bdf49bbd461b [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2005 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:
* IBM Corporation - initial API and implementation
****************************************************************************/
package org.eclipse.gmf.examples.runtime.emf.clipboard.library;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl;
/**
* Custom library resource that uses UUIDs for URI fragments.
*/
public class LibraryResource
extends XMIResourceImpl {
/**
* Initializes me.
*/
public LibraryResource() {
super();
}
/**
* Initializes me with my URI.
*
* @param uri my URI
*/
public LibraryResource(URI uri) {
super(uri);
}
/**
* We want to use UUIDs.
*
* @return <code>true</code>, always
*/
protected boolean useUUIDs() {
return true;
}
}