|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.fr.design.extra.tradition.callback; |
|
|
|
package com.fr.design.extra.tradition.callback; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.design.extra.PluginStatusCheckCompletePane; |
|
|
|
import com.fr.design.extra.PluginStatusCheckCompletePane; |
|
|
|
|
|
|
|
import com.fr.design.extra.PluginUtils; |
|
|
|
import com.fr.general.FRLogger; |
|
|
|
import com.fr.general.FRLogger; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.plugin.context.PluginMarker; |
|
|
|
import com.fr.plugin.context.PluginMarker; |
|
|
@ -49,7 +50,7 @@ public class UpdateOnlineCallback implements ProgressCallback { |
|
|
|
PluginManager.getController().update(pluginMarker, toPluginMarker, new UpdateOnlineCallback(pluginMarker, toPluginMarker, pane)); |
|
|
|
PluginManager.getController().update(pluginMarker, toPluginMarker, new UpdateOnlineCallback(pluginMarker, toPluginMarker, pane)); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
FRLogger.getLogger().info(Inter.getLocText("FR-Designer-Plugin_Delete_Failed")); |
|
|
|
FRLogger.getLogger().info(Inter.getLocText("FR-Designer-Plugin_Delete_Failed")); |
|
|
|
JOptionPane.showMessageDialog(null, result.getMessage(), Inter.getLocText("FR-Designer-Plugin_Warning"), JOptionPane.ERROR_MESSAGE); |
|
|
|
JOptionPane.showMessageDialog(null, PluginUtils.getMessageByErrorCode(result.errorCode()), Inter.getLocText("FR-Designer-Plugin_Warning"), JOptionPane.ERROR_MESSAGE); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|