| [news.eclipse.modeling.gmf] Re: Node Constraint Problem |
Thanks Alex, this is a help!
Maurice.
Hello Maurice O'Connor,
That's right - constraint is something more strict then the validation rule.However, when I add the node to the diagram it the node simply disappears (but the diagram is dirty). Validation and Live validation
1. Does Live validation just examine the audit rules?Should be this way.
Try using audits + generating the code + see if this code is ok for you.2. How can I set it so when the user adds a node to the diagram and fails to specify a name, the editor will complain, via decorator or message-box?
I suppose you have to code something manually to get dialog displayed then one of the audits was violated.