send event on selection
Experiment definition: Added check so methods that dont exist are not
called. This will hopefully fix a performance issue when switching
between editors.
Merge remote-tracking branch 'origin/1.2'