Skip to content

Package: ECPPropertiesObserver

ECPPropertiesObserver

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: import java.util.Map.Entry;
21:
22: import org.eclipse.emf.ecp.core.util.ECPProperties;
23:
24: /**
25: * This Observer is called to notify listeners about changes of properties.
26: *
27: * @author Eike Stepper
28: * @author Edgar Mueller
29: * @author Eugen Neufeld
30: *
31: */
32: public interface ECPPropertiesObserver extends ECPObserver {
33:
34:         /**
35:          * This is called to indicate, that properties changed.
36:          *
37:          * @param properties the {@link ECPProperties} that are chnaged
38:          * @param oldProperties the properties before changing
39:          * @param newProperties the properties after changing
40:          */
41:         void propertiesChanged(ECPProperties properties, Collection<Entry<String, String>> oldProperties,
42:                 Collection<Entry<String, String>> newProperties);
43: }