}
protected EditPolicy createChildEditPolicy(EditPart child) {
if (child instanceof LEDEditPart
|| child instanceof OutputEditPart) {
ResizableEditPolicy policy = new LogicResizableEditPolicy();
policy.setResizeDirections(0);
return policy;
} else if (child instanceof LogicLabelEditPart) {
ResizableEditPolicy policy = new LogicResizableEditPolicy();
policy.setResizeDirections(PositionConstants.EAST | PositionConstants.WEST);
return policy;
}
return new LogicResizableEditPolicy();
}