Skip to content

Package: EMFSpecificService

EMFSpecificService

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2015 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Lucas Koehler - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emfforms.spi.core.services.emfspecificservice;
15:
16: import org.eclipse.emf.ecore.EObject;
17: import org.eclipse.emf.ecore.EStructuralFeature;
18: import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
19: import org.eclipse.emf.edit.provider.IItemPropertySource;
20:
21: /**
22: * The {@link EMFSpecificService} offers EMF specific functionality. Thereby, it provides the following things:
23: * <ul>
24: * <li>{@link org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator}</li>
25: * <li>{@link org.eclipse.emf.edit.provider.ComposedAdapterFactory}</li>
26: * <ul>
27: *
28: * @author Lucas Koehler
29: * @noextend This interface is not intended to be extended by clients.
30: * @noimplement This interface is not intended to be implemented by clients.
31: */
32: public interface EMFSpecificService {
33:         // /**
34:         // * Returns a {@link ComposedAdapterFactory}.
35:         // *
36:         // * @return The {@link ComposedAdapterFactory}
37:         // */
38:         // ComposedAdapterFactory getComposedAdapterFactory();
39:         //
40:         // /**
41:         // * Returns a {@link AdapterFactoryItemDelegator}.
42:         // *
43:         // * @return The {@link AdapterFactoryItemDelegator}
44:         // */
45:         // AdapterFactoryItemDelegator getAdapterFactoryItemDelegator();
46:
47:         IItemPropertyDescriptor getIItemPropertyDescriptor(EObject eObject, EStructuralFeature eStructuralFeature);
48:
49:         IItemPropertySource getIItemPropertySource(EObject eObject);
50: }