MCPcopy Create free account
hub / github.com/PCGen/pcgen / getChoiceFromList

Method getChoiceFromList

code/src/java/pcgen/core/Globals.java:836–840  ·  view source on GitHub ↗

Get a choice from a list @param title The title of the chooser dialog. @param choiceList The list of possible choices. @param selectedList The values already selected (none of which should be in the available list). @param pool The number of choices the user can make. @param pc The character the cho

(final String title, final List<T> choiceList,
		final List<T> selectedList, final int pool, final PlayerCharacter pc)

Source from the content-addressed store, hash-verified

834 * @return a choice
835 */
836 public static <T> List<T> getChoiceFromList(final String title, final List<T> choiceList,
837 final List<T> selectedList, final int pool, final PlayerCharacter pc)
838 {
839 return getChoiceFromList(title, choiceList, selectedList, pool, false, false, pc);
840 }
841
842 /**
843 * Ask the user for a choice from a list.

Callers 11

selectTempValueMethod · 0.95
selectClothesMethod · 0.95
chooseTemplateMethod · 0.95
testApplyMethod · 0.95
testApplyMethod · 0.95
testApplyMethod · 0.95
testApplyMethod · 0.95
testApplyMethod · 0.95
testApplyMethod · 0.95
testApplyMethod · 0.95
getSkillChoicesMethod · 0.95

Calls 8

setAllowsDupsMethod · 0.95
setInfoFactoryMethod · 0.95
setDefaultViewMethod · 0.95
getDelegateMethod · 0.95
getFinalSelectedMethod · 0.95
showGeneralChooserMethod · 0.65

Tested by

no test coverage detected