Registering tool windows
Hello,
I'm registering my own tool window via the ToolWindowManager's
registerToolWindow.
The first parameter for the register method is an ID, which I'm setting
to the tool window's class name (since I assumed it is not displayed to
the user).
However, that is exactly what is displayed to the user! So I then called
"getToolWindow" with that ID and used "myToolWindow.setTitle" - but that
only appended the title to that ID. I don't think a tool window ID
should be a user-friendly string - it should be unique across plugins, no?
Please sign in to leave a comment.
Diplay name should be unique anyway. Otherwise the end user will get multiple
toolwindows with the same tab text.
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"