EVL diagnostics in Problems View, but no decorators on Diagram [message #1060065] |
Wed, 22 May 2013 15:39  |
Eclipse User |
|
|
|
So I followed the recipe here:
http://www.eclipse.org/epsilon/doc/articles/evl-gmf-integration/
I am working with a GMF editor created outside of Eugenia. The validation errors are showing in my problems view. However, there are never any decorators on my diagram.
I've tried to track this down in the debugger and I found an interesting mismatch.
In my CrosswalkValidationDecoratorProvider (Crosswalk is my package), we see a block of generated code like this:
if (attribute.equals(elementId)) {
These two strings are never equal in my implementation. The attribute value comes from the marker and at runtime for me it shows a notation model path, like this:
"/1/@children.0/@children.2/@children.0/@children.2/@children.0"
Meanwhile, the elementId is an empty string. I suppose it is empty because I am not using GUID identifiers in my notation model (or the rest of it for that matter). Are GUIDs required for this?
String elementId = ViewUtil.getIdStr(view);
ViewUtil.getIdStr is looking for an identifier that I don't think exists in my model.
Am I on the right track?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07777 seconds