Browse Source
* commit '0cfc4ee5a6b92320582d2143fd68cdb092603349': REPORT-49014 update 修改下国际化key REPORT-49014 连接同一个远程环境,同时双击打开同一个模板 一人正常打开 一人打开空白feature/10.0
superman
4 years ago
5 changed files with 35 additions and 0 deletions
@ -0,0 +1,27 @@ |
|||||||
|
package com.fr.design.mainframe; |
||||||
|
|
||||||
|
import com.fr.design.dialog.FineJOptionPane; |
||||||
|
import com.fr.design.i18n.Toolkit; |
||||||
|
import com.fr.design.ui.util.UIUtil; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author hades |
||||||
|
* @version 10.0 |
||||||
|
* Created by hades on 2021/5/14 |
||||||
|
*/ |
||||||
|
public class TemplateLockedHandler { |
||||||
|
|
||||||
|
public static void generateTipAndRefresh() { |
||||||
|
UIUtil.invokeLaterIfNeeded(new Runnable() { |
||||||
|
@Override |
||||||
|
public void run() { |
||||||
|
FineJOptionPane.showMessageDialog(DesignerContext.getDesignerFrame(), |
||||||
|
Toolkit.i18nText("Fine_Designer_Remote_Design_Locked_Message"), |
||||||
|
Toolkit.i18nText("Fine-Design_Basic_Tool_Tips"), |
||||||
|
FineJOptionPane.WARNING_MESSAGE); |
||||||
|
DesignerFrameFileDealerPane.getInstance().refresh(); |
||||||
|
} |
||||||
|
}); |
||||||
|
} |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue