PictogramElement pictogramElement = context.getPictogramElement();
if (pictogramElement instanceof ContainerShape) {
Object bo = getBusinessObjectForPictogramElement(pictogramElement);
if (bo instanceof LocalVariableStatement) {
if (Utility.isPEVariable((LocalVariableStatement) bo)) {
return new UpdateProcessingElementFeature(this);
}
} else if (Utility.isObjectLiteral(bo)) {
return new UpdateLiteralFeature(this);
} else if (bo instanceof eu.admire.dispel.containers.Package) {
return new UpdatePackageFeature(this);