private ComboBoxModel<AddressSpace> createAddressSpaceModel(AddressFactory factory) {
			AddressSpace[] spaces = factory.getAddressSpaces();

			Arrays.sort(spaces, ADDRESS_SPACE_SORT_COMPARATOR);
			DefaultComboBoxModel<AddressSpace> model = new DefaultComboBoxModel<>();

			for (AddressSpace space : spaces) {
				if (!addressSpaceFilter.test(space)) {
					continue;
				}
				model.addElement(space);
			}
			return model;
		}
Returns true if the address input field is editable.
@return true if the address input field is editable.
Ghidra/Features/Base/src/main/java/ghidra/app/util/AddressInput.java