Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problem markers
Problem markers [message #55442] Mon, 25 September 2006 15:25
Eclipse UserFriend
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
Previous Topic:update on copy & paste
Next Topic:Diagram Menu
Goto Forum:
  


Current Time: Sat May 10 09:33:26 EDT 2025

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

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

Back to the top