Alerts

I want to create a thread that will periodically make a check, and if need be, generate an alert. Ideally, I'd like to have my tool window tab flash or even automatically open. Can this be done in IDEA? If so, how? If not, what is the recommended way for doing this type of thing?

3 comments
Comment actions Permalink

I guess you might be able to mess around either by calling myToolWindow.getParentComponent().setBackground() or something like that. You could also change the title of the window repeatedly to simulate flashing.

0
Comment actions Permalink

I'd like to have my tool window tab flash or even
automatically open.


What about com.intellij.openapi.wm.ToolWindow.show() ?

Sascha

0
Comment actions Permalink

Try to look into sources of ProblemsView plugin (sources bundled with plugin itself). Maybe you find solution there.

Thanks!

0

Please sign in to leave a comment.