for (FeatureContainer container : containers) {
if (id!=null && !(container instanceof CustomTaskFeatureContainer))
continue;
Object o = container.getApplyObject(context);
if (o != null && container.canApplyTo(o)) {
ILayoutFeature feature = container.getLayoutFeature(this);
if (feature == null) {
break;
}
return feature;
}