private int getBestWidth() {
				Font f = getFont();
				FontMetrics fm = getFontMetrics(f);
				int width = fm.stringWidth(" . . . ");
				return width;
			}
Sets whether this editor should consumer Enter key presses
@see DropDownSelectionTextField#setConsumeEnterKeyPress(boolean)

@param consume true to consume
Ghidra/Features/Base/src/main/java/ghidra/app/util/datatype/DataTypeSelectionEditor.java