1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
5 <!--(==============================================================)-->
\r
6 <!--(Document created with RoboEditor. )============================-->
\r
7 <!--(==============================================================)-->
\r
11 <title>Using Catalog Generator</title>
\r
13 <!--(Meta)==========================================================-->
\r
15 <meta http-equiv=content-type content="text/html; charset=windows-1252">
\r
16 <meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
\r
17 <meta name=generator-major-version content=0.1>
\r
18 <meta name=generator-minor-version content=1>
\r
19 <meta name=filetype content=kadov>
\r
20 <meta name=filetype-version content=1>
\r
21 <meta name=page-count content=1>
\r
22 <meta name=layout-height content=1314>
\r
23 <meta name=layout-width content=700>
\r
26 <!--(Links)=========================================================-->
\r
28 <link rel='stylesheet' href='../default_ns.css'>
\r
29 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
\r
31 if (navigator.appName !="Netscape")
\r
32 { document.write("<link rel='stylesheet' href='../default.css'>");}
\r
35 <style type="text/css">
\r
37 h1.whs1 {font-family: 'Times New Roman', serif;}
\r
38 p.whs2 {margin-left: 0px; text-align: justify;}
\r
39 img_whs3 {border-style: none; border: none; width: 30px; height: 30px; float: none;}
\r
40 p.whs4 {margin-left: 0px; text-indent: 48px; text-align: justify;}
\r
41 p.whs5 {text-align: justify;}
\r
42 p.whs6 {font-family: 'Times New Roman', serif;}
\r
43 p.whs7 {font-family: 'Times New Roman', serif; margin-left: 40px; font-style: normal; color: #000000;}
\r
44 p.whs8 {font-family: 'Times New Roman', serif; margin-left: 40px;}
\r
45 img_whs9 {border-style: none; border: none; width: 622px; height: 286px; float: none;}
\r
46 p.whs10 {font-family: 'Times New Roman', serif; margin-left: 0px;}
\r
47 ul.whs11 {list-style: disc;}
\r
48 p.whs12 {font-family:'Times New Roman' , serif; margin-left:0px; background-image:url(../texture_horiz_ltbluebubbles.jpg); }
\r
49 img_whs13 {border-style: none; border: none; float: none; width: 36px; height: 38px;}
\r
50 img_whs14 {border-style: none; border: none; width: 35px; height: 37px; float: none;}
\r
51 p.whs15 {font-family: 'Times New Roman', serif; margin-left: 0px; font-weight: bold;}
\r
54 <script type="text/javascript" language="JavaScript">
\r
56 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\r
58 var strNSS = "<style type='text/css'>";
\r
59 strNSS += "p.whs2 {margin-left:1; }";
\r
60 strNSS += "p.whs4 {margin-left:1; }";
\r
61 strNSS += "p.whs10 {margin-left:1; }";
\r
62 strNSS += "p.whs12 {margin-left:1; }";
\r
63 strNSS += "p.whs15 {margin-left:1; }";
\r
64 strNSS +="</style>";
\r
65 document.write(strNSS);
\r
69 <script type="text/javascript" language="JavaScript" title="BSSC Special Effects" src="../ehlpdhtm.js"></script><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
72 if (innerWidth != origWidth || innerHeight != origHeight)
\r
75 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
76 origWidth = innerWidth;
\r
77 origHeight = innerHeight;
\r
83 <style type="text/css">
\r
85 div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}
\r
88 <script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
\r
89 <script type="text/javascript" language="javascript" src="../whver.js"></script>
\r
90 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
\r
91 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
\r
92 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
\r
95 <!--(Body)==========================================================-->
\r
100 <script type="text/javascript" language="javascript1.2">
\r
102 if (window.gbWhTopic)
\r
104 if (window.addTocInfo)
\r
106 addTocInfo("IAPP module\nUsing Catalog Generator");
\r
107 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
110 if (window.writeBtnStyle)
\r
113 if (window.writeIntopicBar)
\r
114 writeIntopicBar(1);
\r
116 if (window.setRelStartPage)
\r
118 setRelStartPage("../kernel.html");
\r
126 document.location.reload();
\r
129 <h1 class="whs1">Using Catalog Generator
\r
130 (for advanced users)</h1>
\r
132 <p class="whs2"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs3">SALOME
\r
133 platform is an open platform for integration of your custom components,
\r
134 which can used in the same way as typical modules provided in the standard
\r
135 installed package. The <span style="font-weight: bold;"><B>Catalog Generator
\r
136 </B></span>tool serves for implementation of the interface of your custom
\r
137 component. It allows to generate from IDL description of your component
\r
138 interface its xml description. The
\r
139 component xml description allows SALOME application to know about the
\r
140 component and its services and provides the possibility to call the component
\r
141 services, for example, inside SUPERVISION module.</p>
\r
143 <p class="whs4">If you have a look at runSalome, runSalomeWithPort
\r
144 scripts running SALOME application, which are stored in build/bin directory
\r
145 you will see that SALOME_ModuleCatalog_Server is started with two xml
\r
146 files as its input parameters: <span style="font-weight: bold;"><B>CatalogModuleGeneral.xml</B></span>
\r
147 and <span style="font-weight: bold;"><B>CatalogModulePersonnel.xml</B></span>.
\r
148 These two files store the descriptions of interfaces and services of all
\r
149 components, provided with typical SALOME package. To add a new component
\r
150 into SALOME platform you should either update one of these existing xml
\r
151 files with generated xml description of your component or create a new
\r
154 <p class="whs5"> </p>
\r
156 <p class=TODO>To open the Catalog Generator:</p>
\r
158 <p class="whs6"> </p>
\r
160 <p class="whs7">From the main menu choose <span style="font-weight: bold;"><B>Tools
\r
161 > Catalog Generato</B></span>r, the following dialog box will appear:</p>
\r
165 <p class="whs8"><img src="../pics/cataloggenerator.jpg" x-maintain-ratio="TRUE" width="622px" height="286px" border="0" class="img_whs9"></p>
\r
167 <p class="whs8"> </p>
\r
169 <p class="whs10"> </p>
\r
171 <p class="whs10">In
\r
172 this dialog box you can specify:</p>
\r
174 <p class="whs10"> </p>
\r
176 <ul type="disc" class="whs11">
\r
178 <li class=kadov-p><p class="whs8">Name
\r
179 and location of the IDL file describing the interface of your component</p></li>
\r
181 <li class=kadov-p><p class="whs8">Name
\r
182 and location of an existing XML file, which will be updated with the interface
\r
183 of you component or name and desired location of a new XML file, which
\r
184 will be generated</p></li>
\r
186 <li class=kadov-p><p class="whs8">Name
\r
187 of the author,</p></li>
\r
189 <li class=kadov-p><p class="whs8">Name
\r
190 of the component,</p></li>
\r
192 <li class=kadov-p><p class="whs8">Type
\r
193 of the component,</p></li>
\r
195 <li class=kadov-p><p class="whs8">Version,</p></li>
\r
197 <li class=kadov-p><p class="whs8">Capability
\r
198 of multi study support</p></li>
\r
200 <li class=kadov-p><p class="whs8">Icon
\r
201 of your component </p></li>
\r
204 <p class="whs8"> </p>
\r
206 <p class="whs12"><img src="../note1.gif" x-maintain-ratio="TRUE" width="36px" height="38px" border="0" class="img_whs13">If you have chosen to create a new xml file containing the
\r
207 description of your component, don't forget to specify it as input parameter
\r
208 for SALOME_ModuleCatalog_Server in the file, you are using as a running
\r
209 script of SALOME platform (in runSalomeWithPort, for example).</p>
\r
211 <p class="whs10"> </p>
\r
213 <p class="whs10"> When
\r
214 launching SALOME next time you will see your module alongside other components.</p>
\r
216 <p class="whs10"> </p>
\r
218 <p class="whs12"><img src="../tip1.gif" x-maintain-ratio="TRUE" width="35px" height="37px" border="0" class="img_whs14"> You can use the <span style="font-weight: bold;"><B>Catalog
\r
219 Generator</B></span> tool, if you would like to <span style="font-weight: bold;"><B>test</B></span>
\r
220 the functionality of your new component. After implementation of your
\r
221 component interface, launch SUPERVISION module where you can try using
\r
222 the services of your new component. (see also: Adding factory nodes)</p>
\r
224 <p class="whs10"> </p>
\r
226 <p class="whs10"> </p>
\r
228 <p class="whs10"> </p>
\r
231 <a href="javascript:void(0);" onClick="var e; if (parseInt(navigator.appVersion)>=4){e=event;} if (parseInt(navigator.appVersion) >=2 && typeof(PopupMenu_Invoke) == 'function') PopupMenu_Invoke(e,'','Introduction to IAPP','introduction_to_iapp.htm','SALOME PRO desktop','salome_pro_desktop.htm');return false;" title="Related Topics"><img src="../ss_btn_related_topics.gif" border=0 height=17 width=82 alt="Related Topics"></a></p>
\r
233 <p class="whs15"> </p>
\r
235 <p class="whs15"> </p>
\r
237 <script type="text/javascript" language="JavaScript" title="WebHelpRelatedTopics"><!--
\r
238 if (parseInt(navigator.appVersion) >= 3 && typeof (WritePopupMenuLayer) == "function")
\r
239 WritePopupMenuLayer();
\r
240 //--></script><script type="text/javascript" language="javascript1.2">
\r
242 if (window.writeIntopicBar)
\r
243 writeIntopicBar(0);
\r