3 comments

What are you talk about? For Swing JTree read tutorial:
http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html

Maybe you mean some different?

"PeterGC" <PeterGC@compare.com> wrote in message
news:6644966.1066212669345.JavaMail.itn@is.intellij.net...

Can i create my own tree node? and set icon to it?



0

Sorry my question is not clear, i mean that can i add a standalone tree node to some specificed file node, such as .txt file node.

0

I'm not sure, it's not supported now in OpenAPI.
The structure of element is controled by PSI interface. So, maybe it help
you. See PsiViewer plugin for example.

"PeterGC" <no_mail@jetbrains.com> wrote in message
news:18520338.1066266319928.JavaMail.itn@is.intellij.net...

Sorry my question is not clear, i mean that can i add a standalone tree

node to some specificed file node, such as .txt file node.


0

Please sign in to leave a comment.