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?

0
3 comments
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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


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

Sascha

0
Avatar
Permanently deleted user

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.