Runtime-detection: using new WorkbenchPreferenceDialog API

Author: rrabara