|
|
@ -3,6 +3,7 @@ package com.fr.design.extra.exe.callback; |
|
|
|
import com.fr.general.FRLogger; |
|
|
|
import com.fr.general.FRLogger; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.jsqlparser.expression.StringValue; |
|
|
|
import com.fr.general.jsqlparser.expression.StringValue; |
|
|
|
|
|
|
|
import com.fr.plugin.error.PluginErrorCode; |
|
|
|
import com.fr.plugin.manage.PluginManager; |
|
|
|
import com.fr.plugin.manage.PluginManager; |
|
|
|
import com.fr.plugin.manage.control.PluginTaskResult; |
|
|
|
import com.fr.plugin.manage.control.PluginTaskResult; |
|
|
|
|
|
|
|
|
|
|
@ -31,7 +32,7 @@ public class UpdateFromDiskCallback extends AbstractPluginTaskCallback { |
|
|
|
if (result.isSuccess()) { |
|
|
|
if (result.isSuccess()) { |
|
|
|
FRLogger.getLogger().info(Inter.getLocText("FR-Designer-Plugin_Install_Success")); |
|
|
|
FRLogger.getLogger().info(Inter.getLocText("FR-Designer-Plugin_Install_Success")); |
|
|
|
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Designer-Plugin_Install_Successful")); |
|
|
|
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Designer-Plugin_Install_Successful")); |
|
|
|
} else if (result.errorCode() == 30) { |
|
|
|
} else if (result.errorCode() == PluginErrorCode.OperationNotSupport.getCode()) { |
|
|
|
int rv = JOptionPane.showOptionDialog( |
|
|
|
int rv = JOptionPane.showOptionDialog( |
|
|
|
null, |
|
|
|
null, |
|
|
|
Inter.getLocText(Inter.getLocText("FR-Designer-Plugin_Install_Success")), |
|
|
|
Inter.getLocText(Inter.getLocText("FR-Designer-Plugin_Install_Success")), |
|
|
|