Validation and Teneo? [message #488845] |
Wed, 30 September 2009 13:26 |
Eclipse User |
|
|
|
Originally posted by: dennis.freese.gmx.net
Hello all,
I have a question about the validation from the second mindmap example.
If I implement the validation like in the example, everything works
great. But my problem is that I'm using teneo for saving the model into
a database. So the target in the validate-Method from the generated
ValidateAction-Class is always null. I know the following automatically
generated source code works fine with files but not with teneo.
This part is genereated by gmf:
IFile target = view.eResource() != null ? WorkspaceSynchronizer
.getFile(view.eResource()) : null;
The validation prints no messages in the problem view when using teneo.
Is there a clue to get the target from the database or should it even work?
Thanks for your answers
Dennis
|
|
|
|
Powered by
FUDForum. Page generated in 0.02946 seconds