Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Outline tree provider and view
Outline tree provider and view [message #1005898] Tue, 29 January 2013 09:05 Go to next message
Dana Klein is currently offline Dana KleinFriend
Messages: 63
Registered: October 2012
Member
Hi,
I want to add a view in eclipse plugin that i could edit my doc (IXtextDocument).
currently there is the outline but i don't know how to manipulate it in order to edit through the view.

please advise,
dana

[Updated on: Tue, 29 January 2013 09:05]

Report message to a moderator

Re: Outline tree provider and view [message #1006078 is a reply to message #1005898] Tue, 29 January 2013 18:46 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 13354
Registered: July 2009
Senior Member
Hi,

you may have a look atorg.eclipse.xtext.ui.editor.outline.actions.IOutlineContribution

~Christian

P.S: cause of ip issues i cannot share the code we use for something similar in our project


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Outline tree provider and view [message #1006082 is a reply to message #1006078] Tue, 29 January 2013 19:27 Go to previous message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 13354
Registered: July 2009
Senior Member
Alternatively you may have a look at http://git.eclipse.org/c/etrice/org.eclipse.etrice.git
on how to register a context menu for the outline


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:[Xbase] Auto-extensions
Next Topic:About cross references & scoping
Goto Forum:
  


Current Time: Tue Feb 18 14:05:11 GMT 2020

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

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

Back to the top