Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4b8228abc5d3373562ac3853629ba0f8c604336c (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.xtext.gmf.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) ;
	
}

Back to the top