private IDefaultTableModel model = null;\r
\r
private int selectedRow = -1;\r
+ \r
+ private IFrame parentFrame = null;\r
\r
/**\r
This method initializes jButtonAdd \r
@param inPcds The input data of PCDsDocument.PCDs\r
\r
**/\r
- public ModulePCDs(OpeningModuleType inOmt) {\r
+ public ModulePCDs(OpeningModuleType inOmt, IFrame iFrame) {\r
super();\r
this.omt = inOmt;\r
this.msa = omt.getXmlMsa();\r
+ this.parentFrame = iFrame;\r
init(msa.getPcdCoded());\r
this.setVisible(true);\r
}\r
}\r
\r
private void showEdit(int index) {\r
- PCDsDlg dlg = new PCDsDlg(vid.getPcdCoded(index), new IFrame(), omt.getId());\r
+ PCDsDlg dlg = new PCDsDlg(vid.getPcdCoded(index), this.parentFrame, omt.getId());\r
int result = dlg.showDialog();\r
if (result == DataType.RETURN_TYPE_OK) {\r
if (index == -1) {\r