Open a Popup Window
How can I create and open a window like the attached one?
Attachment(s):
Bildschirmfoto vom 2014-10-19 14:53:54.png
Please sign in to leave a comment.
How can I create and open a window like the attached one?
Please sign in to leave a comment.
The code for showing this particular popup is here: https://github.com/JetBrains/intellij-community/blob/master/platform/lang-impl/src/com/intellij/ide/bookmarks/actions/BookmarksAction.java
You can choose the parts you need, depending on how much like the attached one you want your window to be.
Also this document may be useful: http://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+Popups
Are the highlighted lines thoose where the popup is created https://github.com/JetBrains/intellij-community/blob/master/platform/lang-impl/src/com/intellij/ide/bookmarks/actions/BookmarksAction.java#L81-L92?
Sorry for my newbe questions.
Yes
Also just curious, can we create a toast window on the top right corner like that of intellij update reminder?
Quick rule of thumb: if you see any UI element in IntelliJ Communty Edition, you can find the code that implements it and use the same approach in your plugin.
More specifically: http://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+Notifications