### Eclipse Workspace Patch 1.0 #P org.eclipse.gmf.runtime.emf.core Index: src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFResource.java =================================================================== RCS file: src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFResource.java diff -N src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFResource.java --- src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFResource.java 25 Apr 2006 12:48:26 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,43 +0,0 @@ -/****************************************************************************** - * Copyright (c) 2004-2006 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.runtime.emf.core.internal.resources; - -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.xmi.XMLHelper; -import org.eclipse.emf.ecore.xmi.XMLLoad; - -/** - * Custom implementation of an XMIResource. - * - * @author rafikj - * - * @deprecated Use the {@link org.eclipse.gmf.runtime.emf.core.resources.GMFResource} - * class, instead - */ -public class GMFResource - extends org.eclipse.gmf.runtime.emf.core.resources.GMFResource { - - /** - * Constructor. - */ - public GMFResource(URI uri) { - super(uri); - } - - protected XMLHelper createXMLHelper() { - return new GMFHelper(this); - } - - protected XMLLoad createXMLLoad() { - return new GMFLoad(createXMLHelper()); - } -} \ No newline at end of file Index: src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFHandler.java =================================================================== RCS file: src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFHandler.java diff -N src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFHandler.java --- src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFHandler.java 25 Apr 2006 12:48:26 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,45 +0,0 @@ -/****************************************************************************** - * Copyright (c) 2004, 2006 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.runtime.emf.core.internal.resources; - -import java.util.Map; - -import org.eclipse.emf.ecore.xmi.XMLHelper; -import org.eclipse.emf.ecore.xmi.XMLResource; - -/** - * The SAX handler for MSL resources. Updates demand-created packages with their - * namespace prefixes and schema locations. - * - * @author khussey - * - * @deprecated Use the {@link org.eclipse.gmf.runtime.emf.core.resources.GMFHandler} - * class, instead - */ -public class GMFHandler - extends org.eclipse.gmf.runtime.emf.core.resources.GMFHandler { - - /** - * Constructs a new MSL handler for the specified resource with the - * specified helper and options. - * - * @param xmiResource - * The resource for the new handler. - * @param helper - * The helper for the new handler. - * @param options - * The load options for the new handler. - */ - public GMFHandler(XMLResource xmiResource, XMLHelper helper, Map options) { - super(xmiResource, helper, options); - } -} \ No newline at end of file Index: src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFHelper.java =================================================================== RCS file: src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFHelper.java diff -N src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFHelper.java --- src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFHelper.java 25 Apr 2006 12:48:26 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,34 +0,0 @@ -/****************************************************************************** - * Copyright (c) 2004, 2006 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.runtime.emf.core.internal.resources; - -import org.eclipse.emf.ecore.xmi.XMLResource; - -/** - * This class changes the behavior of the default XMIHelper so that references - * between projects are not deresolved. - * - * @author rafikj - * - * @deprecated Use the {@link org.eclipse.gmf.runtime.emf.core.resources.GMFHelper} - * class, instead - */ -public class GMFHelper - extends org.eclipse.gmf.runtime.emf.core.resources.GMFHelper { - - /** - * Constructor. - */ - public GMFHelper(XMLResource resource) { - super(resource); - } -} \ No newline at end of file Index: src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFLoad.java =================================================================== RCS file: src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFLoad.java diff -N src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFLoad.java --- src/org/eclipse/gmf/runtime/emf/core/internal/resources/GMFLoad.java 25 Apr 2006 12:48:26 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,43 +0,0 @@ -/****************************************************************************** - * Copyright (c) 2004, 2006 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.runtime.emf.core.internal.resources; - -import org.eclipse.emf.ecore.xmi.XMLHelper; -import org.eclipse.emf.ecore.xmi.impl.SAXWrapper; -import org.xml.sax.helpers.DefaultHandler; - -/** - * This class changes the behavior of the default XMILoader so that - * UnresolvedReferenceExceptions are not thrown back. - * - * @author rafikj - * - * @deprecated Use the {@link org.eclipse.gmf.runtime.emf.core.resources.GMFLoad} - * class, instead - */ -public class GMFLoad - extends org.eclipse.gmf.runtime.emf.core.resources.GMFLoad { - - /** - * Constructor. - */ - public GMFLoad(XMLHelper helper) { - super(helper); - } - - /** - * @see org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl#makeDefaultHandler() - */ - protected DefaultHandler makeDefaultHandler() { - return new SAXWrapper(new GMFHandler(resource, helper, options)); - } -} \ No newline at end of file Index: src/org/eclipse/gmf/runtime/emf/core/internal/exceptions/AbortResourceLoadException.java =================================================================== RCS file: src/org/eclipse/gmf/runtime/emf/core/internal/exceptions/AbortResourceLoadException.java diff -N src/org/eclipse/gmf/runtime/emf/core/internal/exceptions/AbortResourceLoadException.java --- src/org/eclipse/gmf/runtime/emf/core/internal/exceptions/AbortResourceLoadException.java 25 Apr 2006 12:48:27 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,54 +0,0 @@ -/****************************************************************************** - * Copyright (c) 2006 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.runtime.emf.core.internal.exceptions; - -/** - * This exception is intended to be thrown during Resource load when an - * error occurs. This RuntimeException wrapper is required in order to - * abort loading at any time. - * - * @author Christian Vogt (cvogt) - * - * @deprecated Use the {@link org.eclipse.gmf.runtime.emf.core.resources.AbortResourceLoadException} - * exception, instead. - */ -public class AbortResourceLoadException extends org.eclipse.gmf.runtime.emf.core.resources.AbortResourceLoadException { - - private static final long serialVersionUID = 1317448650831196205L; - - /** - * Initializes me without any details. - */ - public AbortResourceLoadException() { - super(); - } - - /** - * Initializes me with a useful message. - * - * @param message - * a message - */ - public AbortResourceLoadException(String message) { - super(message); - } - - /** - * Initializes me with a cause. - * - * @param cause - * the cause of this exception. - */ - public AbortResourceLoadException(Throwable cause) { - super(cause); - } -} Index: src/org/eclipse/gmf/runtime/emf/core/internal/exceptions/package.html =================================================================== RCS file: src/org/eclipse/gmf/runtime/emf/core/internal/exceptions/package.html diff -N src/org/eclipse/gmf/runtime/emf/core/internal/exceptions/package.html --- src/org/eclipse/gmf/runtime/emf/core/internal/exceptions/package.html 12 Sep 2005 21:25:12 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,37 +0,0 @@ - - - - - - - -Exceptions that may be thrown by the MSL APIs that are not, themselves, public. - -

Package Specification

-

-The {@link org.eclipse.gmf.runtime.emf.core.internal.exceptions.MSLActionProtocolException} -signals attempts to interact with MSL-managed models "outside" of the -protocol specified by the {@link org.eclipse.gmf.runtime.emf.core.util.OperationUtil} -class. -

- -@see org.eclipse.gmf.runtime.emf.core.util.OperationUtil -@see org.eclipse.gmf.runtime.emf.core.edit.MRunnable - -@canBeSeenBy org.eclipse.gmf.runtime.emf.core.* - - - Index: META-INF/MANIFEST.MF =================================================================== RCS file: /cvsroot/technology/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.emf.core/META-INF/MANIFEST.MF,v retrieving revision 1.16 diff -u -r1.16 MANIFEST.MF --- META-INF/MANIFEST.MF 26 Apr 2006 20:14:40 -0000 1.16 +++ META-INF/MANIFEST.MF 2 May 2006 13:49:37 -0000 @@ -8,7 +8,6 @@ Bundle-Localization: plugin Export-Package: org.eclipse.gmf.runtime.emf.core, org.eclipse.gmf.runtime.emf.core.clipboard, - org.eclipse.gmf.runtime.emf.core.internal.exceptions;x-internal:=true, org.eclipse.gmf.runtime.emf.core.internal.l10n;x-internal:=true, org.eclipse.gmf.runtime.emf.core.internal.plugin;x-internal:=true, org.eclipse.gmf.runtime.emf.core.internal.resources;x-friends:="org.eclipse.gmf.runtime.emf.ui",