[GME-commit]
GMESRC/GME/Interfaces Gme.idl,1.16,1.17 InterfaceVersion.h,1.57,1.58
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Fri Apr 15 19:24:12 CDT 2005
- Previous message: [GME-commit]
GMESRC/GME/Console Console.odl,1.2,1.3 ConsoleCtl.cpp,1.3,1.4
ConsoleCtl.h,1.3,1.4 ScriptEdit.cpp,1.1,1.2 ScriptEdit.h,1.3,1.4
ScriptHost.cpp,1.1,1.2 ScriptHost.h,1.3,1.4
- Next message: [GME-commit] GMESRC/GME/Gme GME.vcproj,1.1,1.2 GMEApp.h,1.26,1.27
GMEConsole.cpp,1.3,1.4 GMEConsole.h,1.3,1.4 GMEOLEApp.cpp,1.9,1.10
GMEOLEApp.h,1.5,1.6 GMEOLEError.h,1.1,1.2 GMEView.h,1.66,1.67
GmeLib.idl,1.9,1.10 MainFrm.cpp,1.28,1.29 MainFrm.h,1.22,1.23
console.cpp,1.3,1.4 console.h,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /project/gme-repository/GMESRC/GME/Interfaces
In directory escher:/tmp/cvs-serv19080/Interfaces
Modified Files:
Gme.idl InterfaceVersion.h
Log Message:
GME:
'gme' variable comes to live when gme starts.
'it' variable is available when there is opened model
Mga:
ObjectByPath method can search based on plain name sequences
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: InterfaceVersion.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/InterfaceVersion.h,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** InterfaceVersion.h 12 Apr 2005 23:34:50 -0000 1.57
--- InterfaceVersion.h 15 Apr 2005 18:24:10 -0000 1.58
***************
*** 8,12 ****
// CHECKSUM MgaUtil.idl = EBD172EC
// CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = C9CA6ADE
// CHECKSUM Parser.idl = 13858320
--- 8,12 ----
// CHECKSUM MgaUtil.idl = EBD172EC
// CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = 94F5ED2E
// CHECKSUM Parser.idl = 13858320
***************
*** 18,22 ****
// -- never decrease it
cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x0002006D")
cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x0002006D
--- 18,22 ----
// -- never decrease it
cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x0002006E")
cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x0002006E
Index: Gme.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/Gme.idl,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** Gme.idl 12 Jan 2005 17:54:14 -0000 1.16
--- Gme.idl 15 Apr 2005 18:24:10 -0000 1.17
***************
*** 74,77 ****
--- 74,79 ----
};
+ interface IGMEOLEIt;
+
// Primary dispatch interface for CGMEOLEApp
***************
*** 127,132 ****
--- 129,228 ----
[id(38), helpstring("method AttributepanelPage")] HRESULT AttributepanelPage([in] attribpanel_page page);
+ [propget, id(40)] HRESULT OleIt([out, retval] IGMEOLEIt ** mgamodel);
+
};
+
+ [ uuid(F2181278-749F-459d-8700-92F088B80D72),
+ oleautomation,
+ dual
+ ]
+ interface IGMEOLEIt : IDispatch // the current/active opened view (model)
+ {
+ // methods and properties similar to those defined in IGMEOLEModel:
+
+ // properties:
+ [propget, id(1)] HRESULT Valid([out, retval] VARIANT_BOOL* isValid);
+ [propget, id(2)] HRESULT Aspects([out, retval] IGMEOLEColl** coll);
+ [propget, id(3)] HRESULT MgaModel([out, retval] IMgaModel** model);
+
+ // methods:
+
+ [id(5)] HRESULT Print();
+ [id(6)] HRESULT PrintDialog();
+ [id(7)] HRESULT DumpWindowsMetaFile([in] BSTR filePath);
+ [id(8)] HRESULT CheckConstraints();
+ [id(9)] HRESULT RunComponent([in] BSTR appID);
+ [id(10)] HRESULT RunComponentDialog();
+ [id(11)] HRESULT Close();
+ [id(12)] HRESULT GrayOutFCO([in] VARIANT_BOOL bGray, [in] VARIANT_BOOL bNeighbours, [in] IMgaFCOs* mgaFCO);
+ [id(13)] HRESULT GrayOutHide();
+ [id(14)] HRESULT ShowSetMembers([in] IMgaFCO* mgaFCO);
+ [id(15)] HRESULT HideSetMembers();
+ [id(16)] HRESULT Zoom([in] DWORD percent);
+ [id(17)] HRESULT ZoomTo([in] IMgaFCOs* mgaFCOs);
+ [id(18)] HRESULT Scroll([in] bar_enum, [in] scroll_enum);
+
+
+ // methods allowing the user to generate models ie. from the scripting window:
+
+ HRESULT ShowFCO( [in] BSTR path);
+ HRESULT Child( [in] BSTR name, [out,retval] IMgaFCO** child_fco );
+ HRESULT Create( [in] BSTR part, [in] BSTR name, [out,retval] IMgaFCO** new_fco );
+ HRESULT Duplicate([in] BSTR existing_fco_name, [in] BSTR new_fco_name, [out,retval] IMgaFCO** new_fco );
+ HRESULT DuplicateFCO([in] IMgaFCO* existing_fco, [in] BSTR new_fco_name, [out,retval] IMgaFCO** new_fco );
+
+ HRESULT Rename( [in] BSTR oldname, [in] BSTR newname);
+ HRESULT SetName( [in] IMgaFCO*, [in] BSTR name);
+
+ HRESULT Include( [in] BSTR setname, [in] BSTR name);
+ HRESULT Exclude( [in] BSTR setname, [in] BSTR membername);
+
+ HRESULT IncludeFCO( [in] IMgaSet* set, [in] IMgaFCO* fco);
+ HRESULT ExcludeFCO( [in] IMgaSet* set, [in] IMgaFCO* fco);
+
+ HRESULT Connect( [in] BSTR src_part, [in] BSTR dst_part, [in] BSTR connection_role, [out, retval] IMgaConnection ** conn );
+ HRESULT Disconnect( [in] BSTR src_part, [in] BSTR dst_part, [in] BSTR connection_name);
+
+ HRESULT ConnectThruPort( [in] BSTR src_part_1, [in] BSTR src_part_2, [in] BSTR dst_part_1, [in] BSTR dst_part_2, [in] BSTR connection_role, [out, retval] IMgaConnection ** conn );
+ HRESULT DisconnectThruPort( [in] BSTR src_part_1, [in] BSTR src_part_2, [in] BSTR dst_part_1, [in] BSTR dst_part_2, [in] BSTR connection_name);
+
+ HRESULT ConnectFCOs( [in] IMgaFCO* src_part, [in] IMgaFCO* dst_part, [in] BSTR connection_role, [out, retval] IMgaConnection ** conn );
+ HRESULT DisconnectFCOs( [in] IMgaFCO* src_part, [in] IMgaFCO* dst_part, [in] BSTR connection_name);
+
+ HRESULT Refer( [in] BSTR reference, [in] BSTR referred);
+ HRESULT ReferFCO( [in] IMgaReference* reference, [in] IMgaFCO* referred);
+
+ HRESULT SetAttribute( [in] BSTR name, [in] BSTR attr_name, [in] BSTR value);
+ HRESULT GetAttribute( [in] BSTR name, [in] BSTR attr_name, [out, retval] BSTR* value);
+
+ HRESULT SetAttributeFCO( [in] IMgaFCO* fco, [in] BSTR attr_name, [in] BSTR value);
+ HRESULT GetAttributeFCO( [in] IMgaFCO* fco, [in] BSTR attr_name, [out, retval] BSTR* value);
+
+ HRESULT SubType( [in] BSTR base, [in] BSTR name_of_subtype, [out, retval] IMgaFCO** subtype);
+ HRESULT Instantiate( [in] BSTR base, [in] BSTR name_of_instance, [out, retval] IMgaFCO** instance);
+
+ HRESULT SubTypeFCO( [in] IMgaFCO* base, [in] BSTR name_of_subtype, [out, retval] IMgaFCO** subtype);
+ HRESULT InstantiateFCO( [in] IMgaFCO* base, [in] BSTR name_of_instance, [out, retval] IMgaFCO** instance);
+
+ HRESULT BeginTransaction();
+ HRESULT CommitTransaction();
+ HRESULT IsInTransaction( [out, retval] VARIANT_BOOL* intrans);
+ HRESULT PutInTerritory( [in] IMgaFCO* fco, [out, retval] IMgaFCO** newfco);
+
+ HRESULT Help();
+
+ HRESULT SetSelected( [in] BSTR space_delimited_string );
+ HRESULT GetSelected( [out, retval] BSTR * space_delimited_string );
+ HRESULT SetSelectedFCOs([in] IMgaFCOs* fcos_to_select);
+ HRESULT GetSelectedFCOs([out, retval] IMgaFCOs** selected_fcos);
+
+
+ HRESULT NextAspect();//switches to the next aspect of this view (opened model)
+ HRESULT PrevAspect();
+
+ HRESULT Next(); // makes the next (if any) view (opened model) the active view
+ HRESULT Prev();
+ };
// Primary dispatch interface for CGMEOLEModel
- Previous message: [GME-commit]
GMESRC/GME/Console Console.odl,1.2,1.3 ConsoleCtl.cpp,1.3,1.4
ConsoleCtl.h,1.3,1.4 ScriptEdit.cpp,1.1,1.2 ScriptEdit.h,1.3,1.4
ScriptHost.cpp,1.1,1.2 ScriptHost.h,1.3,1.4
- Next message: [GME-commit] GMESRC/GME/Gme GME.vcproj,1.1,1.2 GMEApp.h,1.26,1.27
GMEConsole.cpp,1.3,1.4 GMEConsole.h,1.3,1.4 GMEOLEApp.cpp,1.9,1.10
GMEOLEApp.h,1.5,1.6 GMEOLEError.h,1.1,1.2 GMEView.h,1.66,1.67
GmeLib.idl,1.9,1.10 MainFrm.cpp,1.28,1.29 MainFrm.h,1.22,1.23
console.cpp,1.3,1.4 console.h,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list