public void setSelectedFieldFactory(FieldFactory factory) {
		if (!tabLock) {
			setSelectedIndex(indexOfTab(factory.getFieldModel().getName()));
			selectedFactory = factory;
		}
	}
Sets the current tab to the given model.
@param factory the format model to make the current tab.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/format/FieldHeader.java