[GME-commit]
GMESRC/GME/Interfaces Gme.idl,1.20,1.21 InterfaceVersion.h,1.65,1.66
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Wed Feb 1 19:46:54 CST 2006
Update of /project/gme-repository/GMESRC/GME/Interfaces
In directory escher:/tmp/cvs-serv7945
Modified Files:
Gme.idl InterfaceVersion.h
Log Message:
Component Icon enabling/disabling methods added to IGmeOleApp.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: InterfaceVersion.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/InterfaceVersion.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** InterfaceVersion.h 12 Jan 2006 22:46:56 -0000 1.65
--- InterfaceVersion.h 1 Feb 2006 19:46:52 -0000 1.66
***************
*** 8,12 ****
// CHECKSUM MgaUtil.idl = ED654997
// CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = D43B4B03
// CHECKSUM Parser.idl = EE6FC409
--- 8,12 ----
// CHECKSUM MgaUtil.idl = ED654997
// CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = 6C38662A
// CHECKSUM Parser.idl = EE6FC409
***************
*** 18,22 ****
// -- never decrease it
cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x0002008D")
cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x0002008D
--- 18,22 ----
// -- never decrease it
cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x0002008E")
cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x0002008E
Index: Gme.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/Gme.idl,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** Gme.idl 18 Nov 2005 18:15:56 -0000 1.20
--- Gme.idl 1 Feb 2006 19:46:52 -0000 1.21
***************
*** 131,134 ****
--- 131,153 ----
[propget, id(40)] HRESULT OleIt([out, retval] IGMEOLEIt ** mgamodel);
+ // methods for disabling components (interpreters, plugins) on the toolbar and in File/Run Interpreter menu
+ // Users do NOT need to call SetCompFiltering
+ [id(41), helpstring("method for disabling/enabling a component")]
+ HRESULT DisableComp( [in] BSTR pCompProgID, [in] VARIANT_BOOL pDisable);
+
+ // disable automatically a component whenever a model specified in the 2nd parameter
+ // is opened AND focused in the editing window
+ // e.g. : gme.DisableCompForKinds( "MGA.Interpreter.SFInterpreter", "Primitive;Compound")
+ // Users NEED to call SetCompFiltering to activate this feature
+ [id(42), helpstring("method for disabling/enabling a component when certain model kinds are shown")]
+ HRESULT DisableCompForKinds( [in] BSTR pCompProgID, [in] BSTR pKindSequenceDelimitedBySemicolon);
+
+ // this method must be used to turn the DisableCompForKinds feature on
+ [id(43), helpstring("method for turning on/off component filtering")]
+ HRESULT SetCompFiltering( [in] VARIANT_BOOL pTurnOn);
+
+ // is the feature turned on?
+ [id(44), helpstring("inquire component filtering state")]
+ HRESULT GetCompFiltering( [out, retval] VARIANT_BOOL* pPtrTurnedOn);
};
More information about the GME-commit
mailing list