|
|
@ -5,6 +5,7 @@ import com.fr.design.dialog.link.MessageWithLink; |
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.gui.itextarea.UITextArea; |
|
|
|
import com.fr.design.gui.itextarea.UITextArea; |
|
|
|
|
|
|
|
import com.fr.design.i18n.DesignSizeI18nManager; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
@ -62,7 +63,7 @@ public class SyncFailedPluginsDialog extends JDialog { |
|
|
|
JPanel messagePane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
JPanel messagePane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
MessageWithLink messageWithLink = new MessageWithLink(Toolkit.i18nText("Fine-Design_Basic_Sync_Plugin_Fail_Suggestion"),Toolkit.i18nText("Fine-Design_Basic_Sync_Deal_Immediately"), |
|
|
|
MessageWithLink messageWithLink = new MessageWithLink(Toolkit.i18nText("Fine-Design_Basic_Sync_Plugin_Fail_Suggestion"),Toolkit.i18nText("Fine-Design_Basic_Sync_Deal_Immediately"), |
|
|
|
CloudCenter.getInstance().acquireUrlByKind("help.installplugins", "https://help.fanruan.com/finereport/doc-view-2198.html")); |
|
|
|
CloudCenter.getInstance().acquireUrlByKind("help.installplugins", "https://help.fanruan.com/finereport/doc-view-2198.html")); |
|
|
|
messageWithLink.setPreferredSize(new Dimension(316, 20)); |
|
|
|
messageWithLink.setPreferredSize(DesignSizeI18nManager.getInstance().i18nDimension("com.fr.env.SyncFailedPluginsDialog.messageWithLink")); |
|
|
|
|
|
|
|
|
|
|
|
messagePane.add(messageWithLink); |
|
|
|
messagePane.add(messageWithLink); |
|
|
|
messagePane.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 0)); |
|
|
|
messagePane.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 0)); |
|
|
|