use of org.eclipse.gef.editpolicies.ResizableEditPolicy in project Palladio-Editors-Sirius by PalladioSimulator.
the class AbstractRotatableImageEditPart method getPrimaryDragEditPolicy.
/**
* @generated
*/
public EditPolicy getPrimaryDragEditPolicy() {
EditPolicy result = super.getPrimaryDragEditPolicy();
if (result instanceof ResizableEditPolicy) {
ResizableEditPolicy ep = (ResizableEditPolicy) result;
ep.setResizeDirections(PositionConstants.NONE);
}
return result;
}
Aggregations