458ab255468ea64ed286e56f02a79f94cc10828e
[nemo.git] / nemo-tools / eclipse-plugin-project / nemo-editor / org.opendaylight.nemo.tool.eclipse.plugin.editor / bin / org / opendaylight / nemo / tool / eclipse / plugin / validation / EditorValidator.xtend
1 /*
2  * generated by Xtext
3  */
4 package org.opendaylight.nemo.tool.eclipse.plugin.validation
5
6 //import org.eclipse.xtext.validation.Check
7
8 /**
9  * This class contains custom validation rules. 
10  *
11  * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation
12  */
13 class EditorValidator extends AbstractEditorValidator {
14
15 //  public static val INVALID_NAME = 'invalidName'
16 //
17 //      @Check
18 //      def checkGreetingStartsWithCapital(Greeting greeting) {
19 //              if (!Character.isUpperCase(greeting.name.charAt(0))) {
20 //                      warning('Name should start with a capital', 
21 //                                      MyDslPackage.Literals.GREETING__NAME,
22 //                                      INVALID_NAME)
23 //              }
24 //      }
25 }