TreeStructureProvider and custom Scope
I use TreeStructureProvider to change node text in ProjectView. It works fine as long as I use standard views (Project, Packages, Favorites).
However, when I change view to any scope (Production etc.) and especially my custom scope my rendering does not work anymore. I see, that Idea stops polling TreeStructureProvier#getData() method as well as TreeStructureProvier#modify().
Is there any way to have consistent rendering of nodes?
What is a difference between standard views and scopes?
Please sign in to leave a comment.
Hello Marek,
It is not supported. What exactly do you want to modify?
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Anna Kozlova wrote:
>> I use TreeStructureProvider to change node text in ProjectView. It
>> works fine as long as I use standard views (Project, Packages,
>> Favorites).
>>
>> However, when I change view to any scope (Production etc.) and
>> especially my custom scope my rendering does not work anymore. I see,
>> that Idea stops polling TreeStructureProvier#getData() method as well
>> as TreeStructureProvier#modify().
>>
>> Is there any way to have consistent rendering of nodes? What is a
>> difference between standard views and scopes?
>>
I mark some files as files under code review. Basically I'm adding SVN
revisions under code review - text in node label.
So, I'd like to display this information regardless of full or scope view.