public int getCurrentSideOfParent() {
   IBorderItemLocator locator = this.getBorderItemLocator();
   if (locator != null) {
     return locator.getCurrentSideOfParent();
   }
   return PositionConstants.EAST;
 }
 private void relocateLabelEditPart() {
   List list = this.getChildren();
   for (Object o : list) {
     if (o instanceof DurationConstraintLabelEditPart) {
       DurationConstraintLabelEditPart label = (DurationConstraintLabelEditPart) o;
       if (label.getBorderItemLocator() != null) {
         IBorderItemLocator loc = label.getBorderItemLocator();
         loc.relocate(label.getFigure());
       }
     }
   }
 }