Outline View In Xtext [message #1184294] |
Wed, 13 November 2013 10:59 |
|
Hi all,
I will tell you my outline view structure first.
Root
|
|__ Sub_Root
|
|__ Element_1
|
|__ property_1
|
|__ property_2
|
|__ property_3
|
|__ Element_2
|
|__ property_1
|
|__ property_2
|
|__ property_3
|
|__ Element_n
So basically what I have done is, I am overriding _createChildren method for my Root and I am calling a sub function to create Sub_Root and from this function to Create Element and then Properties.
Problem is even if I press enter keyword in my editor , complete Outline is getting refreshed and hence a performance issue for me.
I understand that I need to override _createChildren for all the types instead of calling function from a function.
But Can someone give me an idea how can I maintain the SAME STRUCTURE MENTIONED ABOVE. And if someone has some reference code then please do share it.
Basically I need something like, If I am modifying something only that part or that object is recreated.
Thanks in advance
Arshad
[Updated on: Wed, 13 November 2013 11:07] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03138 seconds