|
|
@ -54,6 +54,7 @@ import com.fr.design.menu.NameSeparator; |
|
|
|
import com.fr.design.menu.ShortCut; |
|
|
|
import com.fr.design.menu.ShortCut; |
|
|
|
import com.fr.design.preview.PagePreview; |
|
|
|
import com.fr.design.preview.PagePreview; |
|
|
|
import com.fr.design.ui.util.UIUtil; |
|
|
|
import com.fr.design.ui.util.UIUtil; |
|
|
|
|
|
|
|
import com.fr.design.utils.DesignUtils; |
|
|
|
import com.fr.design.worker.save.CallbackSaveWorker; |
|
|
|
import com.fr.design.worker.save.CallbackSaveWorker; |
|
|
|
import com.fr.design.worker.save.EmptyCallBackSaveWorker; |
|
|
|
import com.fr.design.worker.save.EmptyCallBackSaveWorker; |
|
|
|
import com.fr.design.write.submit.DBManipulationInWidgetEventPane; |
|
|
|
import com.fr.design.write.submit.DBManipulationInWidgetEventPane; |
|
|
@ -1145,7 +1146,7 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>> |
|
|
|
public boolean isOldDesigner() { |
|
|
|
public boolean isOldDesigner() { |
|
|
|
String xmlDesignerVersion = getTarget().getXMLDesignerVersion(); |
|
|
|
String xmlDesignerVersion = getTarget().getXMLDesignerVersion(); |
|
|
|
if (isHigherThanCurrent(xmlDesignerVersion)) { |
|
|
|
if (isHigherThanCurrent(xmlDesignerVersion)) { |
|
|
|
String infor = com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Template_Version_Not_Match", StringUtils.parseVersion(xmlDesignerVersion)); |
|
|
|
String infor = com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Template_Version_Not_Match", DesignUtils.parseVersion(xmlDesignerVersion)); |
|
|
|
String moreInfo = com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Server_Version_Tip_More_Info"); |
|
|
|
String moreInfo = com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Server_Version_Tip_More_Info"); |
|
|
|
new InformationWarnPane(infor, moreInfo, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tool_Tips")).show(); |
|
|
|
new InformationWarnPane(infor, moreInfo, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tool_Tips")).show(); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|