private javax.swing.JLabel box;
private javax.swing.ButtonGroup elementGroup;
private DecoratedIcon getDecoratedIcon(Icon icon, final Transformer transformer) {
Icon decoration = ImageUtilities.image2Icon(ImageUtilities.loadImage("org/gephi/desktop/ranking/resources/chain.png", false));
return new DecoratedIcon(icon, decoration, new DecoratedIcon.DecorationController() {
@Override
public boolean isDecorated() {
return model != null && model.isAutoTransformer(transformer);
}