|
|
|
@ -7,6 +7,7 @@ import com.fr.design.constants.UIConstants;
|
|
|
|
|
import com.fr.design.designer.beans.events.DesignerEditListener; |
|
|
|
|
import com.fr.design.designer.beans.events.DesignerEvent; |
|
|
|
|
import com.fr.design.designer.creator.XCreatorUtils; |
|
|
|
|
import com.fr.design.file.HistoryTemplateListCache; |
|
|
|
|
import com.fr.design.fun.FormWidgetOptionProvider; |
|
|
|
|
import com.fr.design.gui.chart.ChartXMLTag; |
|
|
|
|
import com.fr.design.gui.core.FormWidgetOption; |
|
|
|
@ -19,6 +20,7 @@ import com.fr.design.gui.imenu.UIPopupMenu;
|
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.mainframe.share.collect.ComponentCollector; |
|
|
|
|
import com.fr.design.module.DesignModuleFactory; |
|
|
|
|
import com.fr.design.ui.util.UIUtil; |
|
|
|
|
import com.fr.design.utils.gui.LayoutUtils; |
|
|
|
|
import com.fr.form.ui.UserDefinedWidgetConfig; |
|
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
@ -99,6 +101,15 @@ public class FormParaWidgetPane extends JPanel {
|
|
|
|
|
synchronized (FormParaWidgetPane.class) { |
|
|
|
|
THIS = null; |
|
|
|
|
} |
|
|
|
|
UIUtil.invokeLaterIfNeeded(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
JTemplate<?, ?> template = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
|
if (template != null && !template.isJWorkBook()) { |
|
|
|
|
DesignerContext.getDesignerFrame().resetToolkitByPlus(template); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}, new PluginFilter() { |
|
|
|
|
|
|
|
|
|