Problem markers [message #55442] |
Mon, 25 September 2006 15:25 |
Eclipse User |
|
|
|
I am working on an editor and a runtime system for a dialog modelling
languge. When the editor saves the model, it is validated and the
runtime representation is built. By copying code from
AddBookmarkHelper.addBookmark I have made the validator and builder
make problem markers. The only problem is that
DiagramMarkerNavigationProvider (provides the MarkerNavigationService)
only supports IMarker.LOCATIONs based on View ids, while the validator
and runtime naturally work on the semantic model. Hence, they cannot
use the View id, but must instead use the path-like name from
EMFCoreUtil.getName.
I have managed to implement my own provider of the
MarkerNavigationService, which instead supports IMarker.LOCATIONs
based on EMFCoreUtil.getName. However, it would be a lot more elegant
and natural if DiagramMarkerNavigationProvider supports this directly,
since EMFCoreUtil.getName is used by GMF's own bookmarks.
Of course, I'll contribute code from my own implementation, if it's
desired.
Hallvard
|
|
|
Powered by
FUDForum. Page generated in 0.02763 seconds