[GME-commit] GMESRC/GME/ObjectInspector Property.cpp, 1.17, 1.18 Property.h, 1.8, 1.9
Log messages of CVS commits
gme-commit at list.isis.vanderbilt.edu
Fri Mar 14 16:15:24 CDT 2008
Update of /project/gme-repository/GMESRC/GME/ObjectInspector
In directory escher:/tmp/cvs-serv28642
Modified Files:
Property.cpp Property.h
Log Message:
Showing GUID on the property tab.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: Property.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/ObjectInspector/Property.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** Property.cpp 4 Feb 2008 21:41:04 -0000 1.17
--- Property.cpp 14 Mar 2008 21:15:22 -0000 1.18
***************
*** 27,30 ****
--- 27,31 ----
- Object ID
- Rel ID
+ - GUID
* FCO Properties
***************
*** 83,86 ****
--- 84,88 ----
CString strObjectID;
CString strRelID;
+ CString strGUID;
bool bIsTypeDirty=false;
***************
*** 102,106 ****
GetGeneralProperties(ccpMgaObject,strType,strKindName,strMetaID,strObjectID,
! strRelID,bIsTypeDirty, bIsKindNameDirty,bIsMultiple,
bIsFirst);
--- 104,108 ----
GetGeneralProperties(ccpMgaObject,strType,strKindName,strMetaID,strObjectID,
! strRelID,strGUID, bIsTypeDirty, bIsKindNameDirty,bIsMultiple,
bIsFirst);
***************
*** 118,122 ****
GetGeneralProperties(ccpMgaObject,strType,strKindName,strMetaID,strObjectID,
! strRelID,bIsTypeDirty, bIsKindNameDirty,bIsMultiple,
bIsFirst);
--- 120,124 ----
GetGeneralProperties(ccpMgaObject,strType,strKindName,strMetaID,strObjectID,
! strRelID,strGUID, bIsTypeDirty, bIsKindNameDirty,bIsMultiple,
bIsFirst);
***************
*** 170,173 ****
--- 172,181 ----
+ ListItem.bIsDifferentValue=false;
+ ListItem.strName="GUID";
+ ListItem.strToolTip="Universally unique ID of the object.";
+ ListItem.Value.SetStringValue(strGUID);
+
+ ListItemArray.Add(ListItem);
}
}
***************
*** 178,182 ****
CString &strType, CString &strKindName,
CString &strMetaID, CString &strObjectID,
! CString &strRelID,bool &bIsTypeDirty,
bool &bIsKindNameDirty, bool bIsMultiple,
bool bIsFirst)
--- 186,190 ----
CString &strType, CString &strKindName,
CString &strMetaID, CString &strObjectID,
! CString &strRelID, CString &strGUID, bool &bIsTypeDirty,
bool &bIsKindNameDirty, bool bIsMultiple,
bool bIsFirst)
***************
*** 298,301 ****
--- 306,314 ----
COMTHROW(ccpMetaBase->get_MetaRef(&mtMetaID));
strMetaID.Format("%ld",(long)mtMetaID);
+
+ // Get GUID
+ CComBSTR bstrGUID;
+ COMTHROW(ccpMgaObject->GetGuidDisp(&bstrGUID));
+ strGUID = CString( bstrGUID);
}
}
Index: Property.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/ObjectInspector/Property.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Property.h 28 May 2002 02:49:00 -0000 1.8
--- Property.h 14 Mar 2008 21:15:22 -0000 1.9
***************
*** 23,27 ****
CString &strType, CString &strKindName,
CString &strMetaID, CString &strObjectID,
! CString &strRelID,bool &bIsTypeDirty,
bool &bIsKindNameDirty, bool bIsMultiple,
bool bIsFirst);
--- 23,27 ----
CString &strType, CString &strKindName,
CString &strMetaID, CString &strObjectID,
! CString &strRelID, CString &strGUID, bool &bIsTypeDirty,
bool &bIsKindNameDirty, bool bIsMultiple,
bool bIsFirst);
More information about the GME-commit
mailing list