|
|
@ -44,7 +44,7 @@ public class SyncFailedPluginsDialog extends JDialog { |
|
|
|
private JFrame frame = DesignerContext.getDesignerFrame(); |
|
|
|
private JFrame frame = DesignerContext.getDesignerFrame(); |
|
|
|
private RestartHelper restartHelper = new RestartHelper(); |
|
|
|
private RestartHelper restartHelper = new RestartHelper(); |
|
|
|
private UIButton restartButton; |
|
|
|
private UIButton restartButton; |
|
|
|
private boolean show; |
|
|
|
private boolean show = false; |
|
|
|
public SyncFailedPluginsDialog(JFrame parent, JSONArray syncFailedPlugins) { |
|
|
|
public SyncFailedPluginsDialog(JFrame parent, JSONArray syncFailedPlugins) { |
|
|
|
super(parent, true); |
|
|
|
super(parent, true); |
|
|
|
JPanel body = FRGUIPaneFactory.createBorderLayout_L_Pane(); |
|
|
|
JPanel body = FRGUIPaneFactory.createBorderLayout_L_Pane(); |
|
|
@ -110,7 +110,7 @@ public class SyncFailedPluginsDialog extends JDialog { |
|
|
|
detailsText.append(plugin.getString("name")).append(",").append(Toolkit.i18nText("Fine-Design_Basic_Sync_Server_Version")).append(plugin.getString("version")).append("\n"); |
|
|
|
detailsText.append(plugin.getString("name")).append(",").append(Toolkit.i18nText("Fine-Design_Basic_Sync_Server_Version")).append(plugin.getString("version")).append("\n"); |
|
|
|
} |
|
|
|
} |
|
|
|
detailsTextArea.setText(detailsText.toString()); |
|
|
|
detailsTextArea.setText(detailsText.toString()); |
|
|
|
if(!ComparatorUtils.equals(detailsLabel.getText(),StringUtils.EMPTY)){ |
|
|
|
if(!ComparatorUtils.equals(detailsTextArea.getText(),StringUtils.EMPTY)){ |
|
|
|
show = true; |
|
|
|
show = true; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|