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