public abstract class SimpleChooseByNameModel extends java.lang.Object implements ChooseByNameModel
Modifier | Constructor and Description |
---|---|
protected |
SimpleChooseByNameModel(Project project,
java.lang.String prompt,
java.lang.String helpId) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCheckBoxName()
return null to hide checkbox panel
|
java.lang.Object [] |
getElementsByName(java.lang.String name,
boolean checkBoxState,
java.lang.String pattern) |
protected abstract java.lang.Object[] |
getElementsByName(java.lang.String name,
java.lang.String pattern) |
java.lang.String |
getFullName(java.lang.Object element) |
java.lang.String |
getHelpId() |
abstract java.lang.String[] |
getNames() |
java.lang.String [] |
getNames(boolean checkBoxState)
Returns the list of names to show in the chooser.
|
java.lang.String |
getNotFoundMessage() |
java.lang.String |
getNotInMessage() |
Project |
getProject() |
java.lang.String |
getPromptText() |
java.lang.String [] |
getSeparators() |
boolean |
loadInitialCheckBoxState() |
void |
saveInitialCheckBoxState(boolean state) |
boolean |
useMiddleMatching() |
boolean |
willOpenEditor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCheckBoxMnemonic, getElementName, getListCellRenderer
protected SimpleChooseByNameModel(Project project, java.lang.String prompt, java.lang.String helpId)
public abstract java.lang.String[] getNames()
protected abstract java.lang.Object[] getElementsByName(java.lang.String name, java.lang.String pattern)
public Project getProject()
public java.lang.String getPromptText()
getPromptText
in interface ChooseByNameModel
public java.lang.String getNotInMessage()
getNotInMessage
in interface ChooseByNameModel
public java.lang.String getNotFoundMessage()
getNotFoundMessage
in interface ChooseByNameModel
public java.lang.String getCheckBoxName()
ChooseByNameModel
getCheckBoxName
in interface ChooseByNameModel
public boolean loadInitialCheckBoxState()
loadInitialCheckBoxState
in interface ChooseByNameModel
public void saveInitialCheckBoxState(boolean state)
saveInitialCheckBoxState
in interface ChooseByNameModel
public java.lang.String [] getNames(boolean checkBoxState)
ChooseByNameModel
getNames
in interface ChooseByNameModel
checkBoxState
- the current state of the chooser checkbox (for example, [x] Include non-project classes for Ctrl-N)public java.lang.Object [] getElementsByName(java.lang.String name, boolean checkBoxState, java.lang.String pattern)
getElementsByName
in interface ChooseByNameModel
public java.lang.String [] getSeparators()
getSeparators
in interface ChooseByNameModel
public java.lang.String getFullName(java.lang.Object element)
getFullName
in interface ChooseByNameModel
public java.lang.String getHelpId()
getHelpId
in interface ChooseByNameModel
public boolean willOpenEditor()
willOpenEditor
in interface ChooseByNameModel
public boolean useMiddleMatching()
useMiddleMatching
in interface ChooseByNameModel