git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@22 6f19259b-4bc3-4df7-8a09-765794883524

This commit is contained in:
jlin16 2006-04-25 04:15:33 +00:00
parent 8d29653d55
commit ee19dec64f
6 changed files with 18 additions and 1 deletions

View File

@ -155,6 +155,9 @@ public class UpdateLibraryClass extends JFrame implements ActionListener {
Remove original library classes before saving updated ones
**/
protected void save() {
if (jTable.isEditing()) {
jTable.getCellEditor().stopCellEditing();
}
sfc.removeSpdLibClass();
int rowCount = model.getRowCount();
int i = 0;

View File

@ -152,7 +152,9 @@ public class UpdateMsaFile extends JFrame implements ActionListener {
Remove original Msa files before saving updated ones
**/
protected void save() {
if (jTable.isEditing()) {
jTable.getCellEditor().stopCellEditing();
}
sfc.removeSpdMsaFile();
int rowCount = jTable.getRowCount();
int i = 0;

View File

@ -115,6 +115,9 @@ public class UpdatePCD extends JFrame implements ActionListener {
Remove original Pcd definitions before saving updated ones
**/
protected void save() {
if (jTable.isEditing()) {
jTable.getCellEditor().stopCellEditing();
}
sfc.removeSpdPcdDefinition();
int rowCount = model.getRowCount();
int i = 0;

View File

@ -174,6 +174,9 @@ public class UpdatePkgHeader extends JFrame implements ActionListener {
Remove original package headers before saving updated ones
**/
protected void save() {
if (jTable.isEditing()) {
jTable.getCellEditor().stopCellEditing();
}
sfc.removeSpdPkgHeader();
int rowCount = model.getRowCount();
int i = 0;

View File

@ -156,6 +156,9 @@ public class UpdatePpi extends JFrame implements ActionListener {
Remove original ppi declarations before saving updated ones
**/
protected void save() {
if (jTable.isEditing()) {
jTable.getCellEditor().stopCellEditing();
}
sfc.removeSpdPpiDeclaration();
int rowCount = model.getRowCount();
int i = 0;

View File

@ -156,6 +156,9 @@ public class UpdateProtocols extends JFrame implements ActionListener {
Remove original protocol declarations before saving updated ones
**/
protected void save() {
if (jTable.isEditing()) {
jTable.getCellEditor().stopCellEditing();
}
sfc.removeSpdProtocolDeclaration();
int rowCount = model.getRowCount();
int i = 0;