static class GalleryItemPainter extends ElementPainter {
@Override
- public void paintSelectionFrame(G2DParentNode elementNode, G2DParentNode selectionNode, IElement e, Color color) {
+ public void paintSelectionFrame(int selectionId, G2DParentNode elementNode, G2DParentNode selectionNode, IElement e, Color color) {
final Shape outline = ElementUtils.getElementBoundsOnDiagram(e);
Rectangle2D bounds = outline.getBounds2D();
GeometryUtils.expandRectangle(bounds, 2, 2, 2, 2);