private Component getLongEditorComponent(Option option) {
		final SaveState state = option.getState();
		long defaultValue = (long) option.getValue();
		long value =
			state != null ? state.getLong(option.getName(), defaultValue) : defaultValue;
		option.setValue(value);
		IntegerTextField field = new IntegerTextField();
		field.setValue(value);
		field.addChangeListener(e -> {
			option.setValue(field.getLongValue());
			if (state != null) {
				state.putLong(option.getName(), field.getLongValue());
			}
		});
		return field.getComponent();
	}
Get the editor component for the specified option.
@param option option to be edited
@return option editor or null if prerequisite state not available to support
editor (e.g., Address or AddressSpace editor when {@link AddressFactoryService} 
is not available).
Ghidra/Features/Base/src/main/java/ghidra/app/util/OptionsEditorPanel.java