@Override
	protected String changePressed() {
		ElementListSelectionDialog dialog =
			new ElementListSelectionDialog(getShell(), new LabelProvider());
		dialog.setTitle("CDT project selection");
		dialog.setMessage("Select an open CDT project:");
		dialog.setElements(CdtUtils.getCDTProjects().stream().map(p -> p.getName()).toArray());
		dialog.open();
		Object[] result = dialog.getResult();
		if (result != null && result.length > 0 && result[0] instanceof String) {
			return (String) result[0];
		}
		return null;
	}
Creates a new CDT project field editor.

@param name the name of the preference this field editor works on
@param labelText the label text of the field editor
@param parent the parent of the field editor's control
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidrasymbollookup/preferences/CdtProjectFieldEditor.java