public class ActivitiPropertyFilter extends AbstractPropertySectionFilter {
protected Object getBusinessObject(PictogramElement element) {
if (element == null) return null;
Diagram diagram = getContainer(element);
Bpmn2MemoryModel model = (ModelHandler.getModel(EcoreUtil.getURI(diagram)));
if(model != null) {
return model.getFeatureProvider().getBusinessObjectForPictogramElement(element);
}
return null;