开发者

Changing default validation messages

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜