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
...
精彩评论