|
|
@ -200,7 +200,7 @@ public class EditToolBar extends BasicPane { |
|
|
|
toolBarButton.setWidget(widget); |
|
|
|
toolBarButton.setWidget(widget); |
|
|
|
if (widget instanceof Button) { |
|
|
|
if (widget instanceof Button) { |
|
|
|
String iconname = ((Button) widget).getIconName(); |
|
|
|
String iconname = ((Button) widget).getIconName(); |
|
|
|
if (!StringUtils.isBlank(iconname)) { |
|
|
|
if (StringUtils.isNotBlank(iconname)) { |
|
|
|
Image iimage = WidgetManager.getProviderInstance().getIconManager().getIconImage(iconname); |
|
|
|
Image iimage = WidgetManager.getProviderInstance().getIconManager().getIconImage(iconname); |
|
|
|
toolBarButton.setIcon(new ImageIcon(iimage)); |
|
|
|
toolBarButton.setIcon(new ImageIcon(iimage)); |
|
|
|
} |
|
|
|
} |
|
|
|