private boolean nameMatchesSearch(String searchText, int row, String value) {

		if (value.contains(searchText)) {
			return true;
		}

		// see if the default name is a match
		DataTypeComponent dtc = model.getComponent(row);
		if (dtc != null) {
			// this allows this to match a search even though it is not seen in the UI
			String defaultName = dtc.getDefaultFieldName().toLowerCase();
			return defaultName.contains(searchText);
		}

		return false;
	}
CompositeEditorModelListener method called to handle lock/unlock or
structure modification state change.
This could also get called by a structure load or unload.

@param type the type of state change: COMPOSITE_MODIFIED, COMPOSITE_UNMODIFIED,
COMPOSITE_LOADED, NO_COMPOSITE_LOADED.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompositeEditorPanel.java