|
|
@ -224,9 +224,9 @@ public class EditToolBar extends BasicPane { |
|
|
|
if (widget instanceof Button) { |
|
|
|
if (widget instanceof Button) { |
|
|
|
String iconname = ((Button) widget).getIconName(); |
|
|
|
String iconname = ((Button) widget).getIconName(); |
|
|
|
if (StringUtils.isNotBlank(iconname)) { |
|
|
|
if (StringUtils.isNotBlank(iconname)) { |
|
|
|
Image iimage = WidgetInfoConfig.getInstance().getIconManager().getIconImage(iconname); |
|
|
|
Image iconImage = WidgetInfoConfig.getInstance().getIconManager().getIconImage(iconname); |
|
|
|
if (iimage != null) { |
|
|
|
if (iconImage != null) { |
|
|
|
toolBarButton.setIcon(new ImageIcon(iimage)); |
|
|
|
toolBarButton.setIcon(new ImageIcon(iconImage)); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
FineLoggerFactory.getLogger().warn(iconname + " can not find in finedb!"); |
|
|
|
FineLoggerFactory.getLogger().warn(iconname + " can not find in finedb!"); |
|
|
|
} |
|
|
|
} |
|
|
|