composite = new MainPropertiesComposite(parent, SWT.None);
}
@Override
public void refresh() {
PictogramElement pe = getSelectedPictogramElement();
if (pe != null) {
final EObject be = BusinessObjectUtil.getFirstElementOfType(pe, BaseElement.class);
final BPMNShape shape = BusinessObjectUtil.getFirstElementOfType(pe, BPMNShape.class);
final BPMN2Editor diagramEditor = (BPMN2Editor) getDiagramEditor();
updateComposite(be, diagramEditor, shape);