Skip to content

Package: ViewModelEditorCallback

ViewModelEditorCallback

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2013 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.ide.view.service;
15:
16: /**
17: * A Callback used to triger a reload of the model.
18: *
19: * @author Eugen Neufeld
20: *
21: */
22: public interface ViewModelEditorCallback {
23:
24:         /**
25:          * Called by the framework to trigger a view model reload.
26:          */
27:         void reloadViewModel();
28:
29:         /**
30:          * Called by the framework to signal that the view model's resource has changed since the view model was last
31:          * loaded.
32:          */
33:         void signalEcoreOutOfSync();
34: }