Add the registry listener in pdt.common with a registry hook (via extension point).