source: java/Framclipse/com.framsticks.framclipse/src/com/framsticks/framclipse/validation/FramScriptJavaValidator.java @ 440

Last change on this file since 440 was 440, checked in by Mateusz Poszwa, 9 years ago
  • Updated Xtext-based Framclipse
  • Deleted previous version of Framclipse
  • Property svn:eol-style set to native
File size: 582 bytes
RevLine 
[440]1/*
2 * generated by Xtext
3 */
[437]4package com.framsticks.framclipse.validation;
5
[440]6/**
7 * This class contains custom validation rules.
8 *
9 * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation
10 */
11public class FramScriptJavaValidator extends com.framsticks.framclipse.validation.AbstractFramScriptJavaValidator {
[437]12
[440]13//      @Check
14//      public void checkGreetingStartsWithCapital(Greeting greeting) {
15//              if (!Character.isUpperCase(greeting.getName().charAt(0))) {
16//                      warning("Name should start with a capital", MyDslPackage.Literals.GREETING__NAME);
17//              }
18//      }
[437]19}
Note: See TracBrowser for help on using the repository browser.