422
|
1 |
/*
|
|
2 |
* Copyright (c) 2007 Borland Software Corporation
|
|
3 |
*
|
|
4 |
* All rights reserved. This program and the accompanying materials
|
|
5 |
* are made available under the terms of the Eclipse Public License v1.0
|
|
6 |
* which accompanies this distribution, and is available at
|
|
7 |
* http://www.eclipse.org/legal/epl-v10.html
|
|
8 |
*
|
|
9 |
* Contributors:
|
|
10 |
* Anna Karjakina (Borland) - initial API and implementation
|
|
11 |
*/
|
|
12 |
|
|
13 |
import "http://www.eclipse.org/gmf/2008/GenModel";
|
|
14 |
import "http://www.eclipse.org/emf/2002/Ecore";
|
|
15 |
|
|
16 |
String defaultAbstractParserClassName(gmfgen::GenDiagram diagram) :
|
|
17 |
"AbstractParser"
|
|
18 |
;
|
|
19 |
|
|
20 |
String defaultMessageFormatParserClassName(gmfgen::GenDiagram diagram) :
|
|
21 |
"MessageFormatParser"
|
|
22 |
;
|
|
23 |
|
|
24 |
String i18nKeyForAbstractParserUnexpectedValueTypeMessage(gmfgen::GenDiagram diagram) :
|
|
25 |
diagram.defaultAbstractParserClassName()+".UnexpectedValueTypeMessage"
|
|
26 |
;
|
|
27 |
|
|
28 |
String i18nKeyForAbstractParserWrongStringConversionMessage(gmfgen::GenDiagram diagram) :
|
|
29 |
diagram.defaultAbstractParserClassName()+".WrongStringConversionMessage"
|
|
30 |
;
|
|
31 |
|
|
32 |
String i18nKeyForAbstractParserUnknownLiteralMessage(gmfgen::GenDiagram diagram) :
|
|
33 |
diagram.defaultAbstractParserClassName()+".UnknownLiteralMessage"
|
|
34 |
;
|
|
35 |
|
|
36 |
String i18nKeyForMessageFormatParserInvalidInputError(gmfgen::GenDiagram diagram) :
|
|
37 |
diagram.defaultMessageFormatParserClassName()+".InvalidInputError"
|
|
38 |
;
|