EObject modelElement = ((View) ((EditPart) structuredSelection
.getFirstElement()).getModel()).getElement();
List editPolicies = CanonicalEditPolicy
.getRegisteredEditPolicies(modelElement);
for (Iterator it = editPolicies.iterator(); it.hasNext();) {
CanonicalEditPolicy nextEditPolicy = (CanonicalEditPolicy) it
.next();
nextEditPolicy.refresh();
}
}
}
return null;