Optimization: don't bother generating StrategoTermSelections in case properties view is not open or no properties view is defined by the user.