filter resources shown in Project View

is there an API to filter resources shown in Project View
or I need to implement my own Custom view extending Project View?

I see ProjectViewImpl is final, so I'd have to implement a whole bunch of functionality if I were to extend base ProjectView class.
I also need to have standard popup menu items (like VCS integration, "analyze", "find usages", etc)    shown in this "custom view".

3 comments
Comment actions Permalink

Hello Alexey,

The TreeStructureProvider interface allows you to customize the structure
and presentation of elements displayed in the Project view. Hiding some elements
is one of the possibilities provided by the API.

is there an API to filter resources shown in Project View or I need to
implement my own Custom view extending Project View?

I see ProjectViewImpl is final, so I'd have to implement a whole bunch
of functionality if I were to extend base ProjectView class.

I also need to have standard popup menu items (like VCS integration,
"analyze", "find usages", etc)    shown in this "custom view".


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Thanks, Dmitry.
Is there a documentation page describing all possible "extensions"?

0
Comment actions Permalink

Hello Alexey,

Is there a documentation page describing all possible "extensions"?


No. The IntelliJ IDEA CE source code is the best reference for that.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.