|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
package com.fr.design.mainframe.theme; |
|
|
|
|
|
|
|
|
|
import com.fr.base.theme.FineColorFlushUtils; |
|
|
|
|
import com.fr.base.theme.FineColorManager; |
|
|
|
|
import com.fr.base.theme.TemplateTheme; |
|
|
|
|
import com.fr.base.theme.TemplateThemeConfig; |
|
|
|
|
import com.fr.base.theme.settings.ThemeThumbnail; |
|
|
|
|
import com.fr.base.theme.settings.ThemedCellStyleList; |
|
|
|
|
import com.fr.base.theme.settings.ThemedChartStyle; |
|
|
|
|
import com.fr.base.theme.settings.ThemedColorScheme; |
|
|
|
|
import com.fr.design.designer.IntervalConstants; |
|
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
@ -31,9 +31,6 @@ import com.fr.general.Inter;
|
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
import com.fr.transaction.CallBackAdaptor; |
|
|
|
|
import com.fr.transaction.Configurations; |
|
|
|
|
import com.fr.transaction.WorkerFacade; |
|
|
|
|
|
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
|
import javax.swing.JComponent; |
|
|
|
|
import javax.swing.JDialog; |
|
|
|
@ -317,12 +314,14 @@ public abstract class TemplateThemeProfilePane<T extends TemplateTheme> extends
|
|
|
|
|
FineColorManager.FineColorReplaceByColorScheme replaceByColorScheme = new FineColorManager.FineColorReplaceByColorScheme(colors); |
|
|
|
|
T theme = updateBean(); |
|
|
|
|
|
|
|
|
|
FineColorFlushUtils.replaceCacheObject(theme, replaceByColorScheme); |
|
|
|
|
FineColorManager.traverse(theme, replaceByColorScheme); |
|
|
|
|
populateBean4CustomEditors(theme); |
|
|
|
|
//图表渐变色
|
|
|
|
|
chartStyleSettingPane.populateGradientBar(colors); |
|
|
|
|
|
|
|
|
|
themePreviewPane.refresh(theme); |
|
|
|
|
this.repaint(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void populateBean(T theme) { |
|
|
|
|