开发者

Changing default validation messages

开发者 https://www.devze.com 2023-03-01 23:19 出处:网络
Using EMF Validation to validate model I get error messages such as The feature \'blah\' of \'blah\' with 0 values must have at least 1 values

Using EMF Validation to validate model I get error messages such as

The feature 'blah' of 'blah' with 0 values must have at least 1 values

This message might be confusing to user, is there 开发者_StackOverflow中文版anyway I can override this error message for particular element/attribute with custom message? In a schema perhaps?


We have done this by adding a new fragment for org.eclipse.emf.ecore with our new message texts in the file plugin_en.properties. These will take precedence over the texts in plugin.properties...

0

精彩评论

暂无评论...
验证码 换一张
取 消