Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to make the OutlineTreeProvider to not display children for an element
How to make the OutlineTreeProvider to not display children for an element [message #900248] Mon, 06 August 2012 07:30 Go to next message
Latha Shankara is currently offline Latha ShankaraFriend
Messages: 33
Registered: June 2012
Member
Hi,

I have a model with grammar elements with multiple attributes. But I do not want the attributes to be displayed as children.

I have written _createNode and _createChildren methods with empty implementation so that no children are created but unfortunately I still get the children.

What might be wrong? Could anyone please help me.

Thanks,
Latha
Re: How to make the OutlineTreeProvider to not display children for an element [message #900252 is a reply to message #900248] Mon, 06 August 2012 07:42 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi have a look at _isLeaf

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Scoping from external sources
Next Topic:Decision can match input such as "'(' RULE_ID '=' RULE_INT ')'" using multiple alternative
Goto Forum:
  


Current Time: Fri Apr 19 00:17:25 GMT 2024

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

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

Back to the top