Browse Source

代码修改

master
kerry 8 years ago
parent
commit
050f9c884e
  1. 13
      designer_base/src/com/fr/design/extra/PluginOperateUtils.java

13
designer_base/src/com/fr/design/extra/PluginOperateUtils.java

@ -288,11 +288,14 @@ public class PluginOperateUtils {
if(context != null){ if(context != null){
pluginInfo.append(context.getName()); pluginInfo.append(context.getName());
} }
List<PluginTask> pluginTasks = result.getPreTasks(); List<PluginTaskResult> pluginTaskResults = result.asList();
for(PluginTask pluginTask : pluginTasks){ for(PluginTaskResult pluginTaskResult : pluginTaskResults){
PluginContext pluginContext = PluginManager.getContext(pluginTask.getMarker()); List<PluginTask> pluginTasks = pluginTaskResult.getPreTasks();
if(pluginContext != null){ for(PluginTask pluginTask : pluginTasks){
pluginInfo.append(pluginContext.getName()); PluginContext pluginContext = PluginManager.getContext(pluginTask.getMarker());
if(pluginContext != null){
pluginInfo.append(pluginContext.getName());
}
} }
} }
return pluginInfo.toString(); return pluginInfo.toString();

Loading…
Cancel
Save