PictogramElement pe = context.getPictogramElement();
Object bo = getBusinessObjectForPictogramElement(pe);
if (bo instanceof LocalVariableStatement) {
if (Utility.isPEVariable((LocalVariableStatement) bo)) {
return new DirectEditProcessingElementFeature(this);
}
} else if (Utility.isObjectLiteral(bo)) {
return new DirectEditLiteralFeature(this);
}