Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:13 Go to next message
Pawel Pogorzelski is currently offline Pawel PogorzelskiFriend
Messages: 40
Registered: July 2009
Member
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 14:21 Go to previous messageGo to next message
Joerg Reichert is currently offline Joerg ReichertFriend
Messages: 80
Registered: July 2009
Location: Leipzig
Member
Hi Pawel,

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

Best regards,
Joerg


--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Re: Open an XtextEditor and reveal a given EObject [message #1391193 is a reply to message #1391158] Mon, 30 June 2014 15:21 Go to previous message
Pawel Pogorzelski is currently offline Pawel PogorzelskiFriend
Messages: 40
Registered: July 2009
Member
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: Fri Apr 26 04:19:28 GMT 2024

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

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

Back to the top