|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.fr.design.plugin.remind; |
|
|
|
package com.fr.design.plugin.remind; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fr.common.util.Collections; |
|
|
|
import com.fr.design.actions.UpdateAction; |
|
|
|
import com.fr.design.actions.UpdateAction; |
|
|
|
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; |
|
|
@ -12,7 +13,6 @@ import com.fr.general.FRFont; |
|
|
|
import com.fr.general.IOUtils; |
|
|
|
import com.fr.general.IOUtils; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.plugin.context.PluginMarker; |
|
|
|
import com.fr.plugin.context.PluginMarker; |
|
|
|
import com.fr.plugin.injectable.PluginModule; |
|
|
|
|
|
|
|
import com.fr.plugin.manage.PluginManager; |
|
|
|
import com.fr.plugin.manage.PluginManager; |
|
|
|
import com.fr.plugin.manage.control.PluginTaskCallback; |
|
|
|
import com.fr.plugin.manage.control.PluginTaskCallback; |
|
|
|
import com.fr.plugin.manage.control.PluginTaskResult; |
|
|
|
import com.fr.plugin.manage.control.PluginTaskResult; |
|
|
@ -98,7 +98,6 @@ public class PluginInvalidateRemindDialog extends JDialog implements ActionListe |
|
|
|
|
|
|
|
|
|
|
|
topPane.add(imagePanel, BorderLayout.WEST); |
|
|
|
topPane.add(imagePanel, BorderLayout.WEST); |
|
|
|
topPane.add(verticalPanel, BorderLayout.CENTER); |
|
|
|
topPane.add(verticalPanel, BorderLayout.CENTER); |
|
|
|
// topPane.setPreferredSize(DesignSizeI18nManager.getInstance().i18nDimension("com.fr.design.plugin.remind.PluginInvalidateRemindDialog.topPane"));
|
|
|
|
|
|
|
|
topPane.setBorder(BorderFactory.createEmptyBorder(10, 0, 0, 20)); |
|
|
|
topPane.setBorder(BorderFactory.createEmptyBorder(10, 0, 0, 20)); |
|
|
|
return topPane; |
|
|
|
return topPane; |
|
|
|
} |
|
|
|
} |
|
|
@ -191,7 +190,7 @@ public class PluginInvalidateRemindDialog extends JDialog implements ActionListe |
|
|
|
* @param toDelete |
|
|
|
* @param toDelete |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private void deleteEmbedPlugins(List<PluginMarker> toDelete) { |
|
|
|
private void deleteEmbedPlugins(List<PluginMarker> toDelete) { |
|
|
|
if (toDelete == null) { |
|
|
|
if (Collections.isEmpty(toDelete)) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
for (PluginMarker pluginMarker : toDelete) { |
|
|
|
for (PluginMarker pluginMarker : toDelete) { |
|
|
|