Skip to content

Package: ViewModelContextDisposeListener

ViewModelContextDisposeListener

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.context;
15:
16: /**
17: * A Listener which gets notified when a {@link ViewModelContext} gets disposed.
18: *
19: * @author Eugen Neufeld
20: * @since 1.5
21: */
22: public interface ViewModelContextDisposeListener {
23:
24:         /**
25:          * This gets called whenever a {@link ViewModelContext} gets disposed.
26:          *
27:          * @param viewModelContext The disposed {@link ViewModelContext}.
28:          */
29:         void contextDisposed(ViewModelContext viewModelContext);
30: }