Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: fd63dcf3f76c77fdf8a0bc628468cbfdb8a5e757 (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
37
38
/******************************************************************************
 * Copyright (c) 2007, 2020 Borland Software Corporation, CEA LIST, Artal
 * 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/ 
 * 
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors: 
 *    Dmitry Stadnik (Borland) - initial API and implementation
 *    Artem Tikhomirov (Borland) - [235113] alternative parser access
 *                                 [244419] custom parsers
 *	  Michael Golubev (Montages) - [368169] extract not-generated shared code to GMF-T runtime
 *    Aurelien Didier (ARTAL) - aurelien.didier51@gmail.com - Bug 569174
 *****************************************************************************/

«IMPORT 'http://www.eclipse.org/papyrus/gmf/2020/GenModel'»

«REM»
Since GMFT 3.1 we don't generate class AbstractParser into every diagram, by extending the 
org.eclipse.gmf.tooling.runtime.parsers.AbstractAttributeParser.
If you want to extends other custom implementation you may change the className and quialifiedClassName DEFINE's 
which are still used in the extend's clauses for generated PredefinedParser's
«ENDREM»
«DEFINE className FOR gmfgen::GenParsers»AbstractAttributeParser«ENDDEFINE»
«DEFINE qualifiedClassName FOR gmfgen::GenParsers»org.eclipse.gmf.tooling.runtime.parsers.«EXPAND className»«ENDDEFINE»

«REM»
However, for 3.1 release we still will generate empty file (without any java content), 
to ensure that the old code, including calls to non existing i18n fields in Messages is cleaned up.
«ENDREM»

«DEFINE deprecatedQualifiedClassName FOR gmfgen::GenParsers»«implPackageName».AbstractParser«ENDDEFINE»
«DEFINE Main FOR gmfgen::GenParsers-»
//Since GMFT 3.1 we don't generate class AbstractParser into every diagram, instead extend org.eclipse.gmf.tooling.runtime.parsers.AbstractAttributeParser.
«ENDDEFINE»

Back to the top