|
|
|
@ -3,6 +3,7 @@ package com.fr.design.extra.exe.callback;
|
|
|
|
|
import com.fr.general.FRLogger; |
|
|
|
|
import com.fr.general.Inter; |
|
|
|
|
import com.fr.general.jsqlparser.expression.StringValue; |
|
|
|
|
import com.fr.plugin.error.PluginErrorCode; |
|
|
|
|
import com.fr.plugin.manage.PluginManager; |
|
|
|
|
import com.fr.plugin.manage.control.PluginTaskResult; |
|
|
|
|
|
|
|
|
@ -31,7 +32,7 @@ public class UpdateFromDiskCallback extends AbstractPluginTaskCallback {
|
|
|
|
|
if (result.isSuccess()) { |
|
|
|
|
FRLogger.getLogger().info(Inter.getLocText("FR-Designer-Plugin_Install_Success")); |
|
|
|
|
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( |
|
|
|
|
null, |
|
|
|
|
Inter.getLocText(Inter.getLocText("FR-Designer-Plugin_Install_Success")), |
|
|
|
|