RadContainer () { // when the selected component changes, and we have focus, PropertyInspector asks us about our container and selection. // PropertyInspector's selection changed listener can be called before our own listener, so we need to update ourselves // so that we don't return stale and invalid data. checkSelectionChanged(); return mySelectedContainer; }