/* Ċ Ġ* ĠCopyright Ġ 2 0 1 0 - 2 0 1 9 ĠJetBrains Ġs . r . o . Ġand ĠKotlin ĠProgramming ĠLanguage Ġcontributors . Ċ Ġ* ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe Ġlicense / LICENSE . txt Ġfile . Ċ Ġ*/ Ċ Ċ package Ġorg . jetbrains . kotlin . idea . refactor ing . member Info Ċ Ċ import Ġcom . intellij . openapi . util . N ls Contexts Ċ import Ġcom . intellij . refactor ing . ui . Abstract Member Selection Panel Ċ import Ġcom . intellij . ui . ScrollPane Factory Ċ import Ġcom . intellij . ui . Separator Factory Ċ import Ġorg . jetbrains . kotlin . psi . Kt Named Declaration Ċ import Ġjava . awt . Border Layout Ċ Ċ class ĠKotlin Member Selection Panel ( ĊĠĠĠ Ġ@ N ls Contexts . Dialog Title Ġtitle : ĠString , ĊĠĠĠ Ġmember Info : ĠList < Kotlin Member Info >, ĊĠĠĠ Ġabstract Column Header : ĠString ? Ċ ) Ġ: ĠAbstract Member Selection Panel < Kt Named Declaration , ĠKotlin Member Info >() Ġ{ ĊĠĠĠ Ġprivate Ġval Ġtable Ġ= Ġcreate Member Selection Table ( member Info , Ġabstract Column Header ) ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġlayout Ġ= ĠBorderLayout () ĊĊĠĠĠĠĠĠĠ Ġval Ġscroll Pane Ġ= ĠScroll Pane Factory . create ScrollPane ( table ) ĊĠĠĠĠĠĠĠ Ġadd ( Separator Factory . create Separator ( title , Ġtable ), ĠBorderLayout . NORTH ) ĊĠĠĠĠĠĠĠ Ġadd ( scroll Pane , ĠBorderLayout . CENTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġcreate Member Selection Table ( ĊĠĠĠĠĠĠĠ Ġmember Info : ĠList < Kotlin Member Info >, ĊĠĠĠĠĠĠĠ Ġabstract Column Header : ĠString ? ĊĠĠĠ Ġ): ĠKotlin Member Selection Table Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠKotlin Member Selection Table ( member Info , Ġnull , Ġabstract Column Header ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Table () Ġ= Ġtable Ċ }