|
|
|
@ -31,6 +31,7 @@ import com.fr.form.ui.Widget;
|
|
|
|
|
import com.fr.form.ui.WidgetInfoConfig; |
|
|
|
|
import com.fr.general.Background; |
|
|
|
|
|
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
import com.fr.report.web.button.Email; |
|
|
|
|
import com.fr.report.web.button.Export; |
|
|
|
|
import com.fr.report.web.button.write.AppendColumnRow; |
|
|
|
@ -224,7 +225,11 @@ public class EditToolBar extends BasicPane {
|
|
|
|
|
String iconname = ((Button) widget).getIconName(); |
|
|
|
|
if (StringUtils.isNotBlank(iconname)) { |
|
|
|
|
Image iimage = WidgetInfoConfig.getInstance().getIconManager().getIconImage(iconname); |
|
|
|
|
if (iimage != null) { |
|
|
|
|
toolBarButton.setIcon(new ImageIcon(iimage)); |
|
|
|
|
} else { |
|
|
|
|
FineLoggerFactory.getLogger().warn(iconname + " can not find in finedb!"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|