@Override
	public boolean applyTo(Program program) {

		PropertyMapManager propMgr = program.getUsrPropertyManager();

		if (restrictedView != null && !restrictedView.isEmpty()) {
			PropertyMap<?> map = propMgr.getPropertyMap(propName);
			AddressRangeIterator ranges = restrictedView.getAddressRanges();
			while (ranges.hasNext()) {
				AddressRange range = ranges.next();
				map.removeRange(range.getMinAddress(), range.getMaxAddress());
			}
		}
		else {
			propMgr.removePropertyMap(propName);
		}
		return true;
	}
Construct command for deleting program properties
@param propName property name
@param restrictedView set of address over which properties will be removed.
If this is null or empty, all occurances of the property will be removed.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/debug/propertymanager/PropertyDeleteCmd.java