blob: 137c58a0462d61d03fa32413fd17e6b5ff508ab0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* CEA LIST - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.infra.gmfdiag.xtext.glue.edit.part;
import org.eclipse.emf.ecore.EObject;
/**
* This interface is used for the reconciliation of the context UML model with respect to the textual
* specification obtained via edition from a popup xtext editor, in the case where this edition implies
* changes in the original model.
*
* @author CEA LIST - Initial contribution and API
*/
public interface IXtextEMFReconciler {
/**
* This method is called for performing the reconciliation, in the case where the popup xtext editor is
* closed with request for saving (i.e., by pressing ctrl + enter).
* @param modelObject The context UML model element
* @param xtextObject The xtext object resulting from the textual specification
*/
void reconcile (EObject modelObject, EObject xtextObject) ;
}
|