Skip to content

Package: ECPRepositoryAware

ECPRepositoryAware

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2013 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: * Eike Stepper - initial API and implementation
13: * Eugen Neufeld - JavaDoc
14: *
15: *******************************************************************************/
16: package org.eclipse.emf.ecp.core.util;
17:
18: import org.eclipse.emf.ecp.core.ECPRepository;
19:
20: /**
21: * This interface is used on classes that are aware of the repository they belong to.
22: *
23: * @author Eike Stepper
24: * @author Eugen Neufeld
25: *
26: */
27: public interface ECPRepositoryAware extends ECPProviderAware {
28:         /**
29:          * This returns the {@link ECPRepository} this object references in any way.
30:          *
31:          * @return the known {@link ECPRepository}
32:          */
33:         ECPRepository getRepository();
34: }