Skip to content

Package: ModelChangeListener

ModelChangeListener

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2014 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: * Eugen Neufeld - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emf.ecp.view.spi.model;
15:
16: /**
17: * The listener interface for receiving modelChange events.
18: * The class that is interested in processing a modelChange
19: * event implements this interface, and the object created
20: * with that class is registered with a component using the
21: * component's <code>registerViewChangeListener</code> or <code>registerDomainChangeListener</code> method. When
22: * the modelChange event occurs, that object's appropriate
23: * method is invoked.
24: *
25: * @author Eugen Neufeld
26: * @since 1.3
27: *
28: */
29: public interface ModelChangeListener {
30:         /**
31:          * Notify about a change.
32:          *
33:          * @param notification the {@link ModelChangeNotification}
34:          */
35:         void notifyChange(ModelChangeNotification notification);
36: }