View childView = (View) child.getModel();
switch (eu.admire.visual.pmml.treemodel._40.diagram.part.PMMLVisualIDRegistry
.getVisualID(childView)) {
case eu.admire.visual.pmml.treemodel._40.diagram.edit.parts.SimplePredicateTypeEditPart.VISUAL_ID:
case eu.admire.visual.pmml.treemodel._40.diagram.edit.parts.CompoundPredicateTypeEditPart.VISUAL_ID:
return new BorderItemSelectionEditPolicy();
}
EditPolicy result = child
.getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE);
if (result == null) {
result = new NonResizableEditPolicy();