}
else if(p instanceof Package6EditPart) {
Package6EditPart packPart = (Package6EditPart)p;
packPart.removeEditPolicy(EditPolicyRoles.OPEN_ROLE);
policy = new OpenUMLClassDiagramJavaEditPolicy();
packPart.installEditPolicy(
EditPolicyRoles.OPEN_ROLE,
policy
);
}
else if(p instanceof PackageAsFrameEditPart) {