@Override
	public void validateComponentName(int rowIndex, String name) throws UsrException {
		if (nameExistsElsewhere(name, rowIndex)) {
			throw new InvalidNameException("Name \"" + name + "\" already exists.");
		}
	}
Cause the component at the specified index to consume undefined bytes
that follow it.
Note: this method adjusts the selection.

@param rowIndex the row index
@return the number of Undefined bytes consumed.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompEditorModel.java