}
@Override
public IReason updateNeeded(IUpdateContext context) {
IPeService peService = Graphiti.getPeService();
PictogramElement element = context.getPictogramElement();
String property = peService.getPropertyValue(element, getPropertyKey());
if(property == null) {
return Reason.createFalseReason();
}
Activity activity = (Activity) getBusinessObjectForPictogramElement(context.getPictogramElement());