public ResizeHandle(GraphicalEditPart owner,
int direction,
boolean isResizable)
{
setOwner(owner);
setLocator(new RelativeHandleLocator(owner.getFigure(), direction));
setCursor(Cursors.getDirectionalCursor(direction,
owner.getFigure().isMirrored()));
cursorDirection = direction;
this.isResizable = isResizable;
}