|
|
Re: Graphiti . EMF Validation [message #997062 is a reply to message #992390] |
Thu, 03 January 2013 14:12 |
Rui Domingues Messages: 194 Registered: October 2010 |
Senior Member |
|
|
Hi Michael. Thank you very much for answering, but I need some clarification, if you can.
I've already defined a IValidationListener implementation, an IClientSelector, and in plugin.xml, I defined the extension points below:
point="org.eclipse.core.resources.markers"
point="org.eclipse.emf.validation.constraintBindings">
point="org.eclipse.emf.validation.validationListeners">
<listener class="validation.ProblemsReporter">
</listener>
and some live constraints which implementation also takes care of batch validation.
I checked through ValidationListener that it is validating, and I'm writing the message in the status bar. At the same place I'm trying to create my marker. is here the proper place? How do I add extra attributes? I 'm using MarkerUtil.
Other thing: I also want that when I click in the marker, the editpart is selected, however, it opens the model file in text mode. I also extended my editor from IGotoMarker, but the method is not invoked. Can anyone help me?
Thanks in advance
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04208 seconds