Skip to content

Package: ModelChangeAddRemoveListener

ModelChangeAddRemoveListener

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 - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emf.ecp.view.spi.model;
15:
16: import org.eclipse.emf.common.notify.Notifier;
17:
18: /**
19: * The listener interface for receiving modelChange events.
20: * The class that is interested in processing a modelChange
21: * event implements this interface, and the object created
22: * with that class is registered with a component using the
23: * component's <code>registerViewChangeListener</code> or <code>registerDomainChangeListener</code> method. When
24: * the modelChange event occurs, that object's appropriate
25: * method is invoked.
26: *
27: * @since 1.3
28: *
29: */
30: public interface ModelChangeAddRemoveListener extends ModelChangeListener {
31:
32:         /**
33:          * @param notifier the notifier
34:          */
35:         void notifyAdd(Notifier notifier);
36:
37:         /**
38:          * @param notifier the notifier
39:          */
40:         void notifyRemove(Notifier notifier);
41: }