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?

1
2 comments

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!"

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?



0
Avatar
Permanently deleted user

Anna Kozlova wrote:

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!"

>> 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.

1

Please sign in to leave a comment.