How do you create a ToolWindow at the application level?

I want to create a ToolWindow that is at the application level (i.e., it shows up when you start IDEA and doesn't require a project to be open), but the ToolWindowManager appears to only allow you to get a ToolWindowManager instance for a project. Is there a special project reference or something I need to pass to get a global ToolWindow?

3 comments

Hello Marc,

MS> I want to create a ToolWindow that is at the application level
MS> (i.e., it shows up when you start IDEA and doesn't require a project
MS> to be open), but the ToolWindowManager appears to only allow you to
MS> get a ToolWindowManager instance for a project. Is there a special
MS> project reference or something I need to pass to get a global
MS> ToolWindow?

There is no such thing as a global toolwindow. When no project is open, only
the Welcome screen is shown.

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


0

Dmitry Jemerov wrote:

Hello Marc,

MS> I want to create a ToolWindow that is at the application level
MS> (i.e., it shows up when you start IDEA and doesn't require a project
MS> to be open), but the ToolWindowManager appears to only allow you to
MS> get a ToolWindowManager instance for a project. Is there a special
MS> project reference or something I need to pass to get a global
MS> ToolWindow?

There is no such thing as a global toolwindow. When no project is open,
only the Welcome screen is shown.


Not on my Idea... Got all kinds of tools, mostly disbaled, but some are not,
such as SaveAll, Sync, Undo, Settings, HelpTopics, CaptureMemorySnapshot,
CaptureCpuUsage.


Cheers
Niclas

0

Hello Niclas,

>> There is no such thing as a global toolwindow. When no project is
>> open, only the Welcome screen is shown.
>>
NH> Not on my Idea... Got all kinds of tools, mostly disbaled, but some
NH> are not, such as SaveAll, Sync, Undo, Settings, HelpTopics,
NH> CaptureMemorySnapshot, CaptureCpuUsage.

These are Actions, not ToolWindows. Actions can exist without a Project.

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


0

Please sign in to leave a comment.