private JComponent buildMainPanel() {
		JPanel panel = new JPanel(new BorderLayout());
		panel.setBorder(BorderFactory.createEmptyBorder(5, 2, 0, 2));
		searchList = new SearchList<DockingActionIf>(model, (a, c) -> actionChosen(a)) {
			@Override
			protected BiPredicate<DockingActionIf, String> createFilter(String text) {
				return new ActionsFilter(text);
			}
		};

		searchList.setSelectionCallback(this::itemSelected);
		searchList.setInitialSelection();  // update selection after adding our listener
		searchList.setItemRenderer(new ActionRenderer());
		searchList.setDisplayNameFunction(
			(t, c) -> getActionDisplayName(t, c) + " " + getKeyBindingString(t));
		panel.add(searchList);
		return panel;
	}
Sets the {@link ActionDisplayLevel} for the dialog which determines which actions to display
@param level the action display level to use.
Ghidra/Framework/Docking/src/main/java/docking/actions/dialog/ActionChooserDialog.java