void (ServiceEvent e) { ServiceViewItem service = myServiceRef.get(); if (service == null || !e.contributorClass.isInstance(service.getRootContributor())) return; myServiceRef.set(findItemSafe(service)); notifyListeners(e); }