Browse Source

代码修改

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

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

@ -288,13 +288,16 @@ 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(PluginTaskResult pluginTaskResult : pluginTaskResults){
List<PluginTask> pluginTasks = pluginTaskResult.getPreTasks();
for(PluginTask pluginTask : pluginTasks){ for(PluginTask pluginTask : pluginTasks){
PluginContext pluginContext = PluginManager.getContext(pluginTask.getMarker()); PluginContext pluginContext = PluginManager.getContext(pluginTask.getMarker());
if(pluginContext != null){ if(pluginContext != null){
pluginInfo.append(pluginContext.getName()); pluginInfo.append(pluginContext.getName());
} }
} }
}
return pluginInfo.toString(); return pluginInfo.toString();
} }

Loading…
Cancel
Save