Property Sheet validator [message #879536] |
Thu, 31 May 2012 07:40  |
Eclipse User |
|
|
|
Hi everyone,
I have Few Nodes defined and placed in the Palette. Each Node has an attribute "Name"
which can be set in the property sheet.
I have a rule that in the diagram there shouldn't be multiple Nodes with same "Name". I have to check this validation that "Name" is not same for any 2 Nodes.
I couldn't find a place in the GMF generated code to set the validator. Can someone help me on this. In the PropertySection code i have set descriptor as EMFCompositeSourcePropertyDescriptor and set validator on that but "isValid" method is not invoked when i change value in the property sheet
Thanks for your help
Thanks,
Sarath
|
|
|
|
Powered by
FUDForum. Page generated in 0.12672 seconds