if (iconRoles != null) {
GUIUtilities.addIcons(this, iconRoles);
} else {
// Standard toolbar icons are 25x25 pixels.
NodeRenderer renderer = _relationController.getNodeRenderer();
Figure figure = renderer.render(null);
FigureIcon icon = new FigureIcon(figure, 25, 25, 1, true);
putValue(diva.gui.GUIUtilities.LARGE_ICON, icon);
}
putValue("tooltip", "Control-click to create a new relation");