public TrayCategoryEntryFigure(IFigure labelPositionReference, TrayCategoryEntryEditPart part) {
super();
this.labelPositionReference = labelPositionReference;
this.part = part;
setLayoutManager(new EntryLayout());
setBorder(new MarginBorder(BORDER) {
public void paint(IFigure figure, Graphics graphics, Insets in) {
Rectangle rect = figure.getBounds().getCopy();
Color color = CommonUIPlugin.getDefault().getColorRegistry().get(IDetailsColors.COLOR_LIGHT_BACKGROUND);
graphics.setForegroundColor(color);
graphics.drawLine(rect.x, rect.y + rect.height - 1, rect.x + rect.width, rect.y + rect.height - 1);