@Override
public ICustomFeature getDoubleClickFeature(IDoubleClickContext context) {
ICustomFeature customFeature =
new DoubleClickFeature(getFeatureProvider());
// canExecute() tests especially if the context contains a EClass
if (customFeature.canExecute(context)) {
return customFeature;
}
return super.getDoubleClickFeature(context);