Treeviewer view

How to create a Treeviewer View in Intellij Plugin , i have searched for it through many resources but nothing is helpful.
Is there are any good resources or samples available on building views?

7 comments
Comment actions Permalink

You can use the standard Swing JTree component.

0
Comment actions Permalink

hi i went through JTree and i understand how to create tree using it but i am not getting how to use JTree in intellij views means how i can create view with treeview in it. Is there any good reference or sample for this.
Ya as a new developer in Intellij plugin development i am finding it hard to start with it ,yes there are documentation but as a fresh developer its little bit hard to work with them unlike eclipse plugin development.?:|?:|

0
Comment actions Permalink

What kind of view do you want to create?

0
Comment actions Permalink

Actually i wanna create utility that will take java class from projectview panel then convert it into xml file and then i have to parse that xml to create tree representation of java class and to display it in a view.
A treeviewer like this:http://www.eclipse.org/articles/Article-TreeViewer/TreeViewerArticle.htm

0
Comment actions Permalink

Where do you want to show it? In a dialog, in a toolwindow (a pane on the side of the IDE UI), somewhere else?


0
Comment actions Permalink

yes i want to show it in tool window

0
Comment actions Permalink

Folks, any updates here? I have a similar requirement, I need to display a custom tree in a separate toolwindow, similar to the structure view. Are there any simple examples?

 

0

Please sign in to leave a comment.