default value for a property and validate the property with a constraint


Can somebody answer these questions:

How to set a default value for a property? i tried following this link but it didn't really worked (

How  to validate the property with a constraint ?

How to restrct a cell in editor to take only integer values?

If we have a property used by multiple cells in to restrict the property to that particular cell ?


Thanks in advance




!. Set the property to the default in the constructor (the behavior aspect)

2. Set a validator for the property in the constraints aspect

3. Make the property of integer type in the structure aspect


@ Vaclav Pech: Thank you


Please sign in to leave a comment.