[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Programmatic Validation

Hi All,
Checking in for some guidance. I have a requirement of validating all of the data in a single model instance prior to saving the serialized instance of the data. Does it make sense to use the 'validateDocumentRoot' method of the validator class or is there a different recommendation?
If this is recommended, are there examples of this approach? I'm having some difficulty setting the arguments into the method and would like to understand the DiagnosticChain and Map arguments better. I believe I can get the document root from the edit domains resource set. Advice is appreciated, thanks in advance.
-derry