void () { if (mySelected) return; mySelected = true; ServiceViewItem item = myRef.get(); if (item != null) { ServiceViewDescriptor descriptor = item.getViewDescriptor(); onViewSelected(descriptor); myUi.setDetailsComponent(descriptor.getContentComponent()); } }