Registering ToolWindows via plugin.xml?

Hi,

Now that I use PersistentStateComponent and the ServiceManager in my new not yet released plugin, there isn't much left for my ProjectComponent to do. It only registers a ToolWindow when a project is opened and deregisters it again when the project is closed. That's really a boring work to do. Couldn't we have some mechanism to do it in the plugin.xml. There's really nothing special in it aside from the ID of the window and the icon.

Cheers,
Robert

1 comment

Hello Robert,

Now that I use PersistentStateComponent and the ServiceManager in my
new not yet released plugin, there isn't much left for my
ProjectComponent to do. It only registers a ToolWindow when a project
is opened and deregisters it again when the project is closed. That's
really a boring work to do. Couldn't we have some mechanism to do it
in the plugin.xml. There's really nothing special in it aside from the
ID of the window and the icon.


We plan to provide an extension point for registering toolwindows a bit later
in Selena.

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


0

Please sign in to leave a comment.