Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Get line number in xml file from EObject URI
Get line number in xml file from EObject URI [message #594199] Fri, 13 July 2007 08:52
Marko Tomljenovic is currently offline Marko Tomljenovic
Messages: 62
Registered: July 2009
Member
Hello guys,
I need some help regarding the above mentioned problem. I want to create a
multipage editor where the model data of an xml file is represented in a
text editor and another graphical/form based editor. In case of an invalid
input to the model elements I want to use error markers in both editors to
show the error.

The problem now is that I do not know how to calculate the line number of
an EObjects URI (EcoreUtil.getURI(EObject)) assuming I am not dealing with
a proxy.

Please help me, I am searching for a solution for quite a while now.

Greetings Marko
Previous Topic:How to automatically complete the EMF annotation in Eclipse?
Next Topic:Get line number in xml file from EObject URI
Goto Forum:
  


Current Time: Thu Oct 23 00:16:35 GMT 2014

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

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