[GME-commit] GMESRC/Tools/GMETableEditor GridDlg.cpp,1.12,1.13
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Thu Apr 28 17:29:43 CDT 2005
Update of /project/gme-repository/GMESRC/Tools/GMETableEditor
In directory escher:/tmp/cvs-serv10513
Modified Files:
GridDlg.cpp
Log Message:
Changed connection source and destination fields to show name (including names of parents up to root) instead of ID.
CVS User: Brian Williams, ISIS (brianw)
Index: GridDlg.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/Tools/GMETableEditor/GridDlg.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** GridDlg.cpp 26 Jan 2005 20:00:44 -0000 1.12
--- GridDlg.cpp 28 Apr 2005 16:29:41 -0000 1.13
***************
*** 173,178 ****
m_Grid.SetItemText(0,EXTNAME_COL,"Extended Name");
m_Grid.SetItemText(0,INSTANCE_COL,"Is Instance");
! m_Grid.SetItemText(0,SRC_COL, "Source ID");
! m_Grid.SetItemText(0,DST_COL, "Destination ID");
m_Grid.SetItemText(0,COLOFFSET,"Attribute");
--- 173,178 ----
m_Grid.SetItemText(0,EXTNAME_COL,"Extended Name");
m_Grid.SetItemText(0,INSTANCE_COL,"Is Instance");
! m_Grid.SetItemText(0,SRC_COL, "Source");
! m_Grid.SetItemText(0,DST_COL, "Destination");
m_Grid.SetItemText(0,COLOFFSET,"Attribute");
***************
*** 250,259 ****
conn->get_Src(&src);
conn->get_Dst(&dst);
! src->get_ID(ID1);
! dst->get_ID(ID2);
! CString SrcID = ID1;
! CString DstID = ID2;
! m_Grid.SetItemText(RowNum,SRC_COL, SrcID);
! m_Grid.SetItemText(RowNum,DST_COL, DstID);
}
else {
--- 250,259 ----
conn->get_Src(&src);
conn->get_Dst(&dst);
! CString SrcExtName;
! CString DstExtName;
! BuildExtendedName(src,SrcExtName);
! BuildExtendedName(dst,DstExtName);
! m_Grid.SetItemText(RowNum,SRC_COL, SrcExtName);
! m_Grid.SetItemText(RowNum,DST_COL, DstExtName);
}
else {
More information about the GME-commit
mailing list