getJDesktopPanePackage().add(frmSpdHeader, 1);\r
break;\r
case IDefaultMutableTreeNode.SPD_LIBRARYCLASSDECLARATIONS:\r
- SpdLibClassDecls frmSlcd = new SpdLibClassDecls(spd);\r
+ SpdLibClassDecls frmSlcd = new SpdLibClassDecls(spd, this);\r
getJDesktopPanePackage().add(frmSlcd, 1);\r
break;\r
case IDefaultMutableTreeNode.SPD_MSAFILES:\r
- SpdMsaFiles frmSmf = new SpdMsaFiles(spd);\r
+ SpdMsaFiles frmSmf = new SpdMsaFiles(spd, this);\r
getJDesktopPanePackage().add(frmSmf, 1);\r
break;\r
case IDefaultMutableTreeNode.SPD_PACKAGEHEADERS:\r
- SpdPackageHeaders frmSph = new SpdPackageHeaders(spd);\r
+ SpdPackageHeaders frmSph = new SpdPackageHeaders(spd, this);\r
getJDesktopPanePackage().add(frmSph, 1);\r
break;\r
case IDefaultMutableTreeNode.SPD_GUIDDECLARATIONS:\r
- SpdGuidDecls frmSgd = new SpdGuidDecls(spd);\r
+ SpdGuidDecls frmSgd = new SpdGuidDecls(spd, this);\r
getJDesktopPanePackage().add(frmSgd, 1);\r
break;\r
case IDefaultMutableTreeNode.SPD_PROTOCOLDECLARATIONS:\r
- SpdProtocolDecls frmSprod = new SpdProtocolDecls(spd);\r
+ SpdProtocolDecls frmSprod = new SpdProtocolDecls(spd, this);\r
getJDesktopPanePackage().add(frmSprod, 1);\r
break;\r
case IDefaultMutableTreeNode.SPD_PPIDECLARATIONS:\r
- SpdPpiDecls frmSppid = new SpdPpiDecls(spd);\r
+ SpdPpiDecls frmSppid = new SpdPpiDecls(spd, this);\r
getJDesktopPanePackage().add(frmSppid, 1);\r
break;\r
case IDefaultMutableTreeNode.SPD_PCDDECLARATIONS:\r
- SpdPcdDefs frmSpcdd = new SpdPcdDefs(spd);\r
+ SpdPcdDefs frmSpcdd = new SpdPcdDefs(spd, this);\r
getJDesktopPanePackage().add(frmSpcdd, 1);\r
break;\r
}\r
int result = cso.showDialog();\r
if (result == DataType.RETURN_TYPE_OK) {\r
String strReturn = "Far Creation Completed!";\r
- JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
+ JOptionPane.showConfirmDialog(this, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
JOptionPane.INFORMATION_MESSAGE);\r
}\r
cso.dispose();\r
int result = iso.showDialog();\r
if (result == DataType.RETURN_TYPE_OK) {\r
String strReturn = "<html>Far Installalation completed!<br>Refreshing the WORKSPACE!</html>";\r
- JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
+ JOptionPane.showConfirmDialog(this, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
JOptionPane.INFORMATION_MESSAGE);\r
this.closeAll();\r
this.refresh();\r
int result = dso.showDialog();\r
if (result == DataType.RETURN_TYPE_OK) {\r
String strReturn = "<html>Far Deletion completed!<br>Refreshing the WORKSPACE!</html>";\r
- JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
+ JOptionPane.showConfirmDialog(this, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
JOptionPane.INFORMATION_MESSAGE);\r
this.closeAll();\r
this.refresh();\r
int result = uso.showDialog();\r
if (result == DataType.RETURN_TYPE_OK) {\r
String strReturn = "<html>Far Update completed!<br>Refreshing the WORKSPACE!</html>";\r
- JOptionPane.showConfirmDialog(null, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
+ JOptionPane.showConfirmDialog(this, strReturn, "Done", JOptionPane.DEFAULT_OPTION,\r
JOptionPane.INFORMATION_MESSAGE);\r
this.closeAll();\r
this.refresh();\r
return;\r
}\r
\r
- JOptionPane.showConfirmDialog(null, "File is created", "Generate guids.xref", JOptionPane.DEFAULT_OPTION,\r
+ JOptionPane.showConfirmDialog(this, "File is created", "Generate guids.xref", JOptionPane.DEFAULT_OPTION,\r
JOptionPane.INFORMATION_MESSAGE);\r
}\r
}\r
case Workspace.WORKSPACE_NOT_DEFINED:\r
JOptionPane\r
.showConfirmDialog(\r
- null,\r
+ this,\r
"WORKSPACE Environment Variable Is Not Defined, Please select a valid WORKSPACE directory. "\r
+ DataType.LINE_SEPARATOR\r
+ DataType.LINE_SEPARATOR\r
break;\r
}\r
case Workspace.WORKSPACE_NOT_EXIST:\r
- JOptionPane.showConfirmDialog(null, "Defined WORKSPACE Is Not Existed", "Error",\r
+ JOptionPane.showConfirmDialog(this, "Defined WORKSPACE Is Not Existed", "Error",\r
JOptionPane.DEFAULT_OPTION, JOptionPane.ERROR_MESSAGE);\r
this.dispose();\r
System.exit(0);\r
case Workspace.WORKSPACE_NOT_DIRECTORY:\r
- JOptionPane.showConfirmDialog(null, "Defined WORKSPACE Is Not A Directory", "Error",\r
+ JOptionPane.showConfirmDialog(this, "Defined WORKSPACE Is Not A Directory", "Error",\r
JOptionPane.DEFAULT_OPTION, JOptionPane.ERROR_MESSAGE);\r
this.dispose();\r
System.exit(0);\r
case Workspace.WORKSPACE_NOT_VALID:\r
- JOptionPane.showConfirmDialog(null, "WORKSPACE Environment Variable Is Not Valid", "Error",\r
+ JOptionPane.showConfirmDialog(this, "WORKSPACE Environment Variable Is Not Valid", "Error",\r
JOptionPane.DEFAULT_OPTION, JOptionPane.ERROR_MESSAGE);\r
this.dispose();\r
System.exit(0);\r
case Workspace.WORKSPACE_NO_TARGET_FILE:\r
- JOptionPane.showConfirmDialog(null, "Target.txt File Is Not Existed", "Error", JOptionPane.DEFAULT_OPTION,\r
+ JOptionPane.showConfirmDialog(this, "Target.txt File Is Not Existed", "Error", JOptionPane.DEFAULT_OPTION,\r
JOptionPane.ERROR_MESSAGE);\r
this.dispose();\r
System.exit(0);\r