private void refreshComponents() {
		DataTypeComponent[] comps = viewComposite.getDefinedComponents();
		for (int i = comps.length - 1; i >= 0; i--) {
			DataTypeComponent component = comps[i];
			DataType compDt = component.getDataType();
			if (compDt instanceof DatabaseObject) {
				// NOTE: viewDTM only maps view-to-original IDs for DataTypeDB
				long myId = viewDTM.getID(compDt);
				if (viewDTM.findOriginalDataTypeFromMyID(myId) == null) {
					// Datatype not found
					clearComponent(component.getOrdinal());
				}
			}
		}

		viewDTM.refreshDBTypesFromOriginal();
	}
Adds the specified data type at the specified component index. Whether
an insert or replace occurs depends on whether the indicated index is
in a selection and whether in locked or unlocked mode.

@param index the component index of where to add the data type.
@param dt the data type to add

@return true if the component is added, false if it doesn't.
@throws UsrException if add fails
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/stackeditor/StackEditorModel.java