Pls suggest good UI guide

Hi. My main problem in plugin development is UI - I'm not familiar with Swing and etc. My task is really simple - popup with input field and suggestions based on data in input field. I checked IDEA sources (GoTo action) and found it really, really hard to understand.

Could you suggest me good guide about plugin's UI?

5 comments
Comment actions Permalink
What do you mean by those suggestions? Should the field have dropdown choice with preconfigured values?
0
Comment actions Permalink

I need to implement something similar to ctrl-shift-n dialog (com.intellij.ide.util.gotoByName.ChooseByNamePopup). I wanna implement it by myself (without extending com.intellij.ide.util.gotoByName.* classes)

0
Comment actions Permalink

There's no step-by-step guide for IntelliJ Platform UI components, but a list with a high-level description http://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+User+Interface+Components

Maybe this helps?

0
Comment actions Permalink

Thanks!

May be someone know any "good implemented" UI example to get better idea how it should work? I tried to understand ChooseByNameBase class and found it totally unreadable

0
Comment actions Permalink

I think without understanding Swing you're going to have a harder  time than you would otherwise. Community uses Swing everywhere along with their own UI widgets descendend in some cases from Swing.  The Swing tutorial at Oracle is pretty good and will at least let you recognize when Community code is doing something because of Swing , enabling you to say "oh this part is Swing code, it' s initiing the UI in the usual way" and things like that.

0

Please sign in to leave a comment.