Browse Source
Merge in DESIGN/design from ~HADES/design:bugfix/10.0 to bugfix/10.0 * commit '9cbe4baef8a20b47b5d3fc4c9422a856f18cc4f9': REPORT-49014 update 修改下国际化key REPORT-49014 连接同一个远程环境,同时双击打开同一个模板 一人正常打开 一人打开空白bugfix/10.0
Hades
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