//\r
// remove pcd information of instance from current ModuleSA\r
//\r
- ffc.removePcdData(key, mi);\r
+ ffc.removePcdData(moduleKey, mi);\r
//\r
// remove class produced by this instance and add back these produced class to be bound.\r
//\r
model3.getValueAt(row, 2) + " " +\r
model3.getValueAt(row, 3) + " " +\r
model3.getValueAt(row, 4);\r
- ffc.genLibraryInstance(model3.getValueAt(row, 1)+"", model3.getValueAt(row, 2)+"", model3.getValueAt(row, 3)+"", model3.getValueAt(row, 4)+"", moduleKey);\r
+ ModuleIdentification libMi = getModuleId(instanceValue);\r
+ ffc.genLibraryInstance(libMi, moduleKey);\r
//\r
// Add pcd information of selected instance to current moduleSA\r
//\r
try{\r
- ffc.addFrameworkModulesPcdBuildDefs(getModuleId(instanceValue), null, ffc.getModuleSA(moduleKey));\r
+ ffc.addFrameworkModulesPcdBuildDefs(libMi, null, ffc.getModuleSA(moduleKey));\r
}\r
catch (Exception exception) {\r
JOptionPane.showMessageDialog(frame, "PCD Insertion Fail. " + exception.getMessage());\r