|
|
@ -9,6 +9,7 @@ import com.fr.plugin.error.PluginErrorRemindHandler; |
|
|
|
import com.fr.plugin.error.PluginErrorReminder; |
|
|
|
import com.fr.plugin.error.PluginErrorReminder; |
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
import com.fr.stable.collections.CollectionUtils; |
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.SwingUtilities; |
|
|
|
import javax.swing.SwingUtilities; |
|
|
@ -64,7 +65,7 @@ public class PluginErrorDesignReminder implements PluginErrorReminder { |
|
|
|
} |
|
|
|
} |
|
|
|
// 获取失效插件名称列表
|
|
|
|
// 获取失效插件名称列表
|
|
|
|
List<String> embedPluginNames = PluginErrorRemindHandler.getInvalidateEmbedPluginNames(); |
|
|
|
List<String> embedPluginNames = PluginErrorRemindHandler.getInvalidateEmbedPluginNames(); |
|
|
|
if (embedPluginNames.size() > 0) { |
|
|
|
if (!CollectionUtils.isEmpty(embedPluginNames)) { |
|
|
|
// 构建消息
|
|
|
|
// 构建消息
|
|
|
|
String message = generateMessageContent(embedPluginNames); |
|
|
|
String message = generateMessageContent(embedPluginNames); |
|
|
|
Notification notification = generateNotification(message, embedPluginNames); |
|
|
|
Notification notification = generateNotification(message, embedPluginNames); |
|
|
|