Last change
on this file since 440 was
440,
checked in by Mateusz Poszwa, 8 years ago
|
- Updated Xtext-based Framclipse
- Deleted previous version of Framclipse
|
-
Property svn:eol-style set to
native
|
File size:
582 bytes
|
Line | |
---|
1 | /* |
---|
2 | * generated by Xtext |
---|
3 | */ |
---|
4 | package com.framsticks.framclipse.validation; |
---|
5 | |
---|
6 | /** |
---|
7 | * This class contains custom validation rules. |
---|
8 | * |
---|
9 | * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation |
---|
10 | */ |
---|
11 | public class FramScriptJavaValidator extends com.framsticks.framclipse.validation.AbstractFramScriptJavaValidator { |
---|
12 | |
---|
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 | // } |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.