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 03:30 Go to next message
Latha Shankara is currently offline Latha Shankara
Messages: 30
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 03:42 Go to previous message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6126
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
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: Wed Jul 23 14:15:51 EDT 2014

Powered by FUDForum. Page generated in 0.01429 seconds