[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Node Constraint Problem

Hello Maurice O'Connor,

However, when I add the node to the diagram it the node simply
disappears (but the diagram is dirty). Validation and Live validation
That's right - constraint is something more strict then the validation rule.

1. Does Live validation just examine the audit rules?
Should be this way.

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?
Try using audits + generating the code + see if this code is ok for you.
I suppose you have to code something manually to get dialog displayed then one of the audits was violated.


-----------------
Alex Shatalin