Skip to content

Package: ECPRepositoryContentChangedObserver

ECPRepositoryContentChangedObserver

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2012 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: * Edgar Mueller - change to ECPObserver
14: * Eugen Neufeld - JavaDoc
15: *
16: *******************************************************************************/
17: package org.eclipse.emf.ecp.core.util.observer;
18:
19: import java.util.Collection;
20:
21: import org.eclipse.emf.ecp.core.ECPRepository;
22:
23: /**
24: * This Observer is called to notify listeners about changes of the objects in a repository.
25: *
26: * @author Eike Stepper
27: * @author Edgar Mueller
28: * @author Eugen Neufeld
29: *
30: */
31: public interface ECPRepositoryContentChangedObserver extends ECPObserver {
32:
33:         /**
34:          * This is called to indicate, that objects inside the repository changed.
35:          *
36:          * @param repository the repository the changes occurred
37:          * @param objects the objects that changed
38:          */
39:         void contentChanged(ECPRepository repository, Collection<Object> objects);
40: }