|
|
@ -42,7 +42,9 @@ public class ModifyStatusExecutor implements Executor { |
|
|
|
plugin.setActive(active); |
|
|
|
plugin.setActive(active); |
|
|
|
try { |
|
|
|
try { |
|
|
|
FRContext.getCurrentEnv().writePlugin(plugin); |
|
|
|
FRContext.getCurrentEnv().writePlugin(plugin); |
|
|
|
PluginWebBridge.getHelper().showRestartMessage(plugin.isActive() ? Inter.getLocText("FR-Designer-Plugin_Has_Been_Actived") : Inter.getLocText("FR-Designer-Plugin_Has_Been_Disabled")); |
|
|
|
/* |
|
|
|
|
|
|
|
* PluginWebBridge.getHelper().showRestartMessage(plugin.isActive() ? Inter.getLocText("FR-Designer-Plugin_Has_Been_Actived") : Inter.getLocText("FR-Designer-Plugin_Has_Been_Disabled")); |
|
|
|
|
|
|
|
**/ |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
FRContext.getLogger().error(e.getMessage()); |
|
|
|
FRContext.getLogger().error(e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|