public class ChooseByNamePanel extends ChooseByNameBase implements Disposable
ChooseByNameBase.JPanelProvider, ChooseByNameBase.MyTextField
Disposable.Parent
EXTRA_ELEM, myActionListener, myAlarm, myCheckBox, myDropdownPopup, myList, myModel, myProject, myProvider, myTextField, TEMPORARILY_FOCUSABLE_COMPONENT_KEY
Constructor and Description |
---|
ChooseByNamePanel(Project project,
ChooseByNameModel model,
java.lang.String initialText,
boolean isCheckboxVisible,
PsiElement context) |
Modifier and Type | Method and Description |
---|---|
protected void |
close(boolean isOk) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
javax.swing.JPanel |
getPanel() |
javax.swing.JComponent |
getPreferredFocusedComponent() |
protected void |
hideList() |
protected void |
initUI(ChooseByNamePopupComponent.Callback callback,
ModalityState modalityState,
boolean allowMultipleSelection) |
protected boolean |
isCheckboxVisible() |
protected boolean |
isCloseByFocusLost() |
protected boolean |
isShowListForEmptyPattern() |
protected void |
showList() |
calcSelectedIndex, canShowListForEmptyPattern, checkDisposed, chosenElementMightChange, closeForbidden, doClose, filter, getChosenElement, getChosenElements, getMaximumListSizeLimit, getModel, getNames, getProject, getProvider, getTextField, getTrimmedText, hasPostponedAction, invoke, isClosedByShiftEnter, isOpenInCurrentWindowRequested, isSearchInAnyPlace, rebuildList, scheduleCalcElements, setAlwaysHasMore, setCheckBoxShortcut, setDisposed, setFindUsagesTitle, setListSizeIncreasing, setMaximumListSizeLimit, setSearchInAnyPlace, setToolArea, showTextFieldPanel, transformPattern
public ChooseByNamePanel(Project project, ChooseByNameModel model, java.lang.String initialText, boolean isCheckboxVisible, PsiElement context)
protected void initUI(ChooseByNamePopupComponent.Callback callback, ModalityState modalityState, boolean allowMultipleSelection)
initUI
in class ChooseByNameBase
modalityState
- - if not null rebuilds list in given ModalityState
public javax.swing.JPanel getPanel()
public javax.swing.JComponent getPreferredFocusedComponent()
protected void showList()
showList
in class ChooseByNameBase
protected void hideList()
hideList
in class ChooseByNameBase
protected void close(boolean isOk)
close
in class ChooseByNameBase
protected boolean isShowListForEmptyPattern()
isShowListForEmptyPattern
in class ChooseByNameBase
protected boolean isCloseByFocusLost()
isCloseByFocusLost
in class ChooseByNameBase
protected boolean isCheckboxVisible()
isCheckboxVisible
in class ChooseByNameBase
public void dispose()
Disposable
dispose
in interface Disposable