@Override
	public boolean isDeleteAllowed() {
		return (getNumSelectedComponentRows() != 0);
	}
Returns whether or not delete of the component at the selected index is allowed
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/UnionEditorModel.java