[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.emf] TraversalStrategy's double visits
|
- From: "John J. Franey" <jjfraney@xxxxxxxxx>
- Date: Wed, 16 Sep 2009 19:25:10 +0000 (UTC)
- Newsgroups: eclipse.tools.emf
- Organization: EclipseCorner
- User-agent: XPN/1.2.6 (Street Spirit ; Linux)
I have a situation where the BatchValidator is visiting some eobjects
twice. I've been in debugging session for a few hours and am not seeing
what factor would lead to this.
Here is the model serialized as xml:
<?xml version="1.0" encoding="UTF-8"?>
<scr:component
xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0"
enabled="true" factory="" immediate="false"
name="Command Provider for Dictionary Service"
activate=""
deactivate=""
modified="">
<implementation class="jjjjjjjjjj"/>
<service/>
</scr:component>
This is the order the strategy returns:
component -> implementation -> service -> implementation -> service.
If a single constraint is defined for 'implementation', it run twice.
Two IStatus are returned indicating the same constraint failure on the
same eobject. They have the same message, as do the two markers that
are consequently created by BatchValidator.
What can I do so these are visited only once?
Thanks,
John