Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Open an XtextEditor and reveal a given EObject
Open an XtextEditor and reveal a given EObject [message #1391150] Mon, 30 June 2014 10:13 Go to next message
Eclipse UserFriend
Guys,
is there any helper API to open (or bring to the top if already open) an XtextEditor and reveal a given EObject?

I'm trying to show sth fetched from the exported objects index.

Cheers,
Pawel
Re: Open an XtextEditor and reveal a given EObject [message #1391158 is a reply to message #1391150] Mon, 30 June 2014 10:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi Pawel,

you can use the IURIEditorOpener for that, see some usages:
https://github.com/search?q=IURIEditorOpener&type=Code

Best regards,
Joerg
Re: Open an XtextEditor and reveal a given EObject [message #1391193 is a reply to message #1391158] Mon, 30 June 2014 11:21 Go to previous message
Eclipse UserFriend
Thanks Joerg, it worked.

Pawel
Previous Topic:Problems when creating ANSI-C like grammar
Next Topic:Eclipse application from web editor
Goto Forum:
  


Current Time: Mon Jul 07 16:12:10 EDT 2025

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

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

Back to the top