Pergunta

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 anyway I can override this error message for particular element/attribute with custom message? In a schema perhaps?

Foi útil?

Solução

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...

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top