import org.tianocore.frameworkwizard.common.DataType;\r
import org.tianocore.frameworkwizard.common.IFileFilter;\r
import org.tianocore.frameworkwizard.common.Log;\r
+import org.tianocore.frameworkwizard.common.OpenFile;\r
import org.tianocore.frameworkwizard.common.SaveFile;\r
import org.tianocore.frameworkwizard.common.Tools;\r
import org.tianocore.frameworkwizard.common.Identifications.Identification;\r
-import org.tianocore.frameworkwizard.common.Identifications.OpenFile;\r
import org.tianocore.frameworkwizard.common.Identifications.OpeningModuleList;\r
import org.tianocore.frameworkwizard.common.Identifications.OpeningModuleType;\r
import org.tianocore.frameworkwizard.common.Identifications.OpeningPackageList;\r
int result = cso.showDialog();\r
if (result == DataType.RETURN_TYPE_OK) {\r
String strReturn = "Create Far Done!";\r
- JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE);\r
+ JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
+ JOptionPane.INFORMATION_MESSAGE);\r
}\r
cso.dispose();\r
}\r
int result = iso.showDialog();\r
if (result == DataType.RETURN_TYPE_OK) {\r
String strReturn = "<html>Install Far Done! <br>The WORKSPACE will be refreshed!</html>";\r
- JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE);\r
+ JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
+ JOptionPane.INFORMATION_MESSAGE);\r
this.closeAll();\r
}\r
iso.dispose();\r
int result = dso.showDialog();\r
if (result == DataType.RETURN_TYPE_OK) {\r
String strReturn = "<html>Delete Far Done! <br>The WORKSPACE will be refreshed!</html>";\r
- JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE);\r
+ JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
+ JOptionPane.INFORMATION_MESSAGE);\r
this.closeAll();\r
}\r
dso.dispose();\r
int result = uso.showDialog();\r
if (result == DataType.RETURN_TYPE_OK) {\r
String strReturn = "<html>Update Far Done! <br>The WORKSPACE will be refreshed!</html>";\r
- JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE);\r
+ JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
+ JOptionPane.INFORMATION_MESSAGE);\r
this.closeAll();\r
}\r
uso.dispose();\r
e.printStackTrace();\r
}\r
vPackageList.addElement(smb.getPid());\r
+\r
//\r
- // Add new SpdHeader node to the tree\r
+ // Add to Module Description node\r
//\r
IDefaultMutableTreeNode node = new IDefaultMutableTreeNode(vPackageList.lastElement().getName(),\r
- IDefaultMutableTreeNode.SPD_HEADER, true,\r
- vPackageList.lastElement());\r
+ IDefaultMutableTreeNode.MODULE_PACKAGE,\r
+ false, vPackageList.lastElement());\r
+\r
+ iTree.addNode(dmtnModuleDescription, node);\r
+\r
+ //\r
+ // Add new SpdHeader node to the tree\r
+ //\r
+ node = new IDefaultMutableTreeNode(vPackageList.lastElement().getName(),\r
+ IDefaultMutableTreeNode.SPD_HEADER, true, vPackageList.lastElement());\r
iTree.addNode(dmtnPackageDescription, node);\r
+\r
this.openPackage(smb.getPid().getPath());\r
}\r
} else if (result == DataType.RETURN_TYPE_PLATFORM_SURFACE_AREA) {\r