diff options
Diffstat (limited to 'plugins/sysml/sysml14/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IComposableAdapterFactory.java')
-rw-r--r-- | plugins/sysml/sysml14/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IComposableAdapterFactory.java | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/sysml/sysml14/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IComposableAdapterFactory.java b/plugins/sysml/sysml14/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IComposableAdapterFactory.java new file mode 100644 index 00000000000..80f7d43562a --- /dev/null +++ b/plugins/sysml/sysml14/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IComposableAdapterFactory.java @@ -0,0 +1,41 @@ +/***************************************************************************** + * Copyright (c) 2011 Atos. + * + * + * 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: + * Atos - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml14.edit.provider; + +import org.eclipse.emf.common.notify.AdapterFactory; + + +/** + * The purpose of this interface is to create composable adapterFactory but in a + * way much simpler than EMF does. + * + * @author "Arthur Daussy <a href="mailto:arthur.daussy@atos.net + * ">arthur.daussy@atos.net</a>" + * + */ +public interface IComposableAdapterFactory { + + /** + * Return the root of the adapter factory + * + * @return {@link AdapterFactory} + */ + public IRootAdapterFactory getIRootAdapterFactory(); + + /** + * Set the root AdapterFactory + * + * @param root + */ + public void setRootAdapterFactory(IRootAdapterFactory root); +} |