Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Sphinx » Re: ValidationMarkerManager marks objects with partly matching
icon5.gif  Re: ValidationMarkerManager marks objects with partly matching [message #1384018] Tue, 27 May 2014 20:20
Patrick Rammelt is currently offline Patrick RammeltFriend
Messages: 5
Registered: May 2014
Junior Member
Hi,

I'm validating an EMF model by some IModelConstraints. The model is shown using a TreeViewer.
My problem is this: If an EObject "ABCXYZ" should be marked (error/warning) another EObject "ABC" of the same type gets also marked.
"ABCXYZ" and "ABC" are label attributes of the model elements and are used to create URIs for these elements (I cannot change this behavior, because I cannot change the EMF model).
In general, an EObject gets marked if its URI is partly matching the URI of another EObject for which a diagnostic result (error/warning) exists. This is how it's implemented in ValidationMarkerManager, which is a singleton.
So my question is: Is it possible to use a customized ValidationMarkerManager somehow, or is there any other way to change this behavior without changing the EMF model?

Many thanks and best regards,
Patrick
Previous Topic:Delay with XML parsing using Sphinx
Next Topic:Installing Sphinx fails
Goto Forum:
  


Current Time: Wed Apr 24 22:34:20 GMT 2024

Powered by FUDForum. Page generated in 0.02320 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top