/**
* Copyright (c) 2002-2004 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 - Initial API and implementation
*/
package org.eclipse.emf.edit.provider;
import org.eclipse.emf.common.notify.AdapterFactory;
/**
* This provides support that allows a factory to be composed into a {@link ComposedAdapterFactory}
* that serves the union of the model objects from different packages.
*/
public interface ComposeableAdapterFactory extends AdapterFactory
{
/**
* This convenience method returns the first adapter factory that doesn't have a parent, i.e., the root.
*/
public ComposeableAdapterFactory getRootAdapterFactory();
/**
* This sets the direct parent adapter factory into which this factory is composed.
*/
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory);
}