From: vsr Date: Tue, 1 Mar 2005 11:00:27 +0000 (+0000) Subject: Update the GUI documentation for KERNEL X-Git-Tag: V2_2_1rc X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Ftags%2FV2_2_1rc;p=modules%2Fkernel.git Update the GUI documentation for KERNEL --- diff --git a/doc/salome/gui/KERNEL/cshdat_robohelp.htm b/doc/salome/gui/KERNEL/cshdat_robohelp.htm index af163f8e1..81b659adc 100755 --- a/doc/salome/gui/KERNEL/cshdat_robohelp.htm +++ b/doc/salome/gui/KERNEL/cshdat_robohelp.htm @@ -1,9 +1,9 @@ -SALOME reference manual - +KERNEL + - + + KERNEL + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/kernel.log b/doc/salome/gui/KERNEL/kernel.log new file mode 100755 index 000000000..c766a704d --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel.log @@ -0,0 +1,272 @@ +|SourceProjectName:KERNEL.hpr +|DestinationProjectName:kernel.htm +whhost.js +whmsg.js +whmozemu.js +whproxy.js +whstub.js +whutils.js +whver.js +whform.js +whphost.js +whstart.js +whtopic.js +whframes.js +whlang.js +whskin_info.htm +whskin_blank.htm +whskin_pickup.htm +whskin_homepage.htm +whskin_tw.htm +whnjs.htm +whthost.js +whtdhtml.htm +whihost.js +whibody.htm +whiform.htm +whfhost.js +whfbody.htm +whfform.htm +whghost.js +whgbody.htm +whgdhtml.htm +whgdef.htm +whproj.js +whproj.xml +whproj.htm +whxdata\whtoc.xml +whxdata\whidx.xml +whxdata\whfts.xml +whxdata\whglo.xml +whdata\whtoc.js +whdata\whtoc.htm +whdata\whtdata.js +whdata\whidx.js +whdata\whidx.htm +whdata\whidata.js +whdata\whfts.js +whdata\whfts.htm +whdata\whglo.js +whdata\whglo.htm +whdata\whgdata.js +whdata\whftdata.js +whdata\whfwdata.js +whres.xml +webhelp.jar +webhelp.cab +whgdata\whnvp30.htm +whgdata\whnvp31.htm +whgdata\whnvp32.htm +whgdata\whnvp33.htm +whgdata\whnvt30.htm +whgdata\whnvt31.htm +whgdata\whnvt32.htm +whgdata\whnvt33.htm +whgdata\whnvf30.htm +whgdata\whnvf31.htm +whgdata\whnvf32.htm +whgdata\whnvf33.htm +whgdata\whnvl31.htm +whgdata\whnvl32.htm +whgdata\whnvl33.htm +whgdata\whexpbar.gif +cshdat_webhelp.htm +whcsh_home.htm +whcshdata.htm +cshdat_robohelp.htm +wht_tab0.gif +wht_tab1.gif +wht_tab2.gif +wht_tab3.gif +wht_tab4.gif +wht_tab5.gif +wht_tab6.gif +wht_tab7.gif +wht_tab8.gif +wht_glo_h.gif +wht_glo_n.gif +wht_fts_h.gif +wht_fts_n.gif +wht_idx_h.gif +wht_idx_n.gif +wht_toc_h.gif +wht_toc_n.gif +wht_ws.gif +wht_ws_g.gif +wht_logo1.gif +wht_logo2.gif +wht_abgw.jpg +wht_abgi.jpg +wht_abge.jpg +wht_abtw.jpg +wht_abte.jpg +wht_abti.jpg +wht_spac.gif +wht_next.gif +wht_next_g.gif +wht_prev.gif +wht_prev_g.gif +wht_sync.gif +wht_hide.gif +wht_go.gif +whstart.ico +whestart.ico +whrstart.ico +whidhtml.htm +whfdhtml.htm +whskin_banner.htm +whtbar.js +whskin_pdhtml.htm +whskin_papplet.htm +whskin_plist.htm +whskin_tbars.htm +whskin_mbars.htm +wht_toc4.gif +wht_toc1.gif +wht_toc2.gif +wht_toc3.gif +whskin_frmset010.htm +whst_topics.xml +whskin_frmset01.htm +kernel_hha.hhk +kernel.hhc +kernel.hhk +kernel\about_salome_pro_architecture.htm +kernel\about_salome_pro_help_system.htm +kernel\copyright_notice.htm +kernel\creating_a_new_study.htm +kernel\displaying_hiding_toolbars.htm +kernel\displaying_studies.htm +kernel\editing_studies.htm +kernel\getting_properties_of_the_study.htm +kernel\getting_started2.htm +kernel\introduction.htm +kernel\introduction_to_iapp.htm +kernel\introduction_to_salome_pro.htm +kernel\navigating_topics.htm +kernel\opening_studies.htm +kernel\readme.html +kernel\running_salome_pro.htm +kernel\salome_pro_desktop.htm +kernel\saving_a_study.htm +kernel\setting_preferences.htm +kernel\using_catalog_generator.htm +kernel\using_left-hand_tabs.htm +kernel\using_object_browser.htm +kernel\using_registry.htm +kernel\using_usecase_browser.htm +ehelp.xml +robohhre.lng +texture_horiz_ltbluebubbles.jpg +kernel.glo +default.css +image59.gif +pics\frontv.jpg +pics\fitall.jpg +pics\desktop3.jpg +pics\removeobj.jpg +pics\registy1.jpg +pics\sheme1.jpg +pics\open.jpg +pics\bottomv.jpg +pics\clear.jpg +pics\sheme2.jpg +occ.jpg +pics\globalpanning.jpg +pics\usecasebrsr.jpg +image2.jpg +pics\readmepage.png +tip1.gif +pics\rightv.jpg +pics\objbrowser2.jpg +pics\newobj.jpg +pics\save.jpg +pics\panning.jpg +pics\zoom.jpg +pics\trihedron.jpg +pics\newsticn.jpg +pics\fitrect.jpg +pics\usecasebr.jpg +image60.gif +pics\rotate.jpg +image61.gif +pics\copy-paste.jpg +image4.gif +pics\exemple.gif +pics\setcurrent.jpg +pics\tile.jpg +pics\topv.jpg +pics\close.jpg +pics\application-splash.jpg +i_blue.jpg +image7.gif +pics\productpage.png +pics\cascade.jpg +pics\undo-redo.jpg +note1.gif +pics\progresspage.png +image57.gif +pics\leftv.jpg +pics\backv.jpg +pics\addobj.jpg +image58.gif +pics\choicepage.png +pics\reset.jpg +pics\dump.jpg +kernel.ppf +ehlpdhtm.js +ss_btn_related_topics.gif +default_ns.css +whxdata\whtdata0.xml +whxdata\whftdata0.xml +whxdata\whfwdata0.xml +whxdata\whgdata0.xml +whdata\whtdata0.htm +whdata\whftdata0.htm +whdata\whfwdata0.htm +whdata\whgdata0.htm +whgdata\whlstt0.htm +whgdata\whlstt1.htm +whgdata\whlstt2.htm +whgdata\whlstt3.htm +whgdata\whlstt4.htm +whgdata\whlsti0.htm +whgdata\whlstfl0.htm +whgdata\whlstfl1.htm +whgdata\whlstfl2.htm +whgdata\whlstfl3.htm +whgdata\whlstfl4.htm +whgdata\whlstfl5.htm +whgdata\whlstfl6.htm +whgdata\whlstfl7.htm +whgdata\whlstfl8.htm +whgdata\whlstfl9.htm +whgdata\whlstfl10.htm +whgdata\whlstfl11.htm +whgdata\whlstfl12.htm +whgdata\whlstfl13.htm +whgdata\whlstfl14.htm +whgdata\whlstfl15.htm +whgdata\whlstfl16.htm +whgdata\whlstfl17.htm +whgdata\whlstfl18.htm +whgdata\whlstfl19.htm +whgdata\whlstfl20.htm +whgdata\whlstfl21.htm +whgdata\whlstfl22.htm +whgdata\whlstfl23.htm +whgdata\whlstfl24.htm +whgdata\whlstfl25.htm +whgdata\whlstf0.htm +whgdata\whlstf1.htm +whgdata\whlstf2.htm +whgdata\whlstf3.htm +whgdata\whlstf4.htm +whgdata\whlstf5.htm +whgdata\whlstf6.htm +whgdata\whlstf7.htm +whgdata\whlstf8.htm +whgdata\whlstg0.htm +kernel.htm +kernel_csh.htm +kernel_rhc.htm diff --git a/doc/salome/gui/KERNEL/kernel/about_salome_pro_architecture.htm b/doc/salome/gui/KERNEL/kernel/about_salome_pro_architecture.htm new file mode 100755 index 000000000..c5a349bf9 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/about_salome_pro_architecture.htm @@ -0,0 +1,224 @@ + + + + + +About SALOME architecture + + + + + + + + + + + +

About SALOME architecture

+ +

SALOME + architecture + is based on CORBA technology using distributed + system model of applications. This architecture takes the concept of multitier + client/server to its natural conclusion. The distributed system model exposes all functionality + of the application as objects, each of which can use any of the services + provided by other objects in the system, or even objects in other systems. + The architecture can also blur the distinction between "client" + and "server" because the client components can also create objects + that behave in server-like roles. This architecture provides the ultimate + in flexibility.

+ +

The distributed system architecture achieves + its flexibility by encouraging (or enforcing) the definition of specific + component interfaces. The interface of a component specifies to other + components what services are offered by that component and how they are + used. As long as the interface of a component remains constant, that component's + implementation can change dramatically without affecting other components. +

+ +

All + integrated into SALOME platform + software components (VISU, Geom, SMESH...)  implement + predefined interfaces. Each component provides data for the SALOME study in a form of links (stored in the + Study) to the specific data created and stored in the component. All components + represent CORBA servers and + it allows to run them on different host stations.

+ +

Another fundamental piece of the SALOME architecture is the use of the + Interface Definition Language (IDL). IDL, which specifies interfaces between + CORBA components, is instrumental in ensuring CORBA's language independence. + Because interfaces described in IDL can be mapped to any programming language, + CORBA applications and components are thus independent of the language(s) + used to implement them.

+ +

Additional + information about CORBA technology is available at www.omg.org +  

+ +

 

+ +

 In SALOME there + is a possibility to run definite components in the so-called batch mode + without GUI provided by IAPP component. In this case you can work with + these components with the help of Python commands and scripts.  

+ +

 

+ +

The + architecture of this all-inclusive platform for numerical components  responds + to the following objectives:

+ +

 

+ + + +

 

+ + + +

 

+ + + +

 

+ + + +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/about_salome_pro_help_system.htm b/doc/salome/gui/KERNEL/kernel/about_salome_pro_help_system.htm new file mode 100755 index 000000000..351e7dffd --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/about_salome_pro_help_system.htm @@ -0,0 +1,111 @@ + + + + + +About SALOME help system + + + + + + + + + + + +

About SALOME help system

+ +

Welcome + to SALOME help system. This on-line help has been created in HTML format + with the help of Java applets. It can be launched with the help of any + browser (Internet Explorer, Netscape Navigator and others) and on any + platform (Windows, Macintosh, Linux, and UNIX).

+ +

 

+ +

The SALOME reference + manual contains a set of topics which are divided into different chapters + describing the functionality of different modules of the SALOME platform. + This help system contains a wide variety of navigation + components and search + utilities which will help you to get acquainted with all features + of SALOME.

+ +

 

+ +

  +Related Topics + + +

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/copyright_notice.htm b/doc/salome/gui/KERNEL/kernel/copyright_notice.htm new file mode 100755 index 000000000..02ed77c88 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/copyright_notice.htm @@ -0,0 +1,134 @@ + + + + + +Copyright notice + + + + + + + + + + + +

Copyright notice

+ +

Copyright © 2003, by + Open CASCADE S.A.

+ +

 

+ +

PROPRIETARY + RIGHTS NOTICE: All rights reserved. No part of this material may be reproduced + or transmitted in any form or by any means, electronic, mechanical, or + otherwise, including photocopying and recording or in connection with + any information storage or retrieval system, without the permission in + writing from Open CASCADE S.A.

+ +

 

+ +

The + information contained in this document is subject to change without notice + and should not be construed as a commitment by Open CASCADE S.A. Open + CASCADE S.A. bears no responsibility for any errors that may appear in + this document.

+ +

 

+ +

The + software described in this document is furnished under a license and may + be used or copied only in accordance with the terms of such a license.

+ +

 

+ +

CAS.CADE + and Open CASCADE are registered trademarks of Open CASCADE S.A. Other + brand or product names are trademarks or registered trademarks of their + respective holders.

+ +

 

+ +

 

+ +

+ +

 

+ +

Immeuble Ariane

+ +

Domaine Technologique de Saclay

+ +

4, rue René Razel

+ +

91400 SACLAY - France

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/creating_a_new_study.htm b/doc/salome/gui/KERNEL/kernel/creating_a_new_study.htm new file mode 100755 index 000000000..2c0d32132 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/creating_a_new_study.htm @@ -0,0 +1,176 @@ + + + + + +Creating a new study + + + + + + + + + + + + +

Creating a new study

+ +

To create a new study:

+ +

From + the main menu select File > + New or in the + standard toolbar click icon.

+ +

 

+ +

Your study will be created + with default name Study1#1. In + SALOME you can create several studies.

+ +

 

+ +

In addition to it, you + can create several windows with different activated viewers (VTK, OCC, + Plot2d) for each study.

+ +

 

+ +

To create a new window + for a definite study:

+ +

 

+ +

1.  Make + your study active: maximize it + (if it minimized) or  click + on the top control zone of the study window

+ +

 

+ +

2.  From + the main menu select Window > New + Window and from the submenu choose the viewer, which will be activated + in your new window

+ +

 

+ +

The window for your study + will be created with a default name Study1#2.

+ +

 

+ +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/displaying_hiding_toolbars.htm b/doc/salome/gui/KERNEL/kernel/displaying_hiding_toolbars.htm new file mode 100755 index 000000000..0ae27d5cd --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/displaying_hiding_toolbars.htm @@ -0,0 +1,137 @@ + + + + + +Displaying/hiding toolbars + + + + + + + + + + + + +

Displaying/hiding toolbars

+ +

All toolbars in the SALOME application are context-sensitive. + Uploading of a definite component (Geom, VISU, SMESH etc.) will automatically + add some additional toolbars specific to this component.

+ +

 

+ +

To display/hide a + definite toolbar:

+ +

 

+ +

In the main menu choose + View > Toolbars, and from this + submenu mark or unmark the toolbar, you would like to display/hide.

+ +

 

+ +

By default all toolbars + are located on the top of the SALOME desktop. But you can relocate toolbars + by dragging with the mouse and dropping it in any place of the window. +

+ +

 

+ +

 

+ +

 

+ +

  +Related Topics + + +

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/displaying_studies.htm b/doc/salome/gui/KERNEL/kernel/displaying_studies.htm new file mode 100755 index 000000000..babf0b698 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/displaying_studies.htm @@ -0,0 +1,187 @@ + + + + + +Displaying studies + + + + + + + + + + + + +

Displaying studies

+ +

In SALOME + there are several options allowing to display in different ways + your study windows in SALOME Desktop.

+ +

 

+ +

To make a cascade representation of several study windows:

+ +

 

+ +

From the main menu select + Window > Cascade.

+ +

 

+ +

It will look like as + follows:

+ +

 

+ +

+ +

 

+ +

Tiling of several + study windows:

+ +

 

+ +

From the main menu select + Window > Tile.

+ +

 

+ +

It will look like as + follows:

+ +

 

+ +

                    

+ +

 

+ +

 

+ +

To switch between + several study windows:

+ +

 

+ +

From the main menu choose + Window and select by  name + a study window for activation. This window will be displayed, maximized + and activated.

+ +

 

+ +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/editing_studies.htm b/doc/salome/gui/KERNEL/kernel/editing_studies.htm new file mode 100755 index 000000000..a9f631cda --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/editing_studies.htm @@ -0,0 +1,150 @@ + + + + + +Editing studies + + + + + + + + + + + + +

Editing studies

+ +

SALOME + has some additional features allowing to edit your study within + a definite component: Undo/Redo + functionality and Copy/Paste functionality + (currently used in GEOM, VISU).

+ +

 

+ +

To undo/redo an operation:

+ +

 

+ +

In the main toolbar + click one of the icons or from the main menu choose Edit > Undo/Redo option.

+ +

 

+ +

To copy/paste a definite + object:

+ +

 

+ +

In the main toolbar + click one of the icons or from the main menu choose Edit > Copy/Paste option.

+ +

 

+ +

 

+ +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/getting_properties_of_the_study.htm b/doc/salome/gui/KERNEL/kernel/getting_properties_of_the_study.htm new file mode 100755 index 000000000..890631a35 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/getting_properties_of_the_study.htm @@ -0,0 +1,185 @@ + + + + + +Getting properties of the study + + + + + + + + + + + + +

Getting and setting study properties

+ +

To view the properties + of the current study:

+ +

 

+ +

From the main menu select + File > Properties option. The + following dialog box will appear:

+ +

 

+ +

+ +

 

+ +

This dialog box gives + complete information about your study.

+ +

 

+ +

To change the name of the study author:

+ +

 

+ +

In this dialog box click + on the Author field and enter + a new name.

+ +

 

+ +

To view the list of changes made with your study:

+ +

 

+ +

In this dialog box click + on the Modifications field and + scroll it down. Each record contains the following information: date and + time of modification of the study, name of the user, who has made these + changes.    

+ +

 

+ +

To lock your study for modifications:

+ +

 

+ +

In the dialog box shown + on the picture above click on the Locked + field and choose Yes item. +

+ +

 

+ +

In this case your study + will be locked for any kind of modifications for all users. Next time + you try to edit it, you will see the following warning message:

+ +

 

+ +

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/getting_started2.htm b/doc/salome/gui/KERNEL/kernel/getting_started2.htm new file mode 100755 index 000000000..5df59302b --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/getting_started2.htm @@ -0,0 +1,134 @@ + + + + + +Getting started2 + + + + + + + + + + + +

Getting started

+ +

Start the SALOME application, the following + initial desktop window will appear:

+ +

 

+ +

+ +

In general, the SALOME application + is destined for performance of different numerical calculations and  visualization + of the resulting data. For that purpose, in the SALOME environment the + following notion is used  - + Study.

+ +

Study represents a working document in + which you can realize all operations connected with the SALOME functionality. +

+ +

SALOME is a multi-study platform. It means + that simultaneously you can work with several studies.      

+ +

 

+ +

To proceed working in SALOME you should create or open a new + study.  

+ +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/introduction.htm b/doc/salome/gui/KERNEL/kernel/introduction.htm new file mode 100755 index 000000000..298c32659 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/introduction.htm @@ -0,0 +1,140 @@ + + + + + +Introduction + + + + + + + + + + + +

+ +

Introduction

+ +

Welcome to SALOME software application! + Modern technological products (cars, structures, electrical or electronic + equipment) are getting with every year more and more complex and must + meet increasingly severe requirements in terms of quality and performance. + For example, for structures and their environment the demands to reduce + risks and optimize costs are extremely high. It requires particularly + refined simulations concerning structural behavior and robustness to ensure + high reliability.

+ +

The + numeric modeling of a physical problem, the development of solutions and + their integration into the design process are often handled in very specific + environments. SALOME represents a generic CAD-based application for digital + simulation with "high reactivity to market evolutions and customer + expectations".

+ +

 

+ +

SALOME:

+ + + + + + diff --git a/doc/salome/gui/KERNEL/kernel/introduction_to_iapp.htm b/doc/salome/gui/KERNEL/kernel/introduction_to_iapp.htm new file mode 100755 index 000000000..e90908b55 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/introduction_to_iapp.htm @@ -0,0 +1,185 @@ + + + + + +Introduction to IAPP + + + + + + + + + + + + +

Introduction to IAPP

+ +

IAPP + (Interface Applicative (fr.) = Application Interface (eng.)) component +  represents + a common shell for all components, which can be integrated into the SALOME + platform.

+ +

 

+ +

IAPP + component in SALOME platform provides:

+ +

 

+ + + +

- + VTK viewer,

+ +

- + OCC viewer,

+ +

- + Plot2d viewer,

+ +

- + Supervision viewer.

+ +

 

+ +

 

+ +

 

+ + +Related Topics + + + + +
  + + +
  + + +
  + + +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/introduction_to_salome_pro.htm b/doc/salome/gui/KERNEL/kernel/introduction_to_salome_pro.htm new file mode 100755 index 000000000..a61cbdb8d --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/introduction_to_salome_pro.htm @@ -0,0 +1,203 @@ + + + + + +Introduction to SALOME + + + + + + + + + + + + +

Introduction to SALOME +

+ +

 SALOME + platform represents a generic open source platform for pre- and post-processing + in numeric simulations. This platform is made of reusable open-source + components, enabling to build your + own specific software or applications and integrate them.

+ +

 

+ +

+ +

 

+ +

 SALOME + combines several software components, which are built in such a way that + it allows to integrate solvers and existing meshing algorithms along with + the specification of physical properties for a given domain. The originality + of this approach is that the various components must cooperate dynamically + and be configurable.

+ +

 

+ +

SALOME platform + encapsulates the following modules:

+ +

 

+ +

+ +

 

+ +

Every + component of SALOME platform has its own function:

+ +

 

+ + + +

 

+ + + +

 

+ + + +

 

+ + + +

 

+ + + +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/navigating_topics.htm b/doc/salome/gui/KERNEL/kernel/navigating_topics.htm new file mode 100755 index 000000000..624ebb82f --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/navigating_topics.htm @@ -0,0 +1,167 @@ + + + + + +Navigating topics + + + + + + + + + + + +

Navigating topics

+ +

Topics in the SALOME + Help system include + a variety of navigation components including:

+ +

 

+ + + +

 

+ + + +

 

+ + + +

 

+ + + +

 

+ + + +

      

+ +

+Related Topics + + +

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/opening_studies.htm b/doc/salome/gui/KERNEL/kernel/opening_studies.htm new file mode 100755 index 000000000..0171322d5 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/opening_studies.htm @@ -0,0 +1,192 @@ + + + + + +Opening studies + + + + + + + + + + + + +

Opening studies

+ +

In SALOME all studies are stored in a special + format *.hdf.

+ +

 

+ +

To open an existing + study:

+ +

 

+ +

In + the main toolbar click or + from the main menu select File + > Open option. + From a standard Search File dialog box choose the required *.hdf file + and click Open + button.

+ +

 

+ +

To + load an unloaded study (see also): +

+ +

 

+ +

From the main menu select + File > Load option. In the + following dialog box select one of the studies, which has been previously + created and unloaded and click Ok + button:

+ +

 

+ +

+ +

 

+ +

After opening an existing study, you will see its structure + in the Object Browser. It will + contain the objects created with the help of different components during + the previous study session. If you right-click on one of the objects and + from the associated pop-up menu choose Open + With option, which will automatically + launch the component corresponding to this object.

+ +

 

+ +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/readme.html b/doc/salome/gui/KERNEL/kernel/readme.html new file mode 100755 index 000000000..e16bc0408 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/readme.html @@ -0,0 +1,1252 @@ + + + + + +Installation Wizard + + + + + + + + + + + +

Installing SALOME

+ + +
+ + + + + +
+ + +

Installing products with the Installation Wizard

+ +

You can run the Installation Wizard in two modes. It's root directory + contains python script runInstall.py:

+ +

[ python ] runInstall [ -g | b ] [ -f + <xml-file> ] [ -t <target-dir> ] [ -tmp <tmp-dir> ] +

+ +

 

+ + + +++ + + + + + + + + + + + + + + + + + + + + + + + + +
+

-g

+

Runs the Installation Wizard in the GUI mode. In this case only <xml-file> + key is taken into account. This option is used by default.

+

-b

+

Runs the Installation Wizard in the batch mode.

+

-f <xml-file>

+

The configuration file to be used by the Installation Wizard.  + If this parameter is missed then the script tries to define the Red + Hat version and uses corresponding xml file. For example, for the + Red Hat 8.0 config_RedHat8_0.xml  file is supposed + to be used by default. If the appropriate file is not found, config.xml + is used by default.

+

 -t <target-dir>

+

The target directory, SALOME products to be installed to. If used, overloads + target directory, given in the configuration xml file.

+

-tmp <tmp-dir>

+

The directory, which is used to contain temporary files.  If used, + overloads temporary directory, given in the configuration xml file.

+

-h

+

Prints this help information.

+ +

   +      

+ +

So, to run the Installation Wizard in the GUI mode, just type runInstall. +

+ +

 

+ +

The installation procedure can support some different Linux platforms + (currently it provides only configuration scripts for RedHat-8.0) + and various number of products. The using of configuration xml files gives + flexible way to modify the list of products to be installed by the Installation + Wizard without changing program's source code. Just create your own configuration + file and implement installation scripts for products you want to be provided + by Wizard. See modifying XML configuration file + and implementing installation scripts for the + new products for more information.

+ +

The Installation Wizard was built with using + of the Qt  library. The program contains several pages. + To navigate between pages use "Next" and "Back" + buttons in the lower part of the wizard window. "Cancel" + button closes dialog window and quits the installation procedure. To invoke + this help information click "Help" button.

+ +

Skip the first "Introduction" page by pressing "Next" + button.

+ +

In the second page you are proposed to enter the target directory where + all selected products will be installed to. You can also press "Browse..." + button and choose the folder for installation using standard Qt + browse directory dialog box.
+If the directory you want to install products does not exist you will be + prompted to confirm directory creation. If you type wrong directory path, + or if you have no permission for the directory you use, the corresponding + message box will raise.

+ +

The Installation Wizard has two modes of the installation: basic and + advanced. In the basic mode it is necessary just to enter target directory. + If you want to use advanced mode, click "More..." button. +

+ +

In the advanced mode you have the possibility to select products to + be installed (see Fig.1 ). Each product has + several options of installation: you have a possibility to use native + products, install already precompiled binaries, build product from the + sources or not installed at all. Possible options and default choice are + provided by the configuration file. You can mark the products, you want + to install, by clicking the corresponding radiobuttons in the list view + in the left part of the page. Note that some products can be installed + only together with other products (or these prerequisite products should + be already installed on your computer). The installation procedure has + a special feature to automatically mark these products in the list view. + For example, in order to install pyqt it's necessary to + have gcc, python, qt and sip + installed. Therefore all these products will be marked when you check + on pyqt. This feature can be switched off by clicking "Auto + set prerequisites products" checkbox.
+Special button in the right part of the page - "Unselect All" + - allows to reset quickly all products to the "not install" + state.
+If you want to use native Linux Red Hat 8.0 products (these are gcc, tcl, + Python, Qt, Sip and PyQt), select "use native" option. +

+ +

The box at the right side of the page displays the information about + currently highlighted product: name, version, short description (if provided), + required disk space, temporary files disk space, list of prerequisites + and user choice.

+ + + +

 

+ +

+

+ +

Figure 1: "Installation + settings" page in the advanced mode

+ +

 

+ +

The "Total disk space required:" field displays how + much disk space on the hard drive is required for installation of selected + products.

+ +

 

+ +  + +

Please, take into account + that displayed amount of required disk space is approximate and may differ + when you install products on your hard drive.

+ +

 

+ +

The installation procedure uses a special directory to store temporary + files. The "Space for temporary files:" field shows the + information about required disk space on the hard drive for extracting + and compiling of the selected products. You can change the default directory + - just type path to the folder you want to use or click on the corresponding + "Browse..." button.

+ +

 

+ +

The installation procedure also checks the available disk space on the + selected directories according to the products selected. If there is no + enough disk space on your hard drive you will see the corresponding error + message box.

+ +

 

+ +

Unfortunately, the + configure procedure has a very annoying bug under Linux platform. The + directory should be obligatory entered without spaces. For example, the + configure procedure for gcc won't work if you pass the following + parameter: --prefix="/New Folder 1". Therefore you + are strongly recommended not to use directory names containing spaces. +

+ +

 

+ +

To proceed further click "Next" button. At this moment + program will make some tests to check installation settings: if there + is enough disk space on the hard drive, if native products are preinstalled, + dependencies (prerequisites) for each product you have selected to be  + installed. If any test fails you will see corresponding warning message + box. Otherwise wizard will follow to the next page:

+ +

 

+ +


+

+ +

Figure 2: "Check + your choice" page

+ +

 

+ +

This page summarizes the installation settings you've made on the previous + pages. You can check again your choice to change it if necessary.

+ +  + +

When you are sure that everything is OK, press "Next" + button to follow to the next page.

+ +

 

+ + + +

+ +

Figure 3: "Installation + progress" page

+ +

 

+ +

To start installation of the selected products click "Start" + button. It launches the shell installation script and you will be able + to see the output of the script in the topmost dialog's frame. In case + of any installation problems (for example, you have accidentally removed + the temporary directory) the script will ask you: "Would you like + to continue : (Y,N) ?". You can answer this question by typing + [Y] or [N] in the middle text edit control frame.

+ +

 

+ +  + +

press [Enter] when you finish + typing data.

+ +

 

+ +

The "Installation Status" frame window shows you the + progress of installation. It contains a list of all selected products + with brief descriptions. "Waiting" + description means that installation of this product have not started yet. + Currently installing product is marked as "Processing". + All installed products have "Completed" + description.

+ +

You can abort installation and close the installation procedure using + "Cancel" button. It sends the signal "SIGTERM" + to the shell script. The script has a signal handler and will try to clear + all temporary files. The process of removing temporary files can take + some time, so the installation wizard will wait 3 seconds before closing. +

+ +

 

+ +

At the end of installation (all selected products have been installed + successfully) you can go back to the previous pages to start a new installation + or click "Next" button to go the Readme page:

+ +


+

+ +

Figure 4: "Finish + installation" page

+ +

 

+ +

In this page you can read important information about the Instalation + Wizard itself and some hints: how to run and test SALOME or how to build + SALOME from the sources. This is the contents of the README file which + you can find in the root directory of the Installation Wizard.

+ +  + +

You can also launch SALOME Desktop from this page by clicking "Launch + SALOME" button.

+ +

During the process of installation the script creates some environment + files to simplify procedure of launching SALOME. These shell scripts set + all necessary environment variables for all products you have installed. + To learn how installation scripts collects the environment, see  here. These files are: salome.csh + salome.sh + in the KERNEL + module sources and KERNEL module binaries + root directories and env_products.csh + env_products.sh in + the target directory.

+ + +
+ + +

Notes on check products + version procedure

+ +

Unfortunately under Linux platform there is no exact algorithm to identify + the product's version. The table below contains the information relating + to checking preinstalled products for the Linux.RedHat 8.0 platform

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Product

+

Algorithm of checking

+

Preliminary steps before launching
+of installation procedure

+

Notes

+

gcc 3.2

+

ver=`/usr/bin/gcc --version | grep 'gcc (GCC) .*' | cut -b 11-13`

+

-

+

ver should be equal 3.2
+It is recommended to use native gcc on Linux RedHat 8.0

+

tcl 8.3

+

existence of TCLHOME
+existence of tclsh8.3
+existence of wish8.3
+existence of libtcl8.3.so
+existence of libtk8.3.so
+existence of libtclx8.3.so
+existence of libtkx8.3.so

+

set TCLHOME if you have preinstalled version of tcl.
+set LD_LIBRARY_PATH on a directory where libs can be found.

+

It is recommended to use native tcl on Linux RedHat 8.0

+

boost 1.30.2

+

ver=`egrep 'BOOST_VERSION [0-9]+' ${BOOSTDIR}/boost/version.hpp | sed + 's/.*BOOST_VERSION \([0-9]\+\)/\1/g'`

+

set BOOSTDIR if you have preinstalled version of boost

+

It is impossible to use native BOOST and to install BOOST from binaries.

+

Cascade 5.1.2

+

existence of CASROOT environment variable

+

set CASROOT if you have preinstalled version of CASCADE

+

Unfortunately we can't say anything exactly about CASCADE 5.1.2 and + we only check CASROOT environment variable. If you have problem with preinstalled + version of CASCADE reinstall it

+

Python 2.2.1

+

existence of PYTHONHOME
+isPython=`which python`
+ver=`python -V`

+

set PYTHONHOME to root Python folder
+set PATH on a directory where python can be found

+

Python should exist and ver should be equal to 2.2.1
+It is recommended to use native Python on Linux RedHat 8.0

+

Mesa 3.4.2

+

existence of libGL.so.1.2.030402

+

set LD_LIBRARY_PATH on a directory where libGL.so.1.2.030402 can be + found

+

You have a possibility to build products (vtk & qt) with Mesa drivers + from the package supplied with this installation procedure or to use OpenGL + drivers installed on your computer locally. This check procedure concerns + only supplied Mesa driver.

+

Swig 1.3.17

+

isSwig=`which swig`
+ver=`swig -version`
+ver=`echo $ver | awk '{print $3}'`

+

set PATH on a directory where swig can be found

+

Swig should exist and ver should be equal to 1.3.17

+

Qt 3.0.5

+

existence of QTDIR
+existence of libqt-mt.so.3.0.5

+

set QTDIR if you have preinstalled version of qt

+

We try to find libqt-mt.so.3.0.5 in ${QTDIR}/lib folder.
+You should set MESA_HOME only if you have preinstalled version of Mesa + 3.4.2.
+It is recommended to use native Qt on Linux RedHat 8.0

+

Qwt 0.4.1

+

existence of QWTHOME
+existence of libqwt.so.0.4.1

+

set  QWTHOME if you have preinstalled version of qwt

+

We try to find libqwt.so.0.4.1 in the ${QWTHOME}/lib folder. 

+

Hdf 5-1.4.4

+

existence of HDF5HOME
+existence of libhdf5.so.0.0.0
+existence of libhdf5.settings

+

set HDF5HOME if you have preinstalled version of hdf

+

We try to find libhdf5.so.0.0.0 and libhdf5.settings in ${HDF5HOME}/lib + folder.
+File libhdf5.settings should contain the following entry:
+HDF5 Version: 1.4.4

+

Med 2.1.6

+

existence of MED2HOME
+existence of libmed.so.0.0.0

+

set MED2HOME if you have preinstalled version of med

+

Unfortunately we can't check version number.
+We try to find libmed.so.0.0.0 in ${MED2HOME}/lib folder.
+If you have problem with preinstalled version of med reinstall it.

+

Vtk 4.2

+

existence of VTKHOME
+existence of libvtkCommon.so

+

set VTKHOME if you have preinstalled version of vtk

+

Unfortunately we can't check the version number.
+We try to find libvtkCommon.so in ${VTKHOME}/lib/vtk folder.
+If you have problem with preinstalled version of vtk reinstall it.

+

Netgen 4.3

+

existence of NETGENROOT

+

set NETGENROOT if you have preinstalled version of Netgen.

+

Unfortunarely we can't find anything about netgen version.
+We just check if NETGENROOT environment varible is set.

+

OmniORB 3.0.5,
+OmniORBpy 1.5,
+OmniNotify 1.2

+

existence of OMNIORBDIR
+existence of libomniORB3.so.0.5
+existence of _omnipymodule.so.0.5
+existence of libCOSNotify3.so.0.5
+existence of notifd
+existence of THIS_IS_omniORB_3_0_5
+existence of THIS_IS_omniNotify_1_2
+existence of THIS_IS_OMNIORBPY_1_5

+

set OMNIORBDIR if you have preinstalled version of omni

+

We try to find libomniORB3.so.0.5, _omnipymodule.so.0.5 and libCOSNotify3.so.0.5 + in ${OMNIORBDIR}/lib/i586_linux_2.0_glibc2.1 folder.
+We try to find notifd in ${OMNIORBDIR}/bin/i586_linux_2.0_glibc2.1 folder. +
+Additional checking - omni add special files THIS_IS_...
+We try to find THIS_IS_omniORB_3_0_5 in ${OMNIORBDIR} folder.
+We try to find THIS_IS_omniNotify_1_2 in ${OMNIORBDIR}/src/services/omniNotify. +
+We try to find THIS_IS_OMNIORBPY_1_5 in ${OMNIORBDIR}/src/lib/omniORBpy + folder.

+

Numeric 22.0

+

existence of Numeric folder
+existence of _numpy.so

+

set PYTHONHOME if you have preinstalled version of python

+

Unfortunately we can't check the version number.
+We try to find Numeric folder in ${PYTHONHOME}/lib/python2.2/site-packages/Numeric + folder.
+If you have problem with preinstalled version of numeric 22.0 reinstall + it.

+

Sip 3.3.2

+

existence of SIPDIR
+existence of sip
+existence of libsip.so.9.1.0

+

set SIPDIR to directory where you have sip preinstalled

+

We try to find sip and libsip.so.9.1.0 in $SIPDIR folder if you set + SIPDIR , otherwise searching is done using $PATH and $LD_LIBRARY_PATH + accordingly.
+It is recommended to use native Sip on Linux RedHat 8.0

+

PyQt 3.3.2

+

existence of PYQTDIR
+existence of libqtxmlcmodule.so.1.0.0

+

set PYQTDIR to directory where you have sip preinstalled

+

Unfortunately we can't check the version number.
+We try to find libqtxmlcmodule.so.1.0.0 in $PYQTDIR folder if you set PYQTDIR, + otherwise searching is done using $LD_LIBRARY_PATH .
+If you have problem with preinstalled version of PyQt 3.3.2 reinstall it. +
+It is recommended to use native PyQt on Linux RedHat 8.0

+

HappyDoc 2.1

+

existence of happydoc
+ver=`happydoc | grep "HappyDoc version 2.1"`

+

set PYTHONHOME if you have preinstalled version of python

+

We try to find happydoc in $PYTHONHOME/bin folder.
+ver should not be empty.
+This product is not obligatory. It was added only for your comfort.

+

Doxygen 1.3-rc2

+

existence of doxygen
+existence of doxysearch
+existence of doxytag
+existence of doxywizard

+

set QTDIR if you have preinstalled version of qt
+set PATH on a directory where doxygen, doxysearch, doxytag and doxywizard + can be found

+

Unfortunately we can't check the version number.
+It's necessary to have compiled Qt in order to build doxywizard.
+If you have problem with preinstalled version of doxygen 1.3-rc2 reinstall + it.
+This product is not obligatory. It was added only for your comfort.

+

Graphviz 1.9

+

existence of dot

+

add GraphViz's bin directory to the PATH environment variable

+

Unfortunately we can't check the version number.
+We try to find dot program in the $PATH

+

MODULE binaries
+(MODULE=KERNEL,

+

GEOM, ...)

+

existence of MODULE_ROOT_DIR
+existence of VERSION file
+ver=`cat $MODULE_ROOT_DIR/bin/salome/VERSION | awk -F: '{print $2}' | tr + -d '[:space:]'`

+

set MODULE_ROOT_DIR if you have preinstalled binaries of MODULE version + 1.4.x

+

MODULE binaries should exist and ver should be equal to 1.4.x

+

MODULE sources
+(MODULE=KERNEL,

+

GEOM, ...)

+

existence of MODULE_SRC_DIR
+existence of VERSION file
+ver=`cat $MODULE_SRC/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]'`

+

set MODULE_SRC_DIR if you have preinstalled sources of MODULE version + 1.4.x

+

MODULE sources should exist and ver should be equal to 1.4.x

+ +

 

+ +

For native products installation + procedure sets proper environment variables itself, and you do not need + to set such variables like, e.g. TCLHOME or PYTHONHOME. +
+If you have native products installed to different from default directories + (not /usr/bin, /usr/lib...), it is recommended to follow + above description. Or you should set properly $PATH and $LD_LIBRARY_PATH + variables before starting Installation + Wizard. Otherwise installation script will fail to find preinstalled products. +

+ + +
+ + +

Pick up the environment

+ +

Please, read carefully the following information. This section describes + how the installation procedure collects environment.

+ +

After installing each product shell script creates in the product root + folder special environment file. The name of the file is generated from + the name of product by the following scheme: env_<product_name>.sh. + This file includes all necessary product settings. For example for Vtk + the file is env_Vtk.sh. Environment files allows to pick up all + environment settings which are necessary to build and launch SALOME. When + installing SALOME sources and/or binaries, installation procedure picks + up all the settings files and generate two scripts: salome.sh and + salome.csh for sh and csh correspondingly. Such approach helps + to save time when reinstalling products and you may not to care about + setting all environment variables manually to build/launch SALOME. What + you need is just to use one of these scripts.

+ +

This concerns also those products which are not currently installed. + For example, you install some SALOME binaries to the directory where you + have previously installed other products.  Installation procedure + still tries to collect environment files from the target directory if + it find necessary products there. If some product is not found in the + target directory the corresponding section of salome.sh/salome.csh + files will be skipped.
+For native products (gcc, tcl, python, qt, sip, pyqt for RedHat-8.0) + instal script tries to find them using $PATH / $LD_LIBRARY_PATH + variables and then in the system default directories (/usr/bin, /usr/lib + etc., depending on the product).

+ +

In any case you may edit salome.* files after installation procedure + finishes, as you want.

+ + +
+ + +

Modifying XML configuration + file

+ +

You can create your own configuration. Installation Wizard then can + take it as command line argument to provide list of products you want + to install with it. The list of products and some another settings for + the Installation Wizard are provided in xml file. The default file which + Installation Wizard looks for if no command line arguments ar given, is + config.xml. This section describes the format of configuration + file.
+Xml tags are in bold blue, optional sections/tags are in brackets.

+ +

 

+ +

<document> +
+   
[
<config [version=<install_wizard_version>]
+                  + [caption=<install_wizard_caption>]

+                  + [copyright=<install_wizard_copyright>]

+                  + [license=<install_wizard_license_info>]

+                  + [os=<target_paltform>]
/>]
+   
[
<path [targetdir=<target_directory>]
+                + [tempdir=<temp_directory>]
/>]
+    [
<product name=<product_name>
+                      + version=<product_version>

+                +       [description=<product_description>]
+                      + install=<installation_mode>

+                      + supported=<supported_installation_modes>

+                      + disable=<disable_flag>
+                      + [pickupenv=<pickup_env_flag>]

+                      + dependancies=<list_of_prerequisites>
 
+                     +  installdiskspace=<install_disk_space>

+                     +  temporarydiskspace=<tmp_disk_space>

+                     +  script=<installation_script_name>
/>]
+    [
<product ... />]
+    .
.. +
+</document>

+ +

<config> section

+ +

This is optional section - contains general information + Installation Wizard itself.

+ + + +

 

+ +

<path> section

+ +

 

+ +

This is optional section - contains default directories.

+ +

 

+ + + +

 

+ +

<product> section

+ +

 

+ +

This section describes product to be installed with the Installation + Wizard. All tags are obligatory. Products appears in the products tree + and are installed in the order they are described in the configuration + file. It is recommended to insert native products at the top of the list + before all other products.

+ + 
+ + + +  + +

If you add new products + to be installed with Installation Wizard, you should also provide installation + script for this product. See next section for more details.

+ + +
+ + +

Implementing installation + scripts for the new products

+ +

When you want some product to be installed with the Installation Wizard, + you should add it's description it in the configuration + file and create bash installation script, following described in this + section rules.
+There are some obligatory functions to be provided in this installation + script. These functions are automatically called by master installation + script or/and GUI shell when it is necessary.
+File common.sh contains some service functions which can be used + in your installation script, like make_env(), make_dir(), + try_existing(), sort_path(), find_in_path(), etc. +

+ + 
+ + + +  + +

The calling signature of the product installation + script is following:
+<product_script_name> <function_name> <temp_folder> <products_directory> + <target_directory> <dependancies> <product_name>
+

+ +

where
+<product_script_name>
- installation script name (described in + configuration xml file);

+<function_name>
- the name of function, corresponding to the + selected installation mode: try_native, install_source, install_binary + or try_preinstalled;

+<temp_folder>
- temporary files directory;

+<products_directory>
- directory where the sources/binaries package + can be found. You should provide sources package in the <Install_Wizard_root_directory>/Products/SOURCES + directory and binaries package  in the <InstallWizard_root_directory>/Products/BINARIES/<os_version>, + where <os_version> is target platform description, which appears + in the corresponding section of the configuration + xml file.

+<target_directory>
- root target directory where product should + be installed to;

+<dependancies>
- single-quoted list of prerequisite products, + separated by space;

+<product_name>
- product name itself.

+ +

 

+ +

med-2.1.6.sh install_binary /tmp/work ./Products/BINARIES/RedHat8.0 + /usr/salome 'gcc Hdf' med

+ +

Copy created script into the <Install_Wizard_root_directory>/config_files + sub-directory where all installation scripts are stored. Installation + Wizard will automatically search and call your script during the installation + procedure.

+ + +
+ + +  + +
  + + + + + diff --git a/doc/salome/gui/KERNEL/kernel/running_salome_pro.htm b/doc/salome/gui/KERNEL/kernel/running_salome_pro.htm new file mode 100755 index 000000000..8992914d6 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/running_salome_pro.htm @@ -0,0 +1,295 @@ + + + + + +Running SALOME + + + + + + + + + + + + +

Running SALOME

+ +

To launch SALOME:

+ +

 

+ +

1. Install the SALOME package into a definite + directory (ex. SALOME) on your + hard disk. It is preferable if you use the special + installation procedure allowing to install the  SALOME + platform and all corresponding applications.

+ +

 

+ +

2. + The installation shell script will create a special file: env.csh + (CShell file) in your SALOME directory. + This file contains all environment variables necessary for launching SALOME + platform with other application products provided with SALOME installation + package. You have a possibility to add one of them into your profile if + you enter in the command console the following:

+ +

 

+ +

source + env.csh

+ +

 

+ +

During + the installation procedure you have a possibility to + set your profile automatically.  

+ +

 

+ +

 

+ +

3. Launch SALOME platform, using the following + Python script located in the SALOME/KERNEL/bin/salome + directory:

+ +

 

+ + + +

 

+ + + +++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Options

+

Description

+

--help or + -h   

+

print this help

+

 

+

--gui or + -g   

+

launch with GUI

+

 --terminal or + -t      

+

launch without GUI in batch mode

+

--logger or + -l   

+

redirection of log messages into a definite file

+

--xterm or + -x

+

the servers open an xterm window and log messages are displayed in this + window

+

--modules=module1,module2,... + or -m=module1,module2,...

+

list of SALOME modules which will be loaded into the module catalogue

+

--containers=cpp,python,superv

+

or -c=cpp,python,superv

+

launch of cpp, python and supervision containers

+

--portkill or + -p

+

kill SALOME launched with the current port

+

--killall or + -k    

+

kill SALOME

+ +

 

+ +

+ If the runSalome.py + script + is launched without prompting any options, they will be taken by default + from the xml file salome.launch, + which has been automatically created in your home directory: HOME/.salome/. + If you are constantly launching SALOME with some specific options which + are different from default ones, you can edit this file according to your + requirements. So the next time you run SALOME, you won't have to enter + these numerous command console options.    

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/salome_pro_desktop.htm b/doc/salome/gui/KERNEL/kernel/salome_pro_desktop.htm new file mode 100755 index 000000000..deb9ef61f --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/salome_pro_desktop.htm @@ -0,0 +1,262 @@ + + + + + +SALOME desktop + + + + + + + + + + + +

SALOME Desktop

+ +

The main SALOME Desktop + consists of the following sections and toolbars:

+ +

 

+ +

+ +

Basic parts of the SALOME Desktop:

+ +

 

+ +

Main + menu - It's a set of context-sensitive menus, which will be updated + according the functionality of the loaded component. In general,  these + menus contain all functional options of SALOME platform.

+ +

Standard + Toolbar - This toolbar contains icons allowing creating/saving + studies, correcting mistakes, copying/pasting objects

+ +

Components + Toolbar - This toolbar is destined for uploading components in + SALOME platform

+ +

Viewer + Toolbar - It's a set of tools destined for visualization of the + presentations in the viewer.

+ +

 

+ +

These tools are context-sensitive. For different viewers combination + of these tools is different.

+ +

 

+ +
+ + ++++++ + + + + + + + + + + + + + + + + + + + + + +
+

+

Camera dump

+

Saves images from the viewer in *.bmp, *.png, *.jpg, *.jpeg + files  

+

+

Shows/Hides Trihedron

+

+

Fits all displayed objects to the size of the window  

+

+

Fits within rectangle.

+

 Displays + in the whole window of the viewer outlined area of the presentation

+

 

+

+

Zooming of presentations

+

 

+

+

Panning of presentations in the window

+

+

Rotation of presentations in 3d space

+

+

Global panning

+

+

Front view of presentations

+

+

Back view of presentations

+

+

Top view of presentations

+

+

Bottom view of presentations

+

+

Left view of presentations

+

+

Right view of presentations

+

+

Resets to initial position

+
+

 

+ +

Parts of  the + study window:

+ +

 

+ +

Object Browser / UseCase Browser - Management + of objects created or imported into SALOME application

+ +

Viewer + - This window is destined for visualization of presentations. In + SALOME the following viewers are integrated: VTK, OCC, Plot2d. +

+ +

Python + console - Window for Python interpreter. This window functions + like a standard document: the pop-up menu invoked by right-click in this + window gives access to Copy/Paste/SelectAll/ClearAll + options.

+ +

Output + messages - This window displays all output messages produced by + SALOME during performance of operations. This window functions like a + standard document: the pop-up menu invoked by right-click in this window + gives access to Copy/SelectAll options.

+ +

 

+ +

For your convenience, the whole study window as well as all + its parts can be resized / minimized + / maximized.

+ +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/saving_a_study.htm b/doc/salome/gui/KERNEL/kernel/saving_a_study.htm new file mode 100755 index 000000000..b12edd635 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/saving_a_study.htm @@ -0,0 +1,252 @@ + + + + + +Saving a study + + + + + + + + + + + + +

Saving and closing studies

+ +

In SALOME + a study can be saved in HDF + (by default) or ASCII files (see also: Setting ASCII save option).

+ +

 

+ +

You can also specify  two + options of saving your study:

+ +

 

+ + + +

 

+ +

To save an existing + study :

+ +

 

+ +

In + the main toolbar click or + from the main menu select File + > Save as option. + Your study will be automatically updated.

+ +

 

+ +

If your study hasn't been + previously saved, this option will call the standard Search File dialog + box where you can enter the name for your study and save it.

+ +

 

+ +

To save a study with + a new name:

+ +

 

+ +

From the main menu select + File > Save as option. In the + standard Search File dialog box enter a new name for your study and click + Save button.

+ +

 

+ +

To close a study:

+ +

 

+ +

From + the main menu select File > + Close option + or click on the cross in the upper right corner of the study window.

+ +

 

+ +

If your study hasn't been + previously saved, this option will call the following dialog box with + several options:

+ +

 

+ +

+ +

 

+ +

Unload + option allows to unload your current study from the SALOME Desktop. + In the same working session you can  reload + it again (see: Opening studies). But + if you quit the SALOME application, all changes in the unloaded study + will be LOST.

+ +

 

+ +

To close a definite + study window:

+ +

 

+ +

Click on the small cross + button in the right upper corner of the study window. If it is the last + study window this operation will result in closing of the whole study.

+ +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/setting_preferences.htm b/doc/salome/gui/KERNEL/kernel/setting_preferences.htm new file mode 100755 index 000000000..c8de5bbb2 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/setting_preferences.htm @@ -0,0 +1,243 @@ + + + + + +Setting preferences + + + + + + + + + + + + +

Setting preferences

+ +

In SALOME + you can set the preferences, which will be valid for the whole + study session.

+ +

 

+ +

In the main menu select + Preferences, the following submenu + will appear:

+ +

 

+ +

              

+ +

 

+ + + +

 

+ +

+ +

 

+ +

- + Displays/hides Entry, IOR columns

+ +

- Displays/hides + Value column

+ +

- Displays/hides Interface + Applicative (folder containing all study windows created within + the current study session),

+ +

- + Chronological sort of objects displayed + in the Object Browser.

+ +

- Show UseCase Browser - displays/hides + UseCase Browser

+ +

- + No autosize columns -  This + item allows to disable/enable auto resizing of columns of the Object Browser +     

+ +

 

+ + + +

The + preferences, set during the current study session, are automatically saved + at the end of the session. So, next time you launch SALOME application, + these preferences will be restored.

+ +

 

+ +

Depending on the currently loaded component, the Preferences + menu may contain a submenu with the name of this component allowing + to set its own preferences.

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/using_catalog_generator.htm b/doc/salome/gui/KERNEL/kernel/using_catalog_generator.htm new file mode 100755 index 000000000..b254694b7 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/using_catalog_generator.htm @@ -0,0 +1,223 @@ + + + + + +Using Catalog Generator + + + + + + + + + + + + +

Using Catalog Generator + (for advanced users)

+ +

SALOME + platform is an open platform for integration of your custom components, + which can used in the same way as typical modules provided in the standard + installed package. The Catalog Generator + tool serves for implementation of the interface of your custom + component. It allows to generate from IDL description of your component + interface its xml description.  The + component xml description allows SALOME application to know about the + component and its services and provides the possibility to call the component + services, for example, inside SUPERVISION module.

+ +

If you have a look at runSalome, runSalomeWithPort + scripts running SALOME application, which are stored in build/bin directory + you will see that SALOME_ModuleCatalog_Server is started with two xml + files as its input parameters: CatalogModuleGeneral.xml + and CatalogModulePersonnel.xml. + These two files store the descriptions of interfaces and services of all + components, provided with typical SALOME package. To add a new component + into SALOME platform you should either update one of these existing xml + files with generated xml description of your component or create a new + one.

+ +

 

+ +

To open the Catalog Generator:

+ +

 

+ +

From the main menu choose Tools + > Catalog Generator, the following dialog box will appear:

+ +

 

+ +

+ +

 

+ +

 

+ +

In + this dialog box you can specify:

+ +

 

+ + + +

 

+ +

If you have chosen to create a new xml file containing the + description of your component, don't forget to specify it as input parameter + for SALOME_ModuleCatalog_Server in the file, you are using as a running + script of SALOME platform (in runSalomeWithPort, for example).

+ +

 

+ +

 When + launching SALOME next time you will see your module alongside other components.

+ +

 

+ +

You can use the Catalog + Generator tool, if you would like to test + the functionality of your new component. After implementation of your + component interface, launch SUPERVISION module where you can try using + the services of your new component. (see also: Adding factory nodes)

+ +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/using_left-hand_tabs.htm b/doc/salome/gui/KERNEL/kernel/using_left-hand_tabs.htm new file mode 100755 index 000000000..8c1b49913 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/using_left-hand_tabs.htm @@ -0,0 +1,161 @@ + + + + + +Using left-hand tabs + + + + + + + + + + + +

Using left-hand tabs

+ +

SALOME Help system includes + the following left-hand tabs:

+ +

 

+ + + +

 

+ + + +

 

+ + + +

 

+ + + +

     

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/using_object_browser.htm b/doc/salome/gui/KERNEL/kernel/using_object_browser.htm new file mode 100755 index 000000000..a0cd06481 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/using_object_browser.htm @@ -0,0 +1,219 @@ + + + + + +Using Object Browser + + + + + + + + + + + + +

Using Object Browser

+ +

The Object + Browser in SALOME is destined for displaying the structure of the + current study in a tree-like form. It contains:

+ +

 

+ + + +

 

+ +

The Object Browser is + destined for getting quick access to different objects created during + SALOME session. All pop-up menu associated with the objects displayed + in the Object Browser are context-sensitive. So it depends on a definite + currently loaded SALOME component what options you will see in the pop-up + menu, if you right-click on definite object in the Object Browser.

+ +

 

+ +

The Object Browser may contain supplementary + attributes of the objects displayed in additional columns. By default, + these columns are not displayed - displaying/hiding these columns is possible + through setting study + preferences.

+ +

 

+ + + +

 

+ +

The attributes Entry, IOR, + Reference entry  are + only for debugging purposes in the framework of SALOME application.

+ +

 

+ + + +

 

+ +

                   

+ +

 

+ +

In the Object Browser you can apply to + the objects an ascending or descending sorting + according to one definite attribute.

+ +

 

+ +

To sort the objects by one of the attributes:

+ +

 

+ +

Click on the column + of this attribute. An arrow down shows that the sorting is descending, + an arrow up - ascending.

+ +

 

+ +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/using_registry.htm b/doc/salome/gui/KERNEL/kernel/using_registry.htm new file mode 100755 index 000000000..9e1551fc0 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/using_registry.htm @@ -0,0 +1,204 @@ + + + + + +Using Registry tool + + + + + + + + + + + + +

Using Registry tool

+ +

Registry + tool is in the SALOME platform is destined for providing information about + the processes (components), which have ever been launched in the current + study session.  

+ +

 

+ +

 

+ +

To view the Registry:

+ +

 

+ +

From the main menu choose + Tools > Registry, the following + dialog box will appear:

+ +

 

+ +

+ +

 

+ +

Running + tab of this dialog box displays a list of the currently started processes + (components) with supplementary information on each of them divided into + columns:

+ +

 

+ +

- Component: + name of the started component

+ +

- PID: + process identification number

+ +

- User + Name: name of the user launching the component

+ +

- Machine: + name of the machine, on which the process has been started

+ +

- begins: + date and time of the starting of the component

+ +

- hello: + date and time of the last call to the component

+ +

 

+ +

History + tab displays a list of all processes, which have ever been launched within + this study session. It contains the same supplementary information on + each of the processes (components).

+ +

 

+ +

Refresh + button allows to refresh the current list of processes (components).

+ +

 

+ +

Interval + button allows to set an interval for refreshment of the current list of + processes (components).

+ +

 

+ +

Help + displays a help message on this tool

+ +

 

+ +

To display complete information on a definite process (component):

+ +

 

+ +

Double-click on this + process (component). The following window will appear:

+ +

 

+ +

+ +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel/using_usecase_browser.htm b/doc/salome/gui/KERNEL/kernel/using_usecase_browser.htm new file mode 100755 index 000000000..569861b3b --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel/using_usecase_browser.htm @@ -0,0 +1,211 @@ + + + + + +Using UseCase Browser + + + + + + + + + + + + +

Using UseCase Browser

+ +

In comparison with the Object + Browser, the UseCase Browser is + destined for displaying  a + user-defined structure of the current study. All objects created during + SALOME session are displayed the Object Browser and copied to the UseCase + Browser. But in the UseCase Browser they are displayed without any structure. + In the UseCase Browser you can create your own structure of the study. +

+ +

 

+ +

To view the UseCase Browser:

+ +

 

+ +

Click on the tab UseCase Browser at the bottom of the + study window:

+ +

 

+ +

+ +

 

+ +

On this picture you can + see that all objects are displayed on one level and under one folder Use cases.

+ +

 

+ +

   Creates + a new object under the current object with a default name New + object. The same operation is possible if you right-click on the + object, which you would like to be current for a new object, and from + the pop-up menu select Use case > + New object.

+ +

These objects can be + renamed: right-click on it and from the pop-up menu select Use + case > Rename.

+ +

 

+ +

   Adds + a selected object to the current object. This operation is also possible + if you drag and drop any object to another object. In this case the second + object will be automatically set as current.

+ +

 

+ +

  Removes + the selected object with all child objects.

+ +

 

+ +

  Clears + all objects from the UseCase Browser.

+ +

 

+ +

  Set + the selected object current (root) for other objects. You can add one + or several objects to the current object.

+ +

 

+ +

On the following picture + you can see a custom tree-like structure of objects created in the UseCase + Browser:

+ +

 

+ +

+ +

 

+ +

The UseCase Browser  is + also destined for getting quick access to different objects in the user-defined + structure of the study. All pop-up menu associated with the objects displayed + in the UseCase Browser are context-sensitive. So it depends on a definite + currently loaded SALOME component what options you will see in the pop-up + menu (besides the options allowing to modify the structure), if you right-click + on definite object in the UseCase Browser.

+ +

 

+ +

 

+ +

 

+ +

+Related Topics + + +

+ +

 

+ +

 

+ +

 

+ +

   

+ + + + diff --git a/doc/salome/gui/KERNEL/kernel_csh.htm b/doc/salome/gui/KERNEL/kernel_csh.htm new file mode 100755 index 000000000..23afeaa1d --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel_csh.htm @@ -0,0 +1,106 @@ + + +KERNEL + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/kernel_rhc.htm b/doc/salome/gui/KERNEL/kernel_rhc.htm new file mode 100755 index 000000000..65674f4f8 --- /dev/null +++ b/doc/salome/gui/KERNEL/kernel_rhc.htm @@ -0,0 +1,106 @@ + + +KERNEL + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/robohhre.lng b/doc/salome/gui/KERNEL/robohhre.lng new file mode 100755 index 000000000..297538b0b --- /dev/null +++ b/doc/salome/gui/KERNEL/robohhre.lng @@ -0,0 +1,101 @@ +[GlossaryTab] +TabCaption=&Glossary +TermCaption=&Term +DefinitionCaption=&Definition For: + +[BrowseSequence] +PreCaption=Previous +PreTooltip=Previous Topic +NextCaption=Next +NextTooltip=Next Topic +BlockTooltip=Select Block + +[Common] +Contents=Contents +Index=Index +Search=Search +Glossary=Glossary +Logo/Author=Powered By +Show=Show +Hide=Hide +SyncToc=SyncToc +Prev=<< +Next=>> +Disabled Prev=<< +Disabled Next=>> +Seperate = | + +[WebHelp] +Cancel=Cancel +CantOpenURLorFile=Can't open URL or file +CompletingContents=Completing Contents... +Display=Display +Term=Term: +Definition=Definition: +Done=Done +Find=Find +IndexInputPrompt=Type in the keyword to find: +RelateTopicListPrompt=Click a topic, then click Display. +LoadingData=Loading data, please wait... +LoadingContents=Loading contents, please wait... +LoadingContentsData=Loading, click here to cancel... +LoadingFTS=Reading Search Data... +LoadingIndex=Loading Index... +LoadingTOCItem=Loading Table of Contents: +Searching=Searching... +FtsInputPrompt=Type in the word(s) to search for: +TopicsFound=Topics Found +BrowserLimitedMessage=Your browser does not support frames. We recommend that you update your browser to a version that supports frames. +SuggestViewNoFrameMessage=To view the Help system without frames click on this +SuggestViewNoFrameMsg2=hyperlink. +TopicsNotFound=No Topics Found. +CantSearch=Cannot search for that phrase. +JS_alert_appletNotLoad = Unable to load applet. If you are using an old version of Netscape, the prefs.js file needs to be edited. +JS_alert_colorlimitation=WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors. +Blank_topic_text=This topic was created by WinHelp Project Conversion Wizard, and is the destination of a missing topic or broken hyperlink. +JS_alert_ProjectLoadingFail=Could not load correctly, please click Refresh. +JS_alert_cantLoadProject=Can't load project: +JS_alert_ErrorInLoading=Error in Loading navigation component. Please regenerate WebHelp. +IndexBtnText=Go +FtsBtnText=Go +ToolBarSearchBtnText=Go +InTopicSearchBtnText=Go +SearchLabel=Search +SearchPrompt=- Search - +PreTooltip=Previous Topic +NextTooltip=Next Topic +WebSearch=WebSearch +SyncTocTooltip=Sync TOC +Book=Book +Page=Page +Remote_Page=Remote Page +Show_Navigation_Component=Show Navigation Component +Hide_Navigation_Component=Hide Navigation Component +nls_edit_label=Type in your question: +nls_button_go_hint=Go Search +nls_button_go_text=Go +nls_body_instruction=Enter your question in the text box above, then click GO. +nls_body_empty=Sorry, we were unable to find a good answer for your question. +IndexSelectTopicTitle=Select a Topic +IndexSelectTopicLabel=Select a topic, then click Display +IndexSelectTopicError=Please select a topic. +IndexAlphabetBookmarks=ABCDEFGHIJKLMNOPQRSTUVWXYZ +MergeError1=The merged Help system +MergeError2=is using a different language from the master Help system, which will cause the index and full-text search functionality to be disabled in the merged Help system. +PoweredBy=Powered by +GeneratedBy=Generated by +Author=Author +About=About +Print=Print + +[PrintedDoc] +TableOfContents=Table Of Contents +TitlePage=Title Page +ChapterFileNamePrefix=Chapter_ +TitlePageFileName=Chapter__Title_Page.doc +CrossReferencePrefix=See +GlossaryHeadingStyleName=Glossary Heading +GlossaryTermStyleName=Glossary Term +GlossaryDefinitionStyleName=Glossary Definition +TitlePageTitleStyleName=Title Page Title +TocPageTitleStyleName=Table of Contents Page Title diff --git a/doc/salome/gui/KERNEL/webhelp.cab b/doc/salome/gui/KERNEL/webhelp.cab index 145860899..b942f642f 100755 Binary files a/doc/salome/gui/KERNEL/webhelp.cab and b/doc/salome/gui/KERNEL/webhelp.cab differ diff --git a/doc/salome/gui/KERNEL/webhelp.jar b/doc/salome/gui/KERNEL/webhelp.jar index d985cac1c..53b266636 100755 Binary files a/doc/salome/gui/KERNEL/webhelp.jar and b/doc/salome/gui/KERNEL/webhelp.jar differ diff --git a/doc/salome/gui/KERNEL/whcsh_home.htm b/doc/salome/gui/KERNEL/whcsh_home.htm new file mode 100755 index 000000000..daece5e43 --- /dev/null +++ b/doc/salome/gui/KERNEL/whcsh_home.htm @@ -0,0 +1,600 @@ + + + + + + \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whcshdata.htm b/doc/salome/gui/KERNEL/whcshdata.htm new file mode 100755 index 000000000..0e0412421 --- /dev/null +++ b/doc/salome/gui/KERNEL/whcshdata.htm @@ -0,0 +1,87 @@ + + +KERNEL + + + + + + + + + + diff --git a/doc/salome/gui/KERNEL/whdata/whftdata.js b/doc/salome/gui/KERNEL/whdata/whftdata.js index 9e3b6abd0..071ae6fc7 100755 --- a/doc/salome/gui/KERNEL/whdata/whftdata.js +++ b/doc/salome/gui/KERNEL/whdata/whftdata.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.001 var gTEA = new Array(); function aTE(sTopicTitle, sTopicURL) { diff --git a/doc/salome/gui/KERNEL/whdata/whftdata0.htm b/doc/salome/gui/KERNEL/whdata/whftdata0.htm index 3156a4403..f48525808 100755 --- a/doc/salome/gui/KERNEL/whdata/whftdata0.htm +++ b/doc/salome/gui/KERNEL/whdata/whftdata0.htm @@ -1,6 +1,8 @@ - + + + @@ -10,32 +12,31 @@ - + diff --git a/doc/salome/gui/KERNEL/whdata/whfts.htm b/doc/salome/gui/KERNEL/whdata/whfts.htm index 8375a4d93..e2b057984 100755 --- a/doc/salome/gui/KERNEL/whdata/whfts.htm +++ b/doc/salome/gui/KERNEL/whdata/whfts.htm @@ -1,6 +1,8 @@ - + + + @@ -8,9 +10,9 @@ +//--> \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whfts.js b/doc/salome/gui/KERNEL/whdata/whfts.js index 2041512fe..2b6678690 100755 --- a/doc/salome/gui/KERNEL/whdata/whfts.js +++ b/doc/salome/gui/KERNEL/whdata/whfts.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.001 var gaFileMapping = new Array(); var gaFileTopicMapping = new Array(); diff --git a/doc/salome/gui/KERNEL/whdata/whfwdata.js b/doc/salome/gui/KERNEL/whdata/whfwdata.js index 463bfb00d..e9e8bc6c1 100755 --- a/doc/salome/gui/KERNEL/whdata/whfwdata.js +++ b/doc/salome/gui/KERNEL/whdata/whfwdata.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.001 var gWEA = new Array(); function aWE() { diff --git a/doc/salome/gui/KERNEL/whdata/whfwdata0.htm b/doc/salome/gui/KERNEL/whdata/whfwdata0.htm index 81d8b19cf..d6dc00c36 100755 --- a/doc/salome/gui/KERNEL/whdata/whfwdata0.htm +++ b/doc/salome/gui/KERNEL/whdata/whfwdata0.htm @@ -1,6 +1,8 @@ - + + + @@ -10,1089 +12,1059 @@ - + diff --git a/doc/salome/gui/KERNEL/whdata/whgdata.js b/doc/salome/gui/KERNEL/whdata/whgdata.js index 729327323..77e0107f3 100755 --- a/doc/salome/gui/KERNEL/whdata/whgdata.js +++ b/doc/salome/gui/KERNEL/whdata/whgdata.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.001 var gIEA = new Array(); function aGE(sName, sDef) { diff --git a/doc/salome/gui/KERNEL/whdata/whgdata0.htm b/doc/salome/gui/KERNEL/whdata/whgdata0.htm index 9fbefcb8f..9d256b1a8 100755 --- a/doc/salome/gui/KERNEL/whdata/whgdata0.htm +++ b/doc/salome/gui/KERNEL/whdata/whgdata0.htm @@ -1,6 +1,8 @@ - + + + diff --git a/doc/salome/gui/KERNEL/whdata/whglo.htm b/doc/salome/gui/KERNEL/whdata/whglo.htm index d00c26063..dc5a67786 100755 --- a/doc/salome/gui/KERNEL/whdata/whglo.htm +++ b/doc/salome/gui/KERNEL/whdata/whglo.htm @@ -1,6 +1,8 @@ - + + + diff --git a/doc/salome/gui/KERNEL/whdata/whglo.js b/doc/salome/gui/KERNEL/whdata/whglo.js index ded3d5791..e0519afcb 100755 --- a/doc/salome/gui/KERNEL/whdata/whglo.js +++ b/doc/salome/gui/KERNEL/whdata/whglo.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.001 var gaFileMapping = new Array(); function fileMapping(sBK, sEK, sFileName, nNum) { diff --git a/doc/salome/gui/KERNEL/whdata/whidata.js b/doc/salome/gui/KERNEL/whdata/whidata.js index c8c2a05fd..9f0eb15ed 100755 --- a/doc/salome/gui/KERNEL/whdata/whidata.js +++ b/doc/salome/gui/KERNEL/whdata/whidata.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.001 // const strings var gIEA = new Array(); function aIE() diff --git a/doc/salome/gui/KERNEL/whdata/whidx.htm b/doc/salome/gui/KERNEL/whdata/whidx.htm index c0aa1758e..0a0deedd0 100755 --- a/doc/salome/gui/KERNEL/whdata/whidx.htm +++ b/doc/salome/gui/KERNEL/whdata/whidx.htm @@ -1,13 +1,15 @@ - + + + - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whidx.js b/doc/salome/gui/KERNEL/whdata/whidx.js index ded3d5791..e0519afcb 100755 --- a/doc/salome/gui/KERNEL/whdata/whidx.js +++ b/doc/salome/gui/KERNEL/whdata/whidx.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.001 var gaFileMapping = new Array(); function fileMapping(sBK, sEK, sFileName, nNum) { diff --git a/doc/salome/gui/KERNEL/whdata/whtdata.js b/doc/salome/gui/KERNEL/whdata/whtdata.js index 64bcff920..d5428a7de 100755 --- a/doc/salome/gui/KERNEL/whdata/whtdata.js +++ b/doc/salome/gui/KERNEL/whdata/whtdata.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.001 var gTEA = new Array(); function aTE() { @@ -34,6 +35,11 @@ function tocEntry(fn_arguments) if (fn_arguments.length > 3) { this.sRefURL = fn_arguments[3]; + if (this.nType == 4) + { + if(this.sRefURL.lastIndexOf("/")!=this.sRefURL.length-1) + this.sRefURL+="/"; + } if (fn_arguments.length > 4) { this.sItemURL = fn_arguments[4]; diff --git a/doc/salome/gui/KERNEL/whdata/whtdata0.htm b/doc/salome/gui/KERNEL/whdata/whtdata0.htm index a03503327..d89a6fafd 100755 --- a/doc/salome/gui/KERNEL/whdata/whtdata0.htm +++ b/doc/salome/gui/KERNEL/whdata/whtdata0.htm @@ -1,38 +1,40 @@ - + + + - + diff --git a/doc/salome/gui/KERNEL/whdata/whtoc.htm b/doc/salome/gui/KERNEL/whdata/whtoc.htm index 5f8c14e00..54e0cbf26 100755 --- a/doc/salome/gui/KERNEL/whdata/whtoc.htm +++ b/doc/salome/gui/KERNEL/whdata/whtoc.htm @@ -1,9 +1,11 @@ - + + + - + diff --git a/doc/salome/gui/KERNEL/whgdhtml.htm b/doc/salome/gui/KERNEL/whgdhtml.htm index 01b669216..6ffb2947a 100755 --- a/doc/salome/gui/KERNEL/whgdhtml.htm +++ b/doc/salome/gui/KERNEL/whgdhtml.htm @@ -1,9 +1,9 @@ Glossary - + - + diff --git a/doc/salome/gui/KERNEL/whghost.js b/doc/salome/gui/KERNEL/whghost.js index 77751a19e..56e1d5659 100755 --- a/doc/salome/gui/KERNEL/whghost.js +++ b/doc/salome/gui/KERNEL/whghost.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.004 var gbXML=false; var gaDef=new Array(); var gsBgColor="#ffffff"; @@ -8,6 +9,8 @@ var gsMargin="2pt"; var gsIndent="2pt"; var gsActiveBgColor="#cccccc"; var gbWhGHost=false; +var gbShowDef=true; +var gsGloId="Glo_" function setBackground(sBgImage) { @@ -43,22 +46,6 @@ function setIndent(sIndent) gsIndent=sIndent; } -function writeOneItem(oHTML,bDown,aDataCon,aCurIdxSet,n,aPos,nLevel) -{ - - var sHTML=""; - var nIdxSet=aCurIdxSet[n]; - var nIIdx=aPos[nIdxSet]; - var sRawKName = getItemName(aDataCon,nIdxSet,nIIdx); - var sKName=_textToHtml(sRawKName); - var nIndex=insertDef(sKName,_textToHtml_nonbsp(getDef(aDataCon,nIdxSet,nIIdx))); - if(nLevel==1){ - sHTML+="

"+sKName+"

"; - } - oHTML.addHTML(sHTML,1,bDown,true,sRawKName); -} - function insertDef(sKName,sDef) { var nLength=gaDef.length @@ -71,6 +58,7 @@ function showDef(nDef) { if(nDef"; + sHTML+=""+sKName+"

"; + oHTML.addHTML(sHTML,nLength,bDown,true,sRawKName); + if(gbShowDef) + { + setTimeout("showDef(0);",100); + gbShowDef = false; + } + } +} + +function HighLight(nIndex) +{ + var oObj=getElement(getGloId(nIndex)); + if(oObj) + HighLightElement(oObj,gsActiveBgColor,"transparent"); +} + +function getGloId(nIndex) +{ + return gsGloId+nIndex; } function adjustPosition(bDown,aDataCon,aCurIdxSet,nLength,aPos) @@ -146,7 +176,7 @@ function loadGlo() var sLangId=aProj[0].sLangId; for(var i=0;i Index content - + - + @@ -15,11 +15,7 @@ -<p>Your browser does not support frames. We recommend that you update your browser to a version that supports frames.</p><p>To view the Help system without frames click on this<a href="whgdata/whnvp30.htm">hyperlink.</a></p> +<p>Your browser does not support frames. We recommend that you update your browser to a version that supports frames.</p><p>To view the Help system without frames click on this<a href="whgdata/whnvp30.htm">hyperlink.</a></p> \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whphost.js b/doc/salome/gui/KERNEL/whphost.js index d4c80bbb9..9c91b49c8 100755 --- a/doc/salome/gui/KERNEL/whphost.js +++ b/doc/salome/gui/KERNEL/whphost.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.005 var gaProj=new Array(); var gnChecked=0; var gsProjName=""; @@ -87,7 +88,7 @@ function whCom(sName,sComFile) var strFile= _getFullPath(getPath(), this.msComFile); var oDiv=getElement(this.msDivId); if(oDiv){ - if(gbIE4){ + if(gbIE4||gbOpera7){ var nIFrameHeight=oDiv.style.pixelHeight; var nIFrameWidth=oDiv.style.pixelWidth; var sHTML=""; + gsHTML=""; goDiv = oDiv; setTimeout("delayLoad()", 100); } @@ -119,11 +119,12 @@ function whCom(sName,sComFile) var sHTML=""; if(gbMac&&gbIE4) sHTML+="
"; + else if(gbIE5) + sHTML+="
"; + else if(gbIE4||gbWindows) + sHTML+="
"; else - if (gbIE5) - sHTML+="
"; - else - sHTML+="
"; + sHTML+="
"; sHTML+="
"; return sHTML; } @@ -203,29 +204,68 @@ function getPath() goMan=new whComMan(); function addPane(sName,sFileName) { - goMan.addCom(sName,sFileName); + var oParam=new Object(); + oParam.sName=sName; + var oMsg=new whMessage(WH_MSG_GETPANE, this, 1, oParam); + if (SendMessage(oMsg)) + { + if (oMsg.oParam.bEnable) + goMan.addCom(sName,sFileName); + } + else + goMan.addCom(sName,sFileName); } function setShowPane(sName, bForce) { if ((gsFirstPane == "") || bForce) - gsFirstPane=sName; + { + var oMsg=new whMessage(WH_MSG_GETDEFPANE, this, 1, null); + if (SendMessage(oMsg)) + { + if (oMsg.oParam) + gsFirstPane = oMsg.oParam; + else + gsFirstPane=sName; + } + else + gsFirstPane=sName; + } } function window_OnLoad() { - if(gsProjName!="") + var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null); + var bHidePane=false; + if (SendMessage(oMsg)) { - goMan.init(); - if(gsFirstPane!="") - goMan.show(gsFirstPane); - else - goMan.showById(0); - loadData2(gsProjName); + if(oMsg.oParam>0) + { + if(oMsg.oParam==1) + gsFirstPane="toc"; + else if(oMsg.oParam==2) + gsFirstPane="idx"; + else if(oMsg.oParam==3) + gsFirstPane="fts"; + else if(oMsg.oParam==4) + gsFirstPane="glo"; + } + else if(oMsg.oParam==0) + { + bHidePane=true; + } } - else if (gServerEnabled) + goMan.init(); + if(gsProjName!="") + loadData2(gsProjName); + if (bHidePane) + { + gsFirstPane=""; + var oMsg1=new whMessage(WH_MSG_HIDEPANE, this, 1, null) + SendMessage(oMsg1); + } + else { - goMan.init(); if(gsFirstPane!="") goMan.show(gsFirstPane); else @@ -249,7 +289,7 @@ function loadData2(strFile) function addProject(bPreferXML,sXMLName,sHTMLName) { var bLoadXML=bPreferXML; - if(!gbIE4&&!gbNav6) + if(!gbIE4&&!gbNav6&&!gbOpera7) return; if(gbIE4&&!gbIE5) bLoadXML=false; @@ -257,6 +297,8 @@ function addProject(bPreferXML,sXMLName,sHTMLName) bLoadXML=true; if(gbIE55||gbNav6) bLoadXML=true; + if(gbOpera7) + bLoadXML=false; if(bLoadXML) addProjectXML(sXMLName); else @@ -316,6 +358,8 @@ function putDataXML(xmlDoc,sdocPath) var sURL=RmtProject[i].getAttribute("url"); if(sURL) { + if(sURL.lastIndexOf("/")!=sURL.length-1) + sURL+="/"; aRProj[nCount]=new Object(); aRProj[nCount++].sPPath=_getFullPath(aRProj[0].sPPath,sURL); } @@ -326,11 +370,23 @@ function putDataXML(xmlDoc,sdocPath) { // on Netscape 6.0 under some situation the xml file cannot be loaded. // so we use pure html instead. - setTimeout("redirectToList();",100); + if (gnChecked == 0) + setTimeout("redirectToList();",100); + else + { + gnChecked++; + setTimeout("checkRemoteProject();", 1); + } } } } +function onLoadXMLError() +{ + gnChecked++; + setTimeout("checkRemoteProject();", 1); +} + function redirectToList() { if(gbReDirectThis) @@ -346,7 +402,7 @@ function putProjectInfo(aRProj) if(gnChecked!=0) { if(aRProj[0].sLangId!=gaProj[0].sLangId) - alert("The project: "+aRProj[0].sPPath+" is using a different language to the main project, which will cause the index and full text search functionality to be disabled for this remote project."); + alert("The merged Help system "+aRProj[0].sPPath+" is using a different language from the master Help system, which will cause the index and full-text search functionality to be disabled in the merged Help system."); } gaProj[gnChecked]=aRProj[0]; for(var i=1;i project description - + - + diff --git a/doc/salome/gui/KERNEL/whproj.js b/doc/salome/gui/KERNEL/whproj.js index 0e235159b..ae38fa994 100755 --- a/doc/salome/gui/KERNEL/whproj.js +++ b/doc/salome/gui/KERNEL/whproj.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.001 var gaProj=new Array(); gaProj[0]=new project(""); @@ -41,6 +42,8 @@ function addGlo(sFile) function addRemoteProject(sProjRelPath) { + if(sProjRelPath.lastIndexOf("/")!=sProjRelPath.length-1) + sProjRelPath+="/"; gaProj[gaProj.length]=new project(sProjRelPath); } diff --git a/doc/salome/gui/KERNEL/whproj.xml b/doc/salome/gui/KERNEL/whproj.xml index d16f189af..4bd4a8de7 100755 --- a/doc/salome/gui/KERNEL/whproj.xml +++ b/doc/salome/gui/KERNEL/whproj.xml @@ -1,3 +1,3 @@ - - + + diff --git a/doc/salome/gui/KERNEL/whproxy.js b/doc/salome/gui/KERNEL/whproxy.js index 222927a0a..d0ee29813 100755 --- a/doc/salome/gui/KERNEL/whproxy.js +++ b/doc/salome/gui/KERNEL/whproxy.js @@ -1,3 +1,4 @@ +// WebHelp 5.10.001 var gbInited=false; var gWndStubPage=null; function getStubPage() @@ -60,4 +61,14 @@ function SendMessage(oMessage) return false; } -var gbWhProxy=true; \ No newline at end of file +var gbWhProxy=true; + +var gbPreview=false; +gbPreview=false; +if (gbPreview) + document.oncontextmenu=contextMenu; + +function contextMenu() +{ + return false; +} diff --git a/doc/salome/gui/KERNEL/whres.xml b/doc/salome/gui/KERNEL/whres.xml index 9634684e9..f3f010a3f 100755 --- a/doc/salome/gui/KERNEL/whres.xml +++ b/doc/salome/gui/KERNEL/whres.xml @@ -1,4 +1,4 @@ - + @@ -6,9 +6,13 @@ + + + + @@ -18,7 +22,11 @@ + + + + @@ -28,13 +36,21 @@ + + + + + + + + @@ -57,6 +73,7 @@ + @@ -160,14 +177,14 @@ - - - - + + + + diff --git a/doc/salome/gui/KERNEL/whskin_banner.htm b/doc/salome/gui/KERNEL/whskin_banner.htm index afe2d3f06..39ed797e6 100755 --- a/doc/salome/gui/KERNEL/whskin_banner.htm +++ b/doc/salome/gui/KERNEL/whskin_banner.htm @@ -1,13 +1,14 @@ About WebHelp                                                                                    - + - + + KERNEL + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whskin_info.htm b/doc/salome/gui/KERNEL/whskin_info.htm index a68fcd5ce..3092cac5d 100755 --- a/doc/salome/gui/KERNEL/whskin_info.htm +++ b/doc/salome/gui/KERNEL/whskin_info.htm @@ -1,20 +1,20 @@ -WebHelp 5.00 +WebHelp 5.50 - + -

WebHelp 5.00 System Info

+

WebHelp 5.50 System Info

- + - + - - - + + +
Start Page kernel.html
Start Page kernel.htm
Skin Name Default
Generating Time 14:23 03/03/2004
Generating Time 13:17 03/01/2005
Language ID 1033
Compile Script webhelp5_compile_script.xml
Compile Build Version 10.00.949
Product Name WebHelp 5.00
Authoring Tool Name RoboHelp 2002
Compile Build Version 13.10.606
Product Name WebHelp 5.50
Authoring Tool Name RoboHelp X5
\ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whskin_mbars.htm b/doc/salome/gui/KERNEL/whskin_mbars.htm index 66e8c5329..c4fa48af8 100755 --- a/doc/salome/gui/KERNEL/whskin_mbars.htm +++ b/doc/salome/gui/KERNEL/whskin_mbars.htm @@ -1,6 +1,9 @@ - + WebHelp Navigation Mini-bar + + +\n"; + document.write(sStyle); +} + +function window_OnLoad() +{ + if(document.body) + { + if(gsBgImage&&gsBgImage.length>0) + { + document.body.background=gsBgImage; + } + if(gsBgColor&&gsBgColor.length>0) + { + document.body.bgColor=gsBgColor; + } + } + fnOnload(); + window_onResize(); +} + +function window_onResize() +{ + var oDiv = getElement("divlist"); + var oTitle = getElement("p_title"); + var oButton = getElement("tb_button"); + if (oDiv && oTitle && oButton) + { + oDiv.style.height = document.body.offsetHeight - oTitle.offsetHeight - oButton.offsetHeight - 8; + } +} +goTableFont=new whFont("Verdana","8pt","#000000","normal","normal","none"); +goFont=new whFont("Verdana","8pt","#000000","normal","normal","none"); +goHoverFont=new whFont("Verdana","8pt","#666666","normal","normal","none"); + + +setBackgroundcolor("White"); + +setFont("Table", "Tahoma","8pt","Navy","Normal","Normal","none"); +setListBackgroundcolor("White"); + +setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none"); +setFont("Hover", "Tahoma","8pt","Navy","Normal","Normal","underline"); +setActiveBgColor("Silver"); + +window.onload=window_OnLoad; +window.onresize = window_onResize; +writeStyle(); +//--> + + + + +

Select a topic, then click Display

+
+
+
+ + + +
+ + + + \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whskin_plist.htm b/doc/salome/gui/KERNEL/whskin_plist.htm index 35f0155b8..f7cf6d1d5 100755 --- a/doc/salome/gui/KERNEL/whskin_plist.htm +++ b/doc/salome/gui/KERNEL/whskin_plist.htm @@ -1,47 +1,38 @@ Navigation Pane - + - + \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whskin_tbars.htm b/doc/salome/gui/KERNEL/whskin_tbars.htm index 8b705444c..6cb490239 100755 --- a/doc/salome/gui/KERNEL/whskin_tbars.htm +++ b/doc/salome/gui/KERNEL/whskin_tbars.htm @@ -1,6 +1,9 @@ - + WebHelp Navigation Toolbar + + + "; + var sStyle=""; document.write(sStyle); } } } -function button(sText, nWidth, nHeight) +function button(sText,nWidth,nHeight) { - this.sText = sText; - this.nWidth = nWidth; - this.nHeight = nHeight; + this.sText=sText; + this.nWidth=nWidth; + this.nHeight=nHeight; - this.aImgs = new Array(); - var i = 0; - while (button.arguments.length > i + 3) + this.aImgs=new Array(); + var i=0; + while(button.arguments.length>i+3) { - this.aImgs[i] = button.arguments[3 + i]; - i ++; + this.aImgs[i]=button.arguments[3+i]; + i++; } } -// project info +//project info function setRelStartPage(sPath) { - if (gsPPath.length == 0) + if(gsPPath.length==0) { - gsPPath = _getFullPath(_getPath(document.location.href), _getPath(sPath)); - gsStartPage = _getFullPath(_getPath(document.location.href), sPath); - gsRelCurPagePath = _getRelativeFileName(gsStartPage, document.location.href); + gsPPath=_getFullPath(_getPath(document.location.href),_getPath(sPath)); + gsStartPage=_getFullPath(_getPath(document.location.href),sPath); + gsRelCurPagePath=_getRelativeFileName(gsStartPage,document.location.href); } } -function getImage(oImage, sType) +function getImage(oImage,sType) { var sImg=""; - if (oImage && oImage.aImgs && (oImage.aImgs.length > 0)) + if(oImage&&oImage.aImgs&&(oImage.aImgs.length>0)) { - sImg+="\""+ 0) - sImg+=" width=" + oImage.nWidth; - if (oImage.nHeight > 0) - sImg+=" height=" + oImage.nHeight; - sImg+=" border=no>"; + sImg+="\""+sType+"\"0) + sImg+=" width="+oImage.nWidth; + if(oImage.nHeight>0) + sImg+=" height="+oImage.nHeight; + sImg+=" border=0>"; } return sImg; } function addTocInfo(sTocPath) { - gaPaths[gaPaths.length] = sTocPath; + gaPaths[gaPaths.length]=sTocPath; } -function addAvenueInfo(sName, sPrev, sNext) +function addAvenueInfo(sName,sPrev,sNext) { - gaAvenues[gaAvenues.length] = new avenueInfo(sName, sPrev, sNext); + gaAvenues[gaAvenues.length]=new avenueInfo(sName,sPrev,sNext); } -function addButton(sType, nStyle, sText, sHref, sOnClick, sOnMouseOver, sOnLoad, nWidth, nHeight, sImg1, sImg2, sImg3) +function addButton(sType,nStyle,sText,sHref,sOnClick,sOnMouseOver,sOnLoad,nWidth,nHeight,sImg1,sImg2,sImg3) { - var sButton = ""; + var sButton=""; var nBtn=gaButtons.length; - if (sType == "prev") + if(sType=="prev") { - if (canGo(false)) + if(canGo(false)) { - var sTitle = "Previous Topic"; - goPrev = new button(sText, nWidth, nHeight, sImg1, sImg2, sImg3); - sButton = ""; - if (nStyle == BTN_TEXT) - sButton += goPrev.sText; + var sTitle="Previous Topic"; + goPrev=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3); + sButton=""; + if(nStyle==BTN_TEXT) + sButton+=goPrev.sText; else - sButton += getImage(goPrev, sTitle); - sButton += ""; + sButton+=getImage(goPrev,sTitle); + sButton+=""; } } - else if (sType == "next") + else if(sType=="next") { - if (canGo(true)) + if(canGo(true)) { - var sTitle = "Next Topic"; - goNext = new button(sText, nWidth, nHeight, sImg1, sImg2, sImg3); - sButton = ""; - if (nStyle == BTN_TEXT) - sButton += goNext.sText; + var sTitle="Next Topic"; + goNext=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3); + sButton=""; + if(nStyle==BTN_TEXT) + sButton+=goNext.sText; else - sButton += getImage(goNext, sTitle); - sButton += ""; + sButton+=getImage(goNext,sTitle); + sButton+=""; } } - else if (sType == "show") + else if(sType=="show") { - if (isTopicOnly()) + if(isTopicOnly()&&(!gbOpera6||gbOpera7)) { - var sTitle = "Show Navigation Component"; - goShow = new button(sText, nWidth, nHeight, sImg1, sImg2, sImg3); - sButton = ""; - if (nStyle == BTN_TEXT) - sButton += goShow.sText; + var sTitle="Show Navigation Component"; + goShow=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3); + sButton=""; + if(nStyle==BTN_TEXT) + sButton+=goShow.sText; else - sButton += getImage(goShow, sTitle); - sButton += ""; + sButton+=getImage(goShow,sTitle); + sButton+=""; } } - else if (sType == "hide") + else if(sType=="hide") { - if (!isTopicOnly()) + if(!isTopicOnly()&&!gbOpera6) { - var sTitle = "Hide Navigation Component"; - goHide = new button(sText, nWidth, nHeight, sImg1, sImg2, sImg3); - sButton = ""; - if (nStyle == BTN_TEXT) - sButton += goHide.sText; + var sTitle="Hide Navigation Component"; + goHide=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3); + sButton=""; + if(nStyle==BTN_TEXT) + sButton+=goHide.sText; else - sButton += getImage(goHide, sTitle); - sButton += ""; + sButton+=getImage(goHide,sTitle); + sButton+=""; } } - else if (sType == "shownav") + else if(sType=="shownav") { - - if (isShowHideEnable()) + if(isShowHideEnable()) { - var sTitle = "Show Navigation Component"; - goShowNav = new button(sText, nWidth, nHeight, sImg1, sImg2, sImg3); - sButton = ""; - if (nStyle == BTN_TEXT) - sButton += goShowNav.sText; + var sTitle="Show Navigation Component"; + goShowNav=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3); + sButton=""; + if(nStyle==BTN_TEXT) + sButton+=goShowNav.sText; else - sButton += getImage(goShowNav, sTitle); - sButton += ""; + sButton+=getImage(goShowNav,sTitle); + sButton+=""; } } - else if (sType == "hidenav") + else if(sType=="hidenav") { - if (isShowHideEnable()) + if(isShowHideEnable()) { - var sTitle = "Hide Navigation Component"; - goHideNav = new button(sText, nWidth, nHeight, sImg1, sImg2, sImg3); - sButton = ""; - if (nStyle == BTN_TEXT) - sButton += goHideNav.sText; + var sTitle="Hide Navigation Component"; + goHideNav=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3); + sButton=""; + if(nStyle==BTN_TEXT) + sButton+=goHideNav.sText; else - sButton += getImage(goHideNav, sTitle); - sButton += ""; + sButton+=getImage(goHideNav,sTitle); + sButton+=""; } } - else if (sType == "synctoc") + else if(sType=="synctoc") { - if (gaPaths.length > 0) + if(gaPaths.length>0) { - var sTitle = "Sync TOC"; - goSync = new button(sText, nWidth, nHeight, sImg1, sImg2, sImg3); - sButton = ""; - if (nStyle == BTN_TEXT) - sButton += goSync.sText; + var sTitle="Sync TOC"; + goSync=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3); + sButton=""; + if(nStyle==BTN_TEXT) + sButton+=goSync.sText; else - sButton += getImage(goSync, sTitle); - sButton += ""; + sButton+=getImage(goSync,sTitle); + sButton+=""; } } - else if (sType == "websearch") + else if(sType=="websearch") { - if (gsSearchFormHref.length > 0) + if(gsSearchFormHref.length>0) { - var sTitle = "WebSearch"; - goWebSearch = new button(sText, nWidth, nHeight, sImg1, sImg2, sImg3); - sButton = ""; - if (nStyle == BTN_TEXT) - sButton += goWebSearch.sText; + var sTitle="WebSearch"; + goWebSearch=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3); + sButton=""; + if(nStyle==BTN_TEXT) + sButton+=goWebSearch.sText; else - sButton += getImage(goWebSearch, sTitle); - sButton += ""; + sButton+=getImage(goWebSearch,sTitle); + sButton+=""; } } - else if (sType == "searchform") + else if(sType=="searchform") { - gaButtons[nBtn] = "NeedSearchForm"; - gaTypes[nBtn] = sType; + gaButtons[nBtn]="NeedSearchForm"; + gaTypes[nBtn]=sType; } - if (sButton.length != 0) + if(sButton.length!=0) { - if (nStyle == BTN_TEXT) - sButton += " "; - gaButtons[nBtn] = "" + sButton + ""; - gaTypes[nBtn] = sType; + if(nStyle==BTN_TEXT) + sButton+=" "; + gaButtons[nBtn]=""+sButton+""; + gaTypes[nBtn]=sType; } } function isSyncEnabled() { - if (!gbCheckSync) + if(!gbCheckSync) { var oMsg=new whMessage(WH_MSG_ISSYNCSSUPPORT,this,1,null); if(SendMessage(oMsg)) @@ -250,30 +250,30 @@ function isSyncEnabled() function isInPopup() { - return (window.name.indexOf("BSSCPopup") != -1); + return (window.name.indexOf("BSSCPopup")!=-1); } function getIntopicBar(sAlign) { - var sHTML = ""; - if (gaButtons.length > 0) + var sHTML=""; + if(gaButtons.length>0) { - sHTML += "
"; + sHTML+="
"; - sHTML += ""; - for (var i = 0; i < gaButtons.length; i++) + sHTML+="
"; + for(var i=0;i 0) + if(isInPopup()) return; + if(gaButtons.length>0) { - var sHTML = ""; - if (nAligns != 0) + var sHTML=""; + if(nAligns!=0) { - sHTML += "
" - if (nAligns & 1) - sHTML += ""; - if (nAligns & 2) - sHTML += ""; - if (nAligns & 4) - sHTML += ""; - sHTML += "
" + getIntopicBar("left") + "" + getIntopicBar("center") + "" + getIntopicBar("right") + "
"; + sHTML+="" + if(nAligns&1) + sHTML+=""; + if(nAligns&2) + sHTML+=""; + if(nAligns&4) + sHTML+=""; + sHTML+="
"+getIntopicBar("left")+""+getIntopicBar("center")+""+getIntopicBar("right")+"
"; document.write(sHTML); } } @@ -302,45 +302,45 @@ function writeIntopicBar(nAligns) function sendAveInfoOut() { - if (!isInPopup()) - setTimeout("sendAveInfo();", 100); + if(!isInPopup()) + setTimeout("sendAveInfo();",100); } function sendAveInfo() { - var oMsg = new whMessage(WH_MSG_AVENUEINFO, this, 1, gaAvenues); + var oMsg=new whMessage(WH_MSG_AVENUEINFO,this,1,gaAvenues); SendMessage(oMsg); } function onNext() { - var oMsg = new whMessage(WH_MSG_NEXT, this, 1, null); + var oMsg=new whMessage(WH_MSG_NEXT,this,1,null); SendMessage(oMsg); } function onPrev() { - var oMsg = new whMessage(WH_MSG_PREV, this, 1, null); + var oMsg=new whMessage(WH_MSG_PREV,this,1,null); SendMessage(oMsg); } function createSyncInfo() { - var oParam = new Object(); - if (gsPPath.length == 0) - gsPPath = _getPath(document.location.href); - oParam.sPPath = gsPPath; - oParam.sTPath = document.location.href; - oParam.aPaths = gaPaths; + var oParam=new Object(); + if(gsPPath.length==0) + gsPPath=_getPath(document.location.href); + oParam.sPPath=gsPPath; + oParam.sTPath=document.location.href; + oParam.aPaths=gaPaths; return oParam; } function syncWithShow() { - if (isTopicOnly()) + if(isTopicOnly()) show(); - else + else { sync(); showTocPane(); @@ -349,86 +349,86 @@ function syncWithShow() function showTocPane() { - var oMsg = new whMessage(WH_MSG_SHOWTOC, this, 1, null); + var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null); SendMessage(oMsg); } function sendSyncInfo() { - if (!isInPopup()) + if(!isInPopup()) { - var oParam = null; - if (gaPaths.length > 0) + var oParam=null; + if(gaPaths.length>0) { - oParam = createSyncInfo(); + oParam=createSyncInfo(); } - var oMsg = new whMessage(WH_MSG_SYNCINFO, this, 1, oParam); + var oMsg=new whMessage(WH_MSG_SYNCINFO,this,1,oParam); SendMessage(oMsg); } } function sendInvalidSyncInfo() { - if (!isInPopup()) + if(!isInPopup()) { - var oMsg = new whMessage(WH_MSG_SYNCINFO, this, 1, null); + var oMsg=new whMessage(WH_MSG_SYNCINFO,this,1,null); SendMessage(oMsg); } } function enableWebSearch(bEnable) { - if (!isInPopup()) + if(!isInPopup()) { - var oMsg = new whMessage(WH_MSG_ENABLEWEBSEARCH, this, 1, bEnable); + var oMsg=new whMessage(WH_MSG_ENABLEWEBSEARCH,this,1,bEnable); SendMessage(oMsg); } } function autoSync(nSync) { - if (nSync == 0) return; - if (isInPopup()) return; - if (isOutMostTopic()) + if(nSync==0) return; + if(isInPopup()) return; + if(isOutMostTopic()) sync(); } function isOutMostTopic() { - if (gnOutmostTopic == -1) + if(gnOutmostTopic==-1) { - var oMessage = new whMessage(WH_MSG_ISINFRAMESET, this, 1 , null); - if (SendMessage(oMessage)) - gnOutmostTopic = 0; + var oMessage=new whMessage(WH_MSG_ISINFRAMESET,this,1,null); + if(SendMessage(oMessage)) + gnOutmostTopic=0; else - gnOutmostTopic = 1; + gnOutmostTopic=1; } - return (gnOutmostTopic == 1); + return (gnOutmostTopic==1); } function sync() { - if (gaPaths.length > 0) + if(gaPaths.length>0) { - var oParam = createSyncInfo(); - var oMessage = new whMessage(WH_MSG_SYNCTOC, this, 1, oParam); + var oParam=createSyncInfo(); + var oMessage=new whMessage(WH_MSG_SYNCTOC,this,1,oParam); SendMessage(oMessage); } } -function avenueInfo(sName, sPrev, sNext) +function avenueInfo(sName,sPrev,sNext) { - this.sName = sName; - this.sPrev = sPrev; - this.sNext = sNext; + this.sName=sName; + this.sPrev=sPrev; + this.sNext=sNext; } function getCurrentAvenue() { - var oParam = new Object(); - oParam.sAvenue = null; - var oMessage = new whMessage(WH_MSG_GETCURRENTAVENUE, this, 1, oParam); + var oParam=new Object(); + oParam.sAvenue=null; + var oMessage=new whMessage(WH_MSG_GETCURRENTAVENUE,this,1,oParam); SendMessage(oMessage); return oParam.sAvenue; } @@ -437,37 +437,37 @@ function unRegisterListener() { sendInvalidSyncInfo(); enableWebSearch(false); - if (whtopic_foldUnload) + if(whtopic_foldUnload) whtopic_foldUnload(); } function onSendMessage(oMsg) { - var nMsgId = oMsg.nMessageId; - if (nMsgId == WH_MSG_GETAVIAVENUES) + var nMsgId=oMsg.nMessageId; + if(nMsgId==WH_MSG_GETAVIAVENUES) { - oMsg.oParam.aAvenues = gaAvenues; + oMsg.oParam.aAvenues=gaAvenues; return false; } - else if (nMsgId == WH_MSG_GETTOCPATHS) + else if(nMsgId==WH_MSG_GETTOCPATHS) { - if (isOutMostTopic()) + if(isOutMostTopic()) { - oMsg.oParam.oTocInfo = createSyncInfo(); + oMsg.oParam.oTocInfo=createSyncInfo(); return false; } else return true; } - else if (nMsgId == WH_MSG_NEXT) + else if(nMsgId==WH_MSG_NEXT) { goAvenue(true); } - else if (nMsgId == WH_MSG_PREV) + else if(nMsgId==WH_MSG_PREV) { goAvenue(false); } - else if (nMsgId == WH_MSG_WEBSEARCH) + else if(nMsgId==WH_MSG_WEBSEARCH) { websearch(); } @@ -476,60 +476,60 @@ function onSendMessage(oMsg) function goAvenue(bNext) { - var sTopic = null; - var sAvenue = getCurrentAvenue(); - var nAvenue = -1; - if (sAvenue != null && sAvenue != "") + var sTopic=null; + var sAvenue=getCurrentAvenue(); + var nAvenue=-1; + if(sAvenue!=null&&sAvenue!="") { - for (var i = 0; i < gaAvenues.length ; i ++) + for(var i=0;i 0 && bNext) + if(gaAvenues[i].sNext!=null&&gaAvenues[i].sNext.length>0&&bNext) { - sTopic = gaAvenues[i].sNext; + sTopic=gaAvenues[i].sNext; break; } - else if (gaAvenues[i].sPrev != null && gaAvenues[i].sPrev.length > 0 && !bNext) + else if(gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev.length>0&&!bNext) { - sTopic = gaAvenues[i].sPrev; + sTopic=gaAvenues[i].sPrev; break; } } } - if (sTopic != null && sTopic != "") + if(sTopic!=null&&sTopic!="") { - if (gsPPath != null && gsPPath != "") + if(gsPPath!=null&&gsPPath!="") { - sFullTopicPath = _getFullPath(gsPPath, sTopic); - document.location = sFullTopicPath; + sFullTopicPath=_getFullPath(gsPPath,sTopic); + document.location=sFullTopicPath; } } } function canGo(bNext) { - for (var i = 0; i < gaAvenues.length ; i ++) + for(var i=0;i 0 && bNext) || - (gaAvenues[i].sPrev != null && gaAvenues[i].sPrev.length > 0 && !bNext)) + if((gaAvenues[i].sNext!=null&&gaAvenues[i].sNext.length>0&&bNext)|| + (gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev.length>0&&!bNext)) return true; } return false; @@ -537,34 +537,34 @@ function canGo(bNext) function show() { - if (gsStartPage != "") - window.location = gsStartPage + "#" + gsRelCurPagePath; + if(gsStartPage!="") + window.location=gsStartPage+"#"+gsRelCurPagePath; } function hide() { - if (goFrame != null) + if(goFrame!=null) { - goFrame.location = window.location; + goFrame.location=window.location; } } function isTopicOnly() { - if (gnTopicOnly == -1) + if(gnTopicOnly==-1) { - var oParam = new Object(); - oParam.oFrame = null; - var oMsg = new whMessage(WH_MSG_GETSTARTFRAME, this, 1, oParam); - if (SendMessage(oMsg)) + var oParam=new Object(); + oParam.oFrame=null; + var oMsg=new whMessage(WH_MSG_GETSTARTFRAME,this,1,oParam); + if(SendMessage(oMsg)) { - goFrame = oParam.oFrame; - gnTopicOnly = 0; + goFrame=oParam.oFrame; + gnTopicOnly=0; } else - gnTopicOnly = 1; + gnTopicOnly=1; } - if (gnTopicOnly == 1) + if(gnTopicOnly==1) return true; else return false; @@ -572,88 +572,150 @@ function isTopicOnly() function websearch() { - if (gbNav4) + if(gbNav4) { - if (document.ehelpform) + if(document.ehelpform) document.ehelpform.submit(); } else { - if (window.ehelpform) + if(window.ehelpform) window.ehelpform.submit(); } } function addSearchFormHref(sHref) { - gsSearchFormHref = sHref; + gsSearchFormHref=sHref; enableWebSearch(true); } function searchB(nForm) { - var sValue = eval("document.searchForm" + nForm + ".searchString.value"); - var oMsg = new whMessage(WH_MSG_SEARCHTHIS, this, 1, sValue); + var sValue=eval("document.searchForm"+nForm+".searchString.value"); + var oMsg=new whMessage(WH_MSG_SEARCHTHIS,this,1,sValue); SendMessage(oMsg); } function getSearchFormHTML() { - var sHTML = ""; - gnForm ++; - var sFormName = "searchForm" + gnForm; - var sButton = "
" - sButton += ""; - if ("" == "text") + var sHTML=""; + gnForm++; + var sFormName="searchForm"+gnForm; + var sButton="" + sButton+=""; + if(""=="text") { - sButton+=""; + sButton+=""; } - else if ("" == "image") + else if(""=="image") { - sButton+="" + sButton+="" sButton+=""; } - sButton += "
"; - sHTML ="" + sButton + ""; + sButton+=""; + sHTML=""+sButton+""; return sHTML; } function showHidePane(bShow) { var oMsg=null; - if (bShow) - oMsg=new whMessage(WH_MSG_SHOWPANE, this, 1, null); + if(bShow) + oMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null); else - oMsg=new whMessage(WH_MSG_HIDEPANE, this, 1, null); + oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null); SendMessage(oMsg); } function isShowHideEnable() { - if (gbIE4) + if(gbIE4) return true; else return false; } + +function PickupDialog_Invoke() +{ + if(!gbIE4||gbMac) + { + if(typeof(_PopupMenu_Invoke)=="function") + return _PopupMenu_Invoke(PickupDialog_Invoke.arguments); + } + else + { + if(PickupDialog_Invoke.arguments.length>2) + { + var sPickup="whskin_pickup.htm"; + var sPickupPath=gsPPath+sPickup; + if(gbIE4) + { + var sFrame=PickupDialog_Invoke.arguments[1]; + var aTopics=new Array(); + for(var i=2;i1) + { + var nWidth=300; + var nHeight=180; + var nScreenWidth=screen.width; + var nScreenHeight=screen.height; + var nLeft=(nScreenWidth-nWidth)/2; + var nTop=(nScreenHeight-nHeight)/2; + if(gbIE4) + { + var vRet=window.showModalDialog(sPickupPath,aTopics,"dialogHeight:"+nHeight+"px;dialogWidth:"+nWidth+"px;resizable:yes;status:no;scroll:no;help:no;center:yes;"); + if(vRet) + { + var sURL=vRet.m_url; + if(sFrame) + window.open(sURL,sFrame); + else + window.open(sURL,"_self"); + } + } + } + else if(aTopics.length==1) + { + var sURL=aTopics[0].m_sURL + if(sFrame) + window.open(sURL,sFrame); + else + window.open(sURL,"_self"); + } + } + } + } +} + if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy) { - RegisterListener("bsscright", WH_MSG_GETAVIAVENUES); - RegisterListener("bsscright", WH_MSG_GETTOCPATHS); - RegisterListener("bsscright", WH_MSG_NEXT); - RegisterListener("bsscright", WH_MSG_PREV); - RegisterListener("bsscright", WH_MSG_WEBSEARCH); - if (gbMac && gbIE4) + RegisterListener("bsscright",WH_MSG_GETAVIAVENUES); + RegisterListener("bsscright",WH_MSG_GETTOCPATHS); + RegisterListener("bsscright",WH_MSG_NEXT); + RegisterListener("bsscright",WH_MSG_PREV); + RegisterListener("bsscright",WH_MSG_WEBSEARCH); + if(gbMac&&gbIE4) { - if (typeof(window.onunload) != "unknown") - whtopic_foldUnload = window.onunload; + if(typeof(window.onunload)!="unknown") + if(window.onunload.toString!=unRegisterListener.toString) + whtopic_foldUnload=window.onunload; } else { - if (window.onunload) - whtopic_foldUnload = window.onunload; + if(window.onunload) + if(window.onunload.toString!=unRegisterListener.toString) + whtopic_foldUnload=window.onunload; } - window.onunload = unRegisterListener; + window.onunload=unRegisterListener; setButtonFont("show","","10pt","","","",""); gbWhTopic=true; diff --git a/doc/salome/gui/KERNEL/whutils.js b/doc/salome/gui/KERNEL/whutils.js index 7fa6c28a8..85fae7e05 100755 --- a/doc/salome/gui/KERNEL/whutils.js +++ b/doc/salome/gui/KERNEL/whutils.js @@ -1,19 +1,26 @@ +// WebHelp 5.10.004 var gsFileName=""; +var gsDivName=""; var xmlDoc=null; var sdocPath=null; var gsInsertBeforeEndHTML=""; var sReplaceStringsSrc=new Array(); +var gsDivName="dataDiv"; +var gnLoadDivNum=0; sReplaceStringsSrc[0]="&"; sReplaceStringsSrc[1]=">"; sReplaceStringsSrc[2]="<"; sReplaceStringsSrc[3]="""; -sReplaceStringsSrc[4]=" "; +sReplaceStringsSrc[4]=String.fromCharCode(8364); +sReplaceStringsSrc[5]=" "; + var sReplaceStringsDst=new Array(); sReplaceStringsDst[0]="&"; sReplaceStringsDst[1]=">"; sReplaceStringsDst[2]="<"; sReplaceStringsDst[3]="\""; -sReplaceStringsDst[4]=" "; +sReplaceStringsDst[4]=String.fromCharCode(128); +sReplaceStringsDst[5]=" "; var goHighLighted=null; function _getRelativePath(strParentPath,strCurrentPath) @@ -45,7 +52,7 @@ function _getRelativePath(strParentPath,strCurrentPath) return strCurrentPath; } -function _getRelativeFileName(strParentPath, strCurrentPath) +function _getRelativeFileName(strParentPath,strCurrentPath) { strParentPath=_replaceSlash(strParentPath); strParentPath=_getPath(strParentPath); @@ -108,7 +115,7 @@ function _getFullPath(sPath,sRelPath) { sRelPath=sRelPath.substring(nPathPos+3); sFullPath=sFullPath.substring(0,sFullPath.length-1); - var nPos2 = sFullPath.lastIndexOf("/"); + var nPos2=sFullPath.lastIndexOf("/"); if(nPos2!=-1) sFullPath=sFullPath.substring(0,nPos2+1); else @@ -123,7 +130,7 @@ function _getFullPath(sPath,sRelPath) function _isAbsPath(strPath) { var strUpper=strPath.toUpperCase(); - return (strUpper.indexOf(":")!=-1); + return (strUpper.indexOf(":")!=-1||strUpper.indexOf("\\\\")==0); } function _replaceSlash(strURL) @@ -166,21 +173,29 @@ function insertItemIntoArray(oArray,i,obj) function loadData(sFileName) { - if(!getElement("dataDiv")) + var i=gnLoadDivNum; + var sName=gsDivName+gnLoadDivNum++; + loadData_2(sFileName,sName); +} + +function loadData_2(sFileName,sDivName) +{ + if(!getElement(sDivName)) { - if(!insertDataDiv()) + if(!insertDataDiv(sDivName)) { gsFileName=sFileName; + gsDivName=sDivName; return; } } var sHTML=""; if(gbMac) - sHTML+=""; + sHTML+=""; else - sHTML+=""; + sHTML+=""; - var oDivCon=getElement("dataDiv"); + var oDivCon=getElement(sDivName); if(oDivCon) { if(gbNav6) @@ -231,21 +246,21 @@ function checkState() if(state==4) { var err=xmlDoc.parseError; - if(err.errorCode!=0) - alert(err.reason); - else + if(err.errorCode==0) putDataXML(xmlDoc,sdocPath); + else + onLoadXMLError(); } } } -function insertDataDiv() +function insertDataDiv(sName) { var sHTML=""; if(gbMac) - sHTML+="
"; + sHTML+="
"; else - sHTML+="
"; + sHTML+="
"; if((gbIE5||gbNav6)&&document.body) document.body.insertAdjacentHTML("beforeEnd",sHTML); else @@ -264,7 +279,7 @@ function insertWhenBodyReady() { document.body.insertAdjacentHTML("beforeEnd",gsInsertBeforeEndHTML); gsInsertBeforeEndHTML=""; - loadData(gsFileName); + loadData_2(gsFileName,gsDivName); } else { @@ -274,9 +289,12 @@ function insertWhenBodyReady() function window_BUnload() { - var oDivCon=getElement("dataDiv"); - if(oDivCon) - oDivCon.innerHTML=""; + for(var i=0;i='0'&&sBStr.charAt(i)<='9') + { + sNum+=sBStr.charAt(i++); + } + if(sNum!=""){ + var nNum=parseInt(sNum,16); + sText+=String.fromCharCode(nNum); + sBStr=sBStr.substring(i); + } + nPos=sBStr.indexOf('%'); + } + sText+=sBStr; + return sText; +} + +function excapeSingleQuotandSlash(str) +{ + if(str==null) return null; + var nPos=0; + var sRes=""; + var nPosNew=str.indexOf("\\",nPos); + while(nPosNew!=-1){ + sRes+=str.substring(nPos,nPosNew+1)+"\\"; + nPos=nPosNew+1; + nPosNew=str.indexOf("\\",nPos); + } + if(nPos=4) +if(!gbOpera&&!gbKonqueror&&!gbSafari) // opera can mimic IE or Netscape by settings. { - if(navigator.appName=="Netscape") + gbIE=(navigator.appName.indexOf("Microsoft")!=-1); + gbNav=(gAgent.indexOf('mozilla')!=-1) && ((gAgent.indexOf('spoofer')==-1) && (gAgent.indexOf('compatible')==-1)); + if(gnVerMajor>=4) { - gbNav4=true; - if(gnVerMajor>=5) - gbNav6=true; + if(navigator.appName=="Netscape") + { + gbNav4=true; + if(gnVerMajor>=5) + gbNav6=true; + } + gbIE4=(navigator.appName.indexOf("Microsoft")!=-1); + } + if(gbNav6) + { + var nPos=gAgent.indexOf("gecko"); + if(nPos!=-1) + { + var nPos2=gAgent.indexOf("/", nPos); + if(nPos2!=-1) + { + var nVersion=parseFloat(gAgent.substring(nPos2+1)); + if(nVersion>=20010726) + { + gbNav61=true; + if (nVersion>=20020823) + gbNav7=true; + } + } + } + }else if(gbIE4) + { + var nPos=gAgent.indexOf("msie"); + if(nPos!=-1) + { + var nVersion=parseFloat(gAgent.substring(nPos+5)); + if(nVersion>=5) + { + gbIE5=true; + if(nVersion>=5.5) + gbIE55=true; + } + } } - gbIE4=(navigator.appName.indexOf("Microsoft")!=-1); } -if(gbNav6) +else if (gbOpera) { - document.gnPageWidth=innerWidth; - document.gnPageHeight=innerHeight; - var nPos=gAgent.indexOf("netscape"); + var nPos = gAgent.indexOf("opera"); if(nPos!=-1) { - var nVersion=parseFloat(gAgent.substring(nPos+10)); - if(nVersion>=6.1) - gbNav61=true; + var nVersion=parseFloat(gAgent.substring(nPos+6)); + if(nVersion>=6) + { + gbOpera6=true; + if(nVersion>=7) + gbOpera7=true; + } } -}else if(gbIE4) +} +else if (gbKonqueror) { - var nPos=gAgent.indexOf("msie"); + var nPos = gAgent.indexOf("konqueror"); if(nPos!=-1) { - var nVersion=parseFloat(gAgent.substring(nPos+5)); - if(nVersion>=5) - gbIE5=true; - if(nVersion>=5.5) - gbIE55=true; + var nVersion = parseFloat(gAgent.substring(nPos+10)); + if (nVersion >= 3) + { + gbKonqueror3=true; + } } } diff --git a/doc/salome/gui/KERNEL/whxdata/whftdata0.xml b/doc/salome/gui/KERNEL/whxdata/whftdata0.xml new file mode 100755 index 000000000..79d67eb76 --- /dev/null +++ b/doc/salome/gui/KERNEL/whxdata/whftdata0.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/salome/gui/KERNEL/whxdata/whfts.xml b/doc/salome/gui/KERNEL/whxdata/whfts.xml new file mode 100755 index 000000000..7e2e74af4 --- /dev/null +++ b/doc/salome/gui/KERNEL/whxdata/whfts.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/salome/gui/KERNEL/whxdata/whfwdata0.xml b/doc/salome/gui/KERNEL/whxdata/whfwdata0.xml new file mode 100755 index 000000000..9b6ef44b9 --- /dev/null +++ b/doc/salome/gui/KERNEL/whxdata/whfwdata0.xml @@ -0,0 +1,1056 @@ + + + 14, + 14, + 14, + 14, + 14, + 3,14,15, + 14, + 14, + 14, + 3,14,15, + 2, + 14, + 14,15, + 14, + 11,16, + 2,14, + 14, + 14, + 14, + 14, + 2, + 0,14, + 14, + 7,14, + 0,16,21,23, + 14, + 14,15,16,20,21, + 2, + 14, + 0, + 1, + 18, + 3, + 3,5, + 5, + 14,19,23, + 0, + 4,14,15,19,23, + 3, + 0,4,6,14,10,21, + 14,19, + 0, + 14,12,17, + 0,14,11, + 0,5,6,14,11,15,16,17,18,19,22,23, + 11, + 19, + 14, + 14, + 14, + 0,14,17,23, + 14, + 0,1,2,4,7,14,12,15,23, + 14, + 21, + 2,7,8,14,18,19,22, + 1, + 0,4,8,9,10,11,15,16,17,18,19,21, + 10,18, + 14,11, + 14, + 14, + 14, + 0, + 16, + 14, + 2, + 21, + 21, + 17,18, + 14, + 13,20,21,23, + 21, + 7,19, + 14,18, + 4,14,13,15,17,18,23, + 18, + 0,14, + 14, + 14, + 14, + 14,16, + 18, + 0,9,17, + 14, + 14,16, + 0,14,15, + 2, + 14, + 22, + 0, + 9, + 14,12, + 23, + 14,15,19, + 14, + 14, + 0, + 16, + 14, + 20, + 14, + 14, + 14, + 16,23, + 7,14,13,17,19,22, + 14, + 2, + 14,12, + 1,14,10,13,16,18,21,23, + 14, + 14,11,19, + 14,11, + 14,12,13,17,22, + 15, + 2, + 2,9, + 0,14, + 8,11, + 14,17,19,22, + 16, + 14, + 19, + 14, + 14,9, + 14, + 0,7,14,17,23, + 2,5,14, + 14, + 14, + 19, + 19, + 19, + 10,15, + 20, + 0,2,7,14,17, + 1, + 14, + 14, + 14, + 14, + 23, + 14, + 3,5,4,6,7,14,13,19,22, + 19, + 18, + 14,23, + 16, + 3,6,7,14,12,13,16,17,20,21,22,23, + 12, + 0, + 14,12,17,20, + 0, + 0,14,9, + 14, + 18,21, + 18,21,22, + 11, + 16, + 14, + 14, + 0,14,15, + 2, + 14,10,17, + 0, + 23, + 14, + 7,14,20,22, + 0,9, + 0,1,4,6,10,11,12,13,16,17,18,19,21,22,23, + 14, + 0,9, + 0,12, + 14,9, + 0, + 14, + 14, + 14, + 14, + 11, + 14, + 14, + 8, + 2, + 16, + 15,16,18, + 0,15, + 2, + 11, + 1,2,7,14,13,15,16,18,19,20,21,22, + 15, + 14,20, + 4,16,21,23, + 14, + 9, + 3,14, + 16, + 11, + 2,23, + 6,14,16,17, + 2,14, + 0, + 17, + 16, + 14,13,15,20, + 9, + 0,9, + 15, + 0,1,3,8,14,10,13,15,16,17,18,19,21,23, + 0,14,9,10, + 9, + 12,17, + 14,15, + 15, + 6,7,14,12,15,17,18,21,22,23, + 9,18,19,23, + 14, + 14, + 7,22, + 0,8,14,10,11,17,18, + 0, + 2, + 21, + 3,4,14,15,17,18,21,23, + 14,18,23, + 0,3,4,6,15,17,18,21,22,23, + 0,20, + 9, + 14,18,21,23, + 14, + 14, + 0,9, + 21, + 0,1,2,14,19, + 14,15,19, + 9, + 19, + 5,4,8,14,10,16,17, + 8,16,21,22,23, + 12, + 14, + 0, + 0,9, + 7,14,13,17,19,20,22, + 14, + 0,1,3,5,8,14,13,15,16,21,23, + 9, + 14, + 20, + 14,18, + 14,15,17,18,19, + 14,18, + 14, + 14,15, + 5,4,14,12,15,16,18,20,21,22,23, + 0, + 0, + 1,22, + 14, + 2,8,14,16, + 0,2,9,11, + 14,19, + 14, + 22, + 7,12,21, + 14, + 14, + 14, + 14, + 4,23, + 0, + 14, + 14, + 4,12,23, + 16, + 11, + 14, + 9, + 0, + 0, + 14, + 0, + 6,7,14,10,15, + 9, + 14, + 19, + 9, + 2,9, + 14, + 11,18,20, + 11, + 0, + 14,18, + 0, + 10, + 14, + 0,9, + 7,14,15,17, + 14, + 14,18,21, + 14,15, + 14, + 14, + 14, + 0,8,14,9,10,15, + 14, + 9, + 2,14, + 0,4,14, + 22, + 0, + 9,11,20, + 14, + 9, + 0, + 15, + 14, + 14,9,19, + 0, + 11, + 0,14,11,13,17,19, + 14, + 12, + 0, + 9, + 0, + 1, + 0, + 17, + 18, + 14, + 9, + 14, + 0, + 19, + 14, + 14, + 1,6,14, + 7,14, + 14, + 14, + 3,7,14,13,15,16,17,18,19, + 14,20, + 14, + 0, + 14,12, + 14,21, + 16, + 14, + 0, + 14, + 12, + 14,18,21,23, + 0,5,7,8,14,11,12,13,15,16,17,18,19,20,22,23, + 18, + 19, + 1,14,13,18, + 10, + 10, + 14, + 10,21, + 2, + 9, + 16, + 20, + 14,11,16,17, + 14, + 16, + 0,1,6,8,16,19, + 0, + 2, + 14, + 14,15, + 14, + 8,14,16, + 14,19, + 11, + 10,19, + 9,11, + 0,4,6,14,11, + 1,7,8,9,21,23, + 7,14,16, + 14,11, + 16, + 20, + 14,12, + 11, + 14, + 14, + 0,14,15, + 14,15, + 0,12,20, + 14,9,10, + 14, + 14,15, + 17, + 14, + 12,21, + 14,13,17,18, + 14, + 14, + 22, + 0,1,14,12,13,15,20,21,22, + 14,18, + 4,16,18,21, + 9, + 14,21, + 14, + 22, + 2, + 15, + 0, + 12, + 0,14, + 14, + 1,20, + 14, + 0,10,11, + 3,6,16,19, + 21,22, + 14, + 0,19, + 18, + 3,14,13,15,17,18,19,20,21,23, + 16, + 12, + 2, + 0,14, + 0,19, + 14, + 10,16, + 14, + 14, + 2,14,12,20, + 0, + 9, + 0, + 0, + 0, + 20,21, + 9, + 0,2,7,14,12,17,20,22, + 8,16, + 19, + 14, + 12,19, + 14, + 14,19, + 14, + 14,15, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14,15, + 14, + 14, + 14, + 14, + 0, + 9, + 14, + 0,10,11,16, + 0,9,10,19, + 20, + 0,9,10,11,18,19, + 14,9, + 1, + 21, + 10,16, + 22, + 14,9,10,11, + 17, + 14,16, + 18,21, + 14, + 14, + 7,18, + 14, + 1, + 16, + 16, + 14, + 15, + 14, + 14,11,15, + 14, + 20, + 15, + 15, + 7,12, + 19, + 15, + 0, + 17,22, + 1,14,13,15,18,19,22, + 14, + 17, + 14, + 14,16,20, + 18,20,23, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 2,14, + 0,5,4,14,12,16,17,19,21,23, + 1,14,15, + 0,9,12, + 1,14, + 7,14,12,15,18,20,22, + 14, + 10,13,15,16,18,21,23, + 14, + 4,15,20,21, + 19, + 7, + 15, + 0, + 5,14,19,20, + 17, + 14,20, + 15, + 0,17,22, + 1, + 0, + 3,5,4,6,7,14,13,16,17,18,19,22, + 3,5,14, + 14, + 14, + 10,16, + 1,14,18, + 0, + 4,14,18, + 9, + 0, + 14, + 20, + 2, + 3,5,16, + 2,8,14, + 2, + 14, + 9, + 3,5,4,6,7,10,12,13,16,17,18,19,21,22,23, + 14, + 14, + 11, + 7,14,10,15,16,18,22, + 14, + 3,16, + 14, + 16, + 0,14,15, + 0,9,11, + 9, + 0,7, + 14,23, + 1,14,11,15,19, + 14, + 14, + 14, + 15, + 15, + 14, + 4, + 18, + 14, + 14, + 8,10,19,20, + 17,18, + 17, + 0, + 0,9,11, + 14, + 2,3,5,7,14,17,18,19,21,22,23, + 14, + 0, + 14,12, + 1,12, + 1, + 14,12, + 14,15, + 14, + 14, + 1,18, + 0,3,7,8,14,17,18,19,23, + 7,14,15,18,19, + 19, + 14, + 2, + 0, + 14, + 8, + 14,18,22, + 14,9,11, + 0,8, + 15, + 0,6,10,13,16,18,21,23, + 0, + 14, + 3,10,16,18, + 14, + 14, + 0, + 9, + 14,13, + 0, + 14, + 14, + 14, + 14, + 14, + 14, + 0,6,14,10,12,13,15,17,18,19,20,21,23, + 20, + 2,8,11,12,13,15,17,18,19,20, + 14, + 9, + 6,8,16,17,23, + 9, + 5,6,7,14,13,15,16,17,18,21,23, + 14, + 14, + 0, + 11, + 14, + 14, + 1, + 2,14,17, + 16, + 14,10,16,18, + 14, + 14,11,18,23, + 15, + 14,15,19, + 14,20, + 12,16,20, + 0, + 14,19, + 0,19, + 2,14,16, + 9,17, + 14, + 6,16, + 14, + 0, + 14, + 0,8,9,16, + 2,14, + 9, + 0, + 2, + 20, + 0,9,11, + 14, + 14, + 14, + 14, + 7,23, + 22, + 0, + 4,14, + 0,1,8,14,9,10,11,15,16,17,19,22, + 14, + 3,10,16,18, + 16, + 14, + 12,13,16,21,23, + 12, + 15, + 9, + 15, + 16, + 0,14,15,19, + 14,21,23, + 9,11, + 9,11, + 14, + 0, + 15, + 18,21, + 14, + 14, + 14, + 14, + 14, + 16, + 14,13, + 14,13,17, + 14,15, + 14, + 14,9, + 8,14, + 14,15, + 14,9,11,22, + 0,9, + 16, + 2,14,9,15, + 14, + 14, + 14, + 14, + 0, + 14, + 15, + 0,14, + 14, + 14,15, + 14, + 14, + 7,11, + 14, + 2, + 0,14,9,10,15,19,20,22, + 8,21, + 14,15, + 14, + 14, + 0,14,10,15,16,18, + 14, + 14, + 14, + 14, + 9, + 14, + 14,18,21,23, + 14,17, + 14, + 14, + 14, + 14, + 14, + 0, + 2, + 14, + 12, + 9, + 14,12, + 14, + 8, + 14, + 2,7, + 16, + 14,21, + 14, + 14, + 15, + 6, + 9, + 9, + 1,12,18,21, + 9, + 22, + 22, + 2, + 10,22, + 14, + 14, + 14, + 14,12,20, + 14, + 12, + 9, + 17, + 4, + 0, + 14,23, + 23, + 2, + 0,8,9,10,11,20, + 5, + 2, + 14,9,13,17, + 0,9,15, + 2, + 14,16, + 16,18, + 2, + 0, + 2, + 14, + 18, + 8,17, + 2, + 0,9, + 11, + 2,14,12,13,16,17,20,21,23, + 9, + 9, + 0, + 14,23, + 16, + 2, + 14, + 0,14,15,19,22, + 14, + 15,19, + 19, + 0,2,14,12,16, + 2, + 0,1,3,5,4,6,8,14,9,10,11,12,13,15,16,17,18,19,20,21,22,23, + 19, + 12,17,19,22,23, + 14,10,16,17,18, + 14, + 0, + 0,14, + 0, + 0,14,15,19, + 7, + 7,14,13,17,19,21,23, + 1,14,13,17,20, + 14,23, + 14,16, + 14, + 3,5,7,14,13,17,18,20,23, + 16, + 14, + 4,16,21,23, + 14, + 0,19, + 0,15, + 0,14,19, + 13,17,18,21,22,23, + 1,7,14,15,16,17,18,21,22,23, + 14, + 9, + 14, + 9, + 14,10,15, + 14,20, + 2,8,14,17,19, + 14,16,18,21, + 7, + 14, + 14, + 14, + 14, + 0, + 14, + 0, + 9,11, + 8, + 14, + 14, + 14, + 14, + 0, + 16,18, + 14, + 17, + 0,4,11, + 0,14,15,18,20,21,23, + 0,2,9,11, + 9, + 11, + 18,21, + 14, + 14,11,15, + 14,16, + 14,13,15,17, + 0, + 0,4,9,11,15,20, + 9, + 11, + 17,19, + 9, + 14, + 3,14,10,13,16,17,19, + 8,14,19,22, + 14, + 0, + 14, + 14, + 14, + 0,14,13,17,19, + 2, + 14, + 14, + 9,13,21,23, + 9, + 3,5,6,8,10,13,16,17, + 0,3,5,6,7,8,10,11,13,16,17,18,19,21,22,23, + 3, + 14,20, + 2, + 3,4,18, + 14, + 14, + 15, + 10,11,15,19, + 21,22, + 14, + 14,19, + 14, + 14, + 14, + 14, + 5,14,10, + 0,1,2,14,12,20, + 14,15,17,19, + 20,22,23, + 14, + 14, + 0,14, + 14,15, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 0, + 9, + 2, + 0, + 14, + 14, + 14, + 14, + 14, + 14, + 2,9,12,20, + 15, + 0,14,19, + 14,12,20, + 0,14,11,15,22, + 14, + 14, + 14, + 14, + 14, + 14,20, + 0, + 5, + 0,7,14,9,15,18,19,22, + 14, + 14, + 14, + 14, + 0,10,16,19,22, + 3,4,6,10,13,16,17, + 3,4,14,16, + 1,12,20, + 14, + 14, + 0, + 14, + 2, + 9, + 2, + 14,21,23, + 14, + 16,18, + 14, + 7,14,17,19, + 14, + 14, + 14, + 14,12,17,19, + 14,19, + 19, + 0, + 9, + 6,18, + 18, + 14, + 14, + 1, + 13,17, + 4, + 14, + 14, + 14,12,13,16,17,21,23, + 16,17,19, + 4,10,16, + 0,2,6,7,8,14,9,15,17,18,19,20,21,22,23, + 14, + 10,16,18,23, + 7,19, + 14, + 1, + 14, + 18, + 0, + 14,18,21, + 14,15, + 14, + 1,12, + 14,11, + 14, + 14, + 14,19, + 14,9, + 3,4,7,14,10,12,16,18,20,22,23, + 3,10,16, + 0,4,6,11, + 8,10,11,16, + 3,14,10,16,18, + 14, + 14, + 14,12, + 7,14, + 5,14,11,19,20, + 1,9, + 16, + 0,14,12,21,23, + 0, + 16,17,18, + 1, + 1,3,5,4,7,8,14,13,15,16,17,18,19,21,22,23, + 1,3,5,4,8,14,10,12,15,16,17,18,22,23, + 14, + 0,6,16,18,22, + 0,2,14,15,23, + 14, + 14,15, + 20, + 0,8,14,17,20, + 4,14,17,19,23, + 2,17, + 17, + 14, + 0, + 14,15, + 14,15,19, + 15, + 14, + 9, + 7, + 14, + 3,5,6,7,14,11,15,16,17,19,20,23, + 3, + 16, + + diff --git a/doc/salome/gui/KERNEL/whxdata/whgdata0.xml b/doc/salome/gui/KERNEL/whxdata/whgdata0.xml new file mode 100755 index 000000000..0075ff8d5 --- /dev/null +++ b/doc/salome/gui/KERNEL/whxdata/whgdata0.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/salome/gui/KERNEL/whxdata/whglo.xml b/doc/salome/gui/KERNEL/whxdata/whglo.xml new file mode 100755 index 000000000..0f1cd68e5 --- /dev/null +++ b/doc/salome/gui/KERNEL/whxdata/whglo.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whxdata/whidx.xml b/doc/salome/gui/KERNEL/whxdata/whidx.xml new file mode 100755 index 000000000..ac66bb966 --- /dev/null +++ b/doc/salome/gui/KERNEL/whxdata/whidx.xml @@ -0,0 +1,4 @@ + + + + diff --git a/doc/salome/gui/KERNEL/whxdata/whtdata0.xml b/doc/salome/gui/KERNEL/whxdata/whtdata0.xml new file mode 100755 index 000000000..41b084bfa --- /dev/null +++ b/doc/salome/gui/KERNEL/whxdata/whtdata0.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/salome/gui/KERNEL/whxdata/whtoc.xml b/doc/salome/gui/KERNEL/whxdata/whtoc.xml new file mode 100755 index 000000000..a271ba7cc --- /dev/null +++ b/doc/salome/gui/KERNEL/whxdata/whtoc.xml @@ -0,0 +1,4 @@ + + + +