From: jfa Date: Sat, 6 May 2006 08:04:13 +0000 (+0000) Subject: Join modifications from branch BR_PR_V320b1 X-Git-Tag: V3_2_0b1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1a9c06c1b6b7bb7a2a9787229e1c113f4c81cb0c;p=modules%2Fkernel.git Join modifications from branch BR_PR_V320b1 --- diff --git a/DEPRECATED/configure.in.base b/DEPRECATED/configure.in.base index 81cde052a..d2debb47f 100644 --- a/DEPRECATED/configure.in.base +++ b/DEPRECATED/configure.in.base @@ -410,7 +410,7 @@ else fi # make other build directories -for rep in salome_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources idl +for rep in salome_adm adm_local doc bin/salome include/salome lib${LIB_LOCATION_SUFFIX}/salome share/salome/resources idl do # if test ! -d $rep ; then # eval mkdir $rep diff --git a/INSTALL b/INSTALL index 0e419e00a..3bcbb6f16 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -This is the version 3.2.0a2 of KERNEL +This is the version 3.2.0b1 of KERNEL Previous versions : - 3.1.0 - 3.0.0 diff --git a/README b/README index 03708f80d..1061c6980 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ # # ================================================================= -# This is SALOME2 version 3.1 alpha +# This is SALOME2 version 3.2.0 beta 1 # ================================================================= # diff --git a/bin/Makefile.am b/bin/Makefile.am index b738ef9db..0cda9d856 100644 --- a/bin/Makefile.am +++ b/bin/Makefile.am @@ -18,8 +18,8 @@ include $(top_srcdir)/salome_adm/unix/make_common_starter.am dist_salomescript_DATA= \ VERSION \ orbmodule.py \ - salome.launch \ - salomeConsole.py + salomeConsole.py \ + salome_session.py # These files are executable scripts dist_salomescript_SCRIPTS=\ @@ -32,6 +32,9 @@ dist_salomescript_SCRIPTS=\ runSalome.csh \ runNS.sh \ createAppli.sh \ + appli_install.sh \ + appli_clean.sh \ + virtual_salome.py \ launchConfigureParser.py \ showNS.py \ addToKillList.py \ diff --git a/bin/VERSION b/bin/VERSION index e0bb8eee3..544b3b9b3 100755 --- a/bin/VERSION +++ b/bin/VERSION @@ -1 +1 @@ -THIS IS SALOME - KERNEL VERSION: 3.2.0a2 +THIS IS SALOME - KERNEL VERSION: 3.2.0b1 diff --git a/bin/appli_clean.sh b/bin/appli_clean.sh new file mode 100644 index 000000000..d716cbdfa --- /dev/null +++ b/bin/appli_clean.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +#clean appli +rm -rf bin lib share doc envd setAppliPath.sh searchFreePort.sh runAppli runConsole runSession env.d diff --git a/bin/appli_install.sh b/bin/appli_install.sh new file mode 100644 index 000000000..22919bf14 --- /dev/null +++ b/bin/appli_install.sh @@ -0,0 +1,69 @@ +#!/bin/sh + +SALOME_ROOT=${HOME}/SALOME2 +INSTALL_ROOT=${SALOME_ROOT}/Install + +APPLI_ROOT=`pwd` + +# --- clean appli +rm -rf bin lib share doc envd setAppliPath.sh searchFreePort.sh runAppli runConsole runSession env.d + +# --- install appli + +mkdir -p env.d +ln -fs bin/salome/appliskel/envd . +ln -fs bin/salome/appliskel/setAppliPath.sh . +ln -fs bin/salome/appliskel/searchFreePort.sh . +ln -fs bin/salome/appliskel/runRemote.sh . +ln -fs bin/salome/appliskel/runAppli . +ln -fs bin/salome/appliskel/runConsole . +ln -fs bin/salome/appliskel/runSession . +ln -fs bin/salome/appliskel/runTests . +ln -fs bin/salome/appliskel/.bashrc . + +# --- prerequisites + +if [ x${PREREQUISITE_SH} != x ]; then + cp ${PREREQUISITE_SH} env.d/envProducts.sh; +else + # --- unless PREREQUISITE_SH defines the prerequisite script, + # edit and uncomment the following line to set it, and comment the echo and exit lines + #ln -fs myPathForSalomePrerequisiteScriptToBeSourced env.d/envProducts.sh + echo "The file to source for SALOME prerequisite definition is not known:" + echo "--> Edit the corresponding line in " $0 ",Comment this message and the following exit command," + exit 1; +fi + +# --- symbolic links creation, from modules_root_dir + +VERSION=V3_2_0 + +for module in KERNEL MED GUI GEOM SMESH VISU SUPERV LIGHT NETGENPLUGIN PYCALCULATOR; +do + echo " ========= " ${module}; + python virtual_salome.py -v --prefix="." --module=$INSTALL_ROOT/${module}_${VERSION} + echo "export ${module}_ROOT_DIR=$APPLI_ROOT" >> env.d/configSalome.sh +done + +# --- HELLO module + +echo " ========= HELLO1"; +python virtual_salome.py -v --prefix="." --module=$INSTALL_ROOT/HELLO1_${VERSION} +echo "export HELLO_ROOT_DIR=$APPLI_ROOT" >> env.d/configSalome.sh + +# --- PYHELLO module + +echo " ========= PYHELLO1"; +python virtual_salome.py -v --prefix="." --module=$INSTALL_ROOT/PYHELLO1_${VERSION} +echo "export PYHELLO_ROOT_DIR=$APPLI_ROOT" >> env.d/configSalome.sh + +# --- GUI config + +echo "export config_var=$APPLI_ROOT:$APPLI_ROOT/share/salome/resources" >> env.d/configGUI.sh +echo "export SUITRoot=$APPLI_ROOT/share/salome" >> env.d/configGUI.sh + +# --- SAMPLES directory + +echo "export DATA_DIR=$INSTALL_ROOT/SAMPLES/${VERSION}/SAMPLES_SRC" >> env.d/configSalome.sh + +# --- \ No newline at end of file diff --git a/bin/appliskel/runAppli b/bin/appliskel/runAppli index 1d86ad3d5..e28e9c9d4 100755 --- a/bin/appliskel/runAppli +++ b/bin/appliskel/runAppli @@ -1,8 +1,10 @@ #!/bin/bash +APPLI_HOME=`dirname $0` + # --- retrieve APPLI path, relative to $HOME, set ${APPLI} -. `dirname $0`/setAppliPath.sh +. ${APPLI_HOME}/setAppliPath.sh # --- set the SALOME environment (prerequisites, MODULES_ROOT_DIR...) @@ -10,7 +12,7 @@ # --- define port for CORBA naming service -. `dirname $0`/searchFreePort.sh +. ${HOME}/${APPLI}/searchFreePort.sh searchFreePort # --- if mpi lam, start lam (seems safe to be done several times) diff --git a/bin/appliskel/runConsole b/bin/appliskel/runConsole index caeabbdd6..c94a02fcf 100755 --- a/bin/appliskel/runConsole +++ b/bin/appliskel/runConsole @@ -1,8 +1,10 @@ #!/bin/bash +APPLI_HOME=`dirname $0` + # --- retrieve APPLI path, relative to $HOME, set ${APPLI} -. `dirname $0`/setAppliPath.sh +. ${APPLI_HOME}/setAppliPath.sh # --- set the SALOME environment (prerequisites, MODULES_ROOT_DIR...) diff --git a/bin/appliskel/runSession b/bin/appliskel/runSession index c0a26ba13..69573bf10 100755 --- a/bin/appliskel/runSession +++ b/bin/appliskel/runSession @@ -5,9 +5,11 @@ # Use it without args to run an interactive shell under Salome env # +APPLI_HOME=`dirname $0` + # --- retrieve APPLI path, relative to $HOME, set ${APPLI} -. `dirname $0`/setAppliPath.sh +. ${APPLI_HOME}/setAppliPath.sh # --- set the SALOME environment (prerequisites, MODULES_ROOT_DIR...) @@ -30,11 +32,11 @@ if [ -f $fileOmniConfig ]; then export NSPORT fi -# --- invoque shell with or without args +# --- invoke shell with or without args if [ $# -ne 0 ] ; then - ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py /bin/sh --rcfile ${HOME}/${APPLI}/.bashrc -c "$*" + ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py $* else - ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py /bin/sh --rcfile ${HOME}/${APPLI}/.bashrc + ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py /bin/bash --rcfile ${HOME}/${APPLI}/.bashrc fi diff --git a/bin/appliskel/runTests b/bin/appliskel/runTests index 8e360b05d..e98c1e6aa 100755 --- a/bin/appliskel/runTests +++ b/bin/appliskel/runTests @@ -58,10 +58,10 @@ fi searchFreePort if [ $# -ne 0 ] ; then - ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py /bin/sh --rcfile ${HOME}/${APPLI}/.bashrc -c "$*" + ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py /bin/bash --rcfile ${HOME}/${APPLI}/.bashrc -c "$*" else - ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py /bin/sh --rcfile ${HOME}/${APPLI}/.bashrc + ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py /bin/bash --rcfile ${HOME}/${APPLI}/.bashrc fi rm ${OMNIORB_CONFIG} diff --git a/bin/killSalomeWithPort.py b/bin/killSalomeWithPort.py index 9f0cd0dd9..bf5ca5ef7 100755 --- a/bin/killSalomeWithPort.py +++ b/bin/killSalomeWithPort.py @@ -22,7 +22,39 @@ def getPiDict(port,appname='salome',full=True): filedict = os.getenv("HOME") + '/' + filedict return filedict +def appliCleanOmniOrbConfig(port): + """ + remove omniorb config files related to the port in SALOME application: + - ${HOME}/${APPLI}/.omniORB_${HOSTNAME}_${NSPORT}.cfg + - ${HOME}/${APPLI}/.omniORB_${HOSTNAME}_last.cfg + the last is removed only if the link points to the first file. + """ + from Utils_Identity import getShortHostName + appli=os.environ.get("APPLI") + if appli is None: + #Run outside application context + pass + else: + home = os.environ['HOME'] + home='%s/%s'%(home,appli) + hostname=getShortHostName() + omniorb_config = '%s/.omniORB_%s_%s.cfg'%(home,hostname, str(port)) + last_running_config = '%s/.omniORB_%s_last.cfg'%(home, hostname) + if os.access(last_running_config,os.F_OK): + pointedPath = os.readlink(last_running_config) + if pointedPath[0] != '/': + pointedPath=os.path.join(os.path.dirname(last_running_config), pointedPath) + if pointedPath == omniorb_config: + os.unlink(last_running_config) + pass + pass + if os.access(omniorb_config,os.F_OK): + os.remove(omniorb_config) + pass + pass + ########## kills all salome processes with the given port ########## + def killMyPort(port): filedict=getPiDict(port) found = 0 @@ -30,7 +62,7 @@ def killMyPort(port): fpid=open(filedict, 'r') found = 1 except: - print "le fichier %s des process SALOME n'est pas accessible"% filedict + print "file %s giving SALOME process id is not readable"% filedict pass if found: @@ -49,6 +81,7 @@ def killMyPort(port): pidfield = field except: pass + try: process_ids=pickle.load(fpid) fpid.close() @@ -59,19 +92,26 @@ def killMyPort(port): try: os.kill(int(pid),signal.SIGKILL) except: - print " ------------------ process %s : %s inexistant"% (pid, cmd[0]) + print " ------------------ process %s : %s not found"% (pid, cmd[0]) pass pass except: pass + os.remove(filedict) - pid = commands.getoutput("ps -eo pid,command | egrep \"[0-9] omniNames -start "+str(port)+"\" | sed -e \"s%[^0-9]*\([0-9]*\) .*%\\1%g\"") - a = "" + cmd='ps -eo pid,command | egrep "[0-9] omniNames -start '+str(port)+'" | sed -e "s%[^0-9]*\([0-9]*\) .*%\\1%g"' + pid = commands.getoutput(cmd) + a = "" while pid != "" and len(a.split(" ")) < 2: a = commands.getoutput("pid=`ps -eo pid,command | egrep \"[0-9] omniNames -start "+str(port)+"\" | sed -e \"s%[^0-9]*\([0-9]*\) .*%\\1%g\"`; kill -9 $pid") pid = commands.getoutput("ps -eo pid,command | egrep \"[0-9] omniNames -start "+str(port)+"\" | sed -e \"s%[^0-9]*\([0-9]*\) .*%\\1%g\"") print pid - + + pass + + appliCleanOmniOrbConfig(port) + pass + if __name__ == "__main__": for port in sys.argv[1:]: diff --git a/bin/launchConfigureParser.py b/bin/launchConfigureParser.py index 99540b3f3..ca821fab9 100755 --- a/bin/launchConfigureParser.py +++ b/bin/launchConfigureParser.py @@ -20,7 +20,6 @@ file_nam = "file" portkill_nam = "portkill" killall_nam = "killall" modules_nam = "modules" -pyModules_nam = "pyModules" embedded_nam = "embedded" standalone_nam = "standalone" containers_nam = "containers" @@ -54,7 +53,54 @@ def version(): if match : return match.group( 1 ) return '' - + +# calculate and return configuration file id in order to unically identify it +# for example: for 3.1.0a1 the id is 301000101 +def version_id( fname ): + vers = fname.split(".") + major = int(vers[0]) + minor = int(vers[1]) + mr = re.search(r'^([0-9]+)([A-Za-z]?)([0-9]*)',vers[2]) + release = dev = 0 + if mr: + release = int(mr.group(1)) + dev1 = dev2 = 0 + if len(mr.group(2)): dev1 = ord(mr.group(2)) + if len(mr.group(3)): dev2 = int(mr.group(3)) + dev = dev1 * 100 + dev2 + else: + return None + ver = major + ver = ver * 100 + minor + ver = ver * 100 + release + ver = ver * 10000 + dev + return ver + +# get user configuration file name +def userFile(): + v = version() + if not v: + return "" # not unknown version + filename = "%s/.%src.%s" % (os.environ['HOME'], appname, v) + if os.path.exists(filename): + return filename # user preferences file for the current version exists + # initial id + id0 = version_id( v ) + # get all existing user preferences files + files = glob.glob( os.environ['HOME'] + "/." + appname + "rc.*" ) + f2v = {} + for file in files: + match = re.search( r'\.%src\.([a-zA-Z0-9.]+)$'%appname, file ) + if match: f2v[file] = match.group(1) + last_file = "" + last_version = 0 + for file in f2v: + ver = version_id( f2v[file] ) + if ver and abs(last_version-id0) > abs(ver-id0): + last_version = ver + last_file = file + return last_file + # ----------------------------------------------------------------------------- ### xml reader for launch configuration file usage @@ -63,7 +109,7 @@ section_to_skip = "" class xml_parser: def __init__(self, fileName, _opts ): - print "Processing ",fileName + print "Configure parser: processing %s ..." % fileName self.space = [] self.opts = _opts self.section = section_to_skip @@ -163,14 +209,16 @@ class xml_parser: config_var = appname+'Config' # set resources variables if not yet set if os.getenv("GUI_ROOT_DIR"): - if not os.getenv("SUITRoot"): os.environ["SUITRoot"] = os.getenv("GUI_ROOT_DIR") + "/share/salome" - if not os.getenv("SalomeAppConfig"): os.environ["SalomeAppConfig"] = os.getenv("GUI_ROOT_DIR") + "/share/salome/resources" + if not os.getenv("SUITRoot"): + os.environ["SUITRoot"] = os.getenv("GUI_ROOT_DIR") + "/share/salome" + if not os.getenv(config_var): + os.environ[config_var] = os.getenv("GUI_ROOT_DIR") + "/share/salome/resources" pass else : if not os.getenv("SUITRoot"): os.environ["SUITRoot"] = "" - if not os.getenv("SalomeAppConfig"): - os.environ["SalomeAppConfig"] = "" + if not os.getenv(config_var): + os.environ[config_var] = "" dirs = os.environ[config_var] dirs = re.split('[;|:]', dirs ) @@ -181,21 +229,26 @@ _opts = {} # assiciative array of options to be filled # SalomeApp.xml files in directories specified by SalomeAppConfig env variable for dir in dirs: filename = dir+'/'+appname+'.xml' + if not os.path.exists(filename): + print "Configure parser: Warning : could not find configuration file %s" % filename + else: + try: + p = xml_parser(filename, _opts) + _opts = p.opts + except: + print "Configure parser: Error : can not read configuration file %s" % filename + pass + +# SalomeApprc file in user's catalogue +filename = userFile() +if filename and not os.path.exists(filename): + print "Configure parser: Warning : could not find user configuration file" +else: try: p = xml_parser(filename, _opts) _opts = p.opts except: - print 'Can not read launch configuration file ', filename - continue - -# SalomeApprc file in user's catalogue -filename = os.environ['HOME']+'/.'+appname+'rc.'+version() -try: - p = xml_parser(filename, _opts) - _opts = p.opts -except: - print 'Can not read launch configuration file ', filename - + print 'Configure parser: Error : can not read user configuration file' args = _opts @@ -247,8 +300,6 @@ def options_parser(line): list = [] pass - #print "source=",source - result = {} i = 0 while i < len(source): @@ -277,7 +328,6 @@ def options_parser(line): cmd_opts = {} try: cmd_opts = options_parser(sys.argv[1:]) - #print "opts=",cmd_opts kernel_root_dir=os.environ["KERNEL_ROOT_DIR"] except: cmd_opts["h"] = 1 @@ -288,7 +338,7 @@ except: opterror=0 for opt in cmd_opts: if not opt in ("h","g","l","f","x","m","e","s","c","p","k","t","i","r"): - print "command line error: -", opt + print "Configure parser: Error : command line error : -%s" % opt opterror=1 if opterror == 1: @@ -358,9 +408,20 @@ for opt in cmd_opts: pass pass +# if --modules (-m) command line option is not given +# try SALOME_MODULES environment variable +if not cmd_opts.has_key( "m" ) and os.getenv( "SALOME_MODULES" ): + args[modules_nam] = re.split( "[:;,]", os.getenv( "SALOME_MODULES" ) ) + pass + # 'terminal' must be processed in the end: to deny any 'gui' options if 't' in cmd_opts: args[gui_nam] = 0 pass -#print "args=",args +# now modify SalomeAppConfig environment variable +dirs = re.split('[;|:]', os.environ[config_var] ) +for m in args[modules_nam]: + if m not in ["KERNEL", "GUI", ""] and os.getenv("%s_ROOT_DIR"%m): + dirs.append( os.getenv("%s_ROOT_DIR"%m) + "/share/salome/resources" ) +os.environ[config_var] = ":".join(dirs) diff --git a/bin/runSalome b/bin/runSalome index 6e7efbc67..d0c37cc5d 100755 --- a/bin/runSalome +++ b/bin/runSalome @@ -47,13 +47,13 @@ fi # --------- # $: ${KERNEL_ROOT_DIR}/bin/salome/runSalome # -# - parameters for launching are taken from $HOME/.salome/salome.launch; +# - parameters for launching are taken from SalomeApp.xml; # - if the config file does not exist, it is created with default values. # # # $: ${KERNEL_ROOT_DIR}/bin/salome/runSalome --modules=GEOM,SMESH,VISU,SUPERV,MED --embedded=registry,study,moduleCatalog,cppContainer --standalone=pyContainer,supervContainer --xterm --killall # -# parameters from command line supersede those from $HOME/.salome/salome.launch +# parameters from command line supersede those from SalomeApp.xml # # Some CORBA servers can be launched in the SALOME_Session_Server's process # (embedded = same process) or in a separate process (standalone): diff --git a/bin/runSalome.ksh b/bin/runSalome.ksh index 970288626..cbee4003d 100644 --- a/bin/runSalome.ksh +++ b/bin/runSalome.ksh @@ -49,13 +49,13 @@ fi # --------- # $: ${KERNEL_ROOT_DIR}/bin/salome/runSalome # -# - parameters for launching are taken from $HOME/.salome/salome.launch; +# - parameters for launching are taken from SalomeApp.xml; # - if the config file does not exist, it is created with default values. # # # $: ${KERNEL_ROOT_DIR}/bin/salome/runSalome --modules=GEOM,SMESH,VISU,SUPERV,MED --embedded=registry,study,moduleCatalog,cppContainer --standalone=pyContainer,supervContainer --xterm --killall # -# parameters from command line supersede those from $HOME/.salome/salome.launch +# parameters from command line supersede those from SalomeApp.xml # # Some CORBA servers can be launched in the SALOME_Session_Server's process # (embedded = same process) or in a separate process (standalone): diff --git a/bin/runSalome.py b/bin/runSalome.py index 8b19f288e..7bc9a4c07 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -561,6 +561,14 @@ def startSalome(args, modules_list, modules_root_dir): myServer=NotifyServer(args,modules_root_dir) myServer.run() + # Lancement Session Server (to show splash ASAP) + # + + if args["gui"]: + mySessionServ = SessionServer(args) + mySessionServ.setpath(modules_list,modules_root_dir) + mySessionServ.run() + # # Lancement Registry Server, # attente de la disponibilite du Registry dans le Naming Service @@ -648,18 +656,11 @@ def startSalome(args, modules_list, modules_root_dir): clt.waitNSPID("/Containers/" + theComputer + "/SuperVisionContainer",myServer.PID) # - # Lancement Session Server + # Attente de la disponibilite du Session Server dans le Naming Service # - + if args["gui"]: - mySessionServ = SessionServer(args) - mySessionServ.setpath(modules_list,modules_root_dir) - mySessionServ.run() ##---------------- - - # Attente de la disponibilite du Session Server dans le Naming Service - # - import Engines import SALOME import SALOMEDS diff --git a/bin/salomeConsole.py b/bin/salomeConsole.py index 5ce7cec64..9373022d2 100755 --- a/bin/salomeConsole.py +++ b/bin/salomeConsole.py @@ -79,7 +79,6 @@ clt.showNS() session=clt.waitNS("/Kernel/Session") catalog=clt.waitNS("/Kernel/ModulCatalog") studyMgr=clt.waitNS("/myStudyManager") -lcc = LifeCycleCORBA.LifeCycleCORBA(clt.orb) - -#c=lcc.FindOrStartContainer("","totoPy") -#print c +import salome +salome.salome_init() +from salome import lcc diff --git a/bin/salome_session.py b/bin/salome_session.py new file mode 100644 index 000000000..8c823b486 --- /dev/null +++ b/bin/salome_session.py @@ -0,0 +1,88 @@ + +import os +import sys +import string +import socket + +_session = None + +def startSession(modules=[]): + global _session + if _session: return + searchFreePort() + _session = SalomeSession(modules) + return + +def getShortHostName(): + """ + gives Hostname without domain extension. + SALOME naming service needs short Hostnames (without domain extension). + HOSTNAME is not allways defined in environment, + socket.gethostname() gives short or complete Hostname, depending on + defined aliases. + """ + return string.split(socket.gethostname(),'.')[0] + +def searchFreePort(): + print "Searching a free port for naming service:", + NSPORT=2810 + limit=NSPORT + limit=limit+100 + while 1: + print "%s "%(NSPORT), + status = os.system("netstat -ltn | grep -E :%s"%(NSPORT)) + if status: + home = os.environ['HOME'] + appli=os.environ.get("APPLI") + if appli is None: + #Run outside application context + home=home + else: + home='%s/%s'%(home,appli) + hostname=getShortHostName() + omniorb_config = '%s/.omniORB_%s_%s.cfg'%(home,hostname, NSPORT) + os.environ['OMNIORB_CONFIG'] = omniorb_config + f = open(omniorb_config, "w") + f.write("ORBInitRef NameService=corbaname::%s:%s\n"%(hostname, NSPORT)) + f.close() + last_running_config = '%s/.omniORB_%s_last.cfg'%(home, hostname) + os.environ['LAST_RUNNING_CONFIG'] = last_running_config + if os.access(last_running_config,os.F_OK): + os.unlink(last_running_config) + pass + os.symlink(omniorb_config,last_running_config) + # LAST_RUNNING_CONFIG=${HOME}/${APPLI}/.omniORB_${myhost}_last.cfg + print "- Ok" + break + if NSPORT == limit: + msg = "" + msg += "I Can't find a free port to launch omniNames\n" + msg += "I suggest you to kill the running servers and try again.\n" + raise msg + NSPORT=NSPORT+1 + pass + os.environ['NSHOST']=hostname + os.environ['NSPORT']=str(NSPORT) + return NSPORT + + +class SalomeSession(object): + import runSalome + import killSalomeWithPort + import killSalome + def __init__(self, modules): + import runSalome + sys.argv = ["dummy.py"] + sys.argv += ["--terminal"] + if modules: + sys.argv += ['--modules=%s'%(",".join(modules))] + pass + runSalome.clt, runSalome.args = runSalome.main() + import salome + salome.salome_init() + return + def __del__(self): + import runSalome + runSalome.killLocalPort() + return + pass diff --git a/bin/virtual_salome.py b/bin/virtual_salome.py new file mode 100644 index 000000000..03bc4c258 --- /dev/null +++ b/bin/virtual_salome.py @@ -0,0 +1,181 @@ +"""Create a virtual Salome installation + +Based on a script created by Ian Bicking. + +Typical use:: + + python virtual_salome.py -v --prefix="." --module=/local/chris/SALOME2/RELEASES/Install/KERNEL_V3_1_0b1 + +install module KERNEL in the current directory +""" + +import sys, os, optparse, shutil,glob,fnmatch +py_version = 'python%s.%s' % (sys.version_info[0], sys.version_info[1]) + +def mkdir(path): + """Create a directory and all the intermediate directories if path does not exist""" + if not os.path.exists(path): + print 'Creating %s' % path + os.makedirs(path) + else: + if verbose: + print 'Directory %s already exists' % path + pass + pass + +def symlink(src, dest): + """Create a link if it does not exist""" + if not os.path.exists(dest): + if verbose: + print 'Creating symlink %s' % dest + pass + os.symlink(src, dest) + else: + print 'Symlink %s already exists' % dest + pass + pass + +def rmtree(dir): + """Remove (recursive) a directory if it exists""" + if os.path.exists(dir): + print 'Deleting tree %s' % dir + shutil.rmtree(dir) + else: + if verbose: + print 'Do not need to delete %s; already gone' % dir + pass + pass + pass + +def main(): + usage="""usage: %prog [options] +Typical use is: + python virtual_salome.py -v --prefix="." --module=/local/chris/SALOME2/RELEASES/Install/KERNEL_V3_1_0b1 +""" + parser = optparse.OptionParser(usage=usage) + + parser.add_option('-v', '--verbose', action='count', dest='verbose', + default=0, help="Increase verbosity") + + parser.add_option('--prefix', dest="prefix", default='.', + help="The base directory to install to (default .)") + + parser.add_option('--module', dest="module", + help="The module directory to install in (mandatory)") + + parser.add_option('--clear', dest='clear', action='store_true', + help="Clear out the install and start from scratch") + + options, args = parser.parse_args() + global verbose + + if not options.module: + print "Option module is mandatory" + return + + module_dir=options.module + if not os.path.exists(module_dir): + print "Module %s does not exist" % module_dir + return + + home_dir = os.path.expanduser(options.prefix) + + #module_dir="/local/chris/SALOME2/RELEASES/Install/KERNEL_V3_1_0b1" + module_bin_dir=os.path.join(module_dir,'bin','salome') + module_lib_dir=os.path.join(module_dir,'lib','salome') + module_lib_py_dir=os.path.join(module_dir,'lib',py_version,'site-packages','salome') + module_lib_py_shared_dir=os.path.join(module_dir,'lib',py_version, + 'site-packages','salome','shared_modules') + module_share_dir=os.path.join(module_dir,'share','salome','resources') + module_doc_gui_dir=os.path.join(module_dir,'doc','salome','gui') + module_doc_tui_dir=os.path.join(module_dir,'doc','salome','tui') + module_doc_dir=os.path.join(module_dir,'doc','salome') + + if not os.path.exists(module_lib_py_dir): + print "Python directory %s does not exist" % module_lib_py_dir + return + + bin_dir=os.path.join(home_dir,'bin','salome') + lib_dir=os.path.join(home_dir,'lib','salome') + lib_py_dir=os.path.join(home_dir,'lib',py_version,'site-packages','salome') + lib_py_shared_dir=os.path.join(home_dir,'lib',py_version, + 'site-packages','salome','shared_modules') + share_dir=os.path.join(home_dir,'share','salome','resources') + doc_gui_dir=os.path.join(home_dir,'doc','salome','gui') + doc_tui_dir=os.path.join(home_dir,'doc','salome','tui') + doc_dir=os.path.join(home_dir,'doc','salome') + + verbose = options.verbose + + if options.clear: + rmtree(bin_dir) + rmtree(lib_dir) + rmtree(share_dir) + rmtree(doc_dir) + pass + + #directory bin/salome : create it and link content + mkdir(bin_dir) + for fn in os.listdir(module_bin_dir): + # if os.path.splitext(fn)[1] not in (".pyc",".pyo"): #Compiled python are excluded + symlink(os.path.join(module_bin_dir, fn), os.path.join(bin_dir, fn)) + pass + + #directory lib/salome : create it and link content + mkdir(lib_dir) + for fn in os.listdir(module_lib_dir): + symlink(os.path.join(module_lib_dir, fn), os.path.join(lib_dir, fn)) + + #directory lib/py_version/site-packages/salome : create it and link content + mkdir(lib_py_shared_dir) + for fn in os.listdir(module_lib_py_dir): + # if os.path.splitext(fn)[1] not in (".pyc",".pyo"): #Compiled python are excluded + if os.path.split(fn)[1] != "shared_modules": + symlink(os.path.join(module_lib_py_dir, fn), os.path.join(lib_py_dir, fn)) + pass + pass + if os.path.exists(module_lib_py_shared_dir): + for fn in os.listdir(module_lib_py_shared_dir): + # if os.path.splitext(fn)[1] not in (".pyc",".pyo"): #Compiled python are excluded + symlink(os.path.join(module_lib_py_shared_dir, fn), os.path.join(lib_py_shared_dir, fn)) + pass + pass + else: + print module_lib_py_shared_dir, " doesn't exist" + pass + + + #directory share/salome/resources : create it and link content + mkdir(share_dir) + for fn in os.listdir(module_share_dir): + symlink(os.path.join(module_share_dir, fn), os.path.join(share_dir, fn)) + + #html files in doc/salome directory + if os.path.exists(module_doc_dir): + mkdir(doc_dir) + for fn in os.listdir(module_doc_dir): + if fn == 'gui':continue + if fn == 'tui':continue + symlink(os.path.join(module_doc_dir, fn), os.path.join(doc_dir, fn)) + pass + pass + + #directory doc/salome/gui : create it and link content + if os.path.exists(module_doc_gui_dir): + mkdir(doc_gui_dir) + for fn in os.listdir(module_doc_gui_dir): + symlink(os.path.join(module_doc_gui_dir, fn), os.path.join(doc_gui_dir, fn)) + pass + pass + + #directory doc/salome/tui : create it and link content + if os.path.exists(module_doc_tui_dir): + mkdir(doc_tui_dir) + for fn in os.listdir(module_doc_tui_dir): + symlink(os.path.join(module_doc_tui_dir, fn), os.path.join(doc_tui_dir, fn)) + pass + pass + +if __name__ == '__main__': + main() + pass diff --git a/build_configure b/build_configure index c682f1fad..a9dd3c516 100755 --- a/build_configure +++ b/build_configure @@ -9,6 +9,10 @@ # ==================================================================== # +# CONF_DIR is the path containing the present script + +CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"` +cd ${CONF_DIR} # ____________________________________________________________________ # aclocal creates the aclocal.m4 file from the standard macro and the diff --git a/configure.ac b/configure.ac index 5a8aa38de..5b0d9407f 100644 --- a/configure.ac +++ b/configure.ac @@ -305,6 +305,17 @@ dnl localbatch_ok is set to yes by CHECK_LOCAL WITH_BATCH=no test x$openpbs_ok = xyes || test x$lsf_ok = xyes || test x$localbatch_ok = xyes && WITH_BATCH=yes + +AC_ARG_ENABLE(batch, + [AC_HELP_STRING([--enable-batch],[Batch [default=yes]])], + [case "${enableval}" in + yes) test x$openpbs_ok = xyes || test x$lsf_ok = xyes || test x$localbatch_ok = xyes && WITH_BATCH=yes;; + no) WITH_BATCH=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-batch) ;; + esac],[test x$openpbs_ok = xyes || test x$lsf_ok = xyes || test x$localbatch_ok = xyes && WITH_BATCH=yes]) + +echo Batch mode = $WITH_BATCH + AC_SUBST(WITH_BATCH) AM_CONDITIONAL(WITH_BATCH, [test x"$WITH_BATCH" = xyes]) @@ -365,7 +376,12 @@ function check_fatal_error { # -------------------------------------- -basic_mandatory_products="cc_ok threads_ok python_ok swig_ok hdf5_ok occ_ok" +if test x$corba_gen = xtrue; then + basic_mandatory_products="cc_ok threads_ok python_ok swig_ok hdf5_ok occ_ok" +else + basic_mandatory_products="cc_ok threads_ok hdf5_ok occ_ok" +fi + echo --- General mandatory products - Light configuration: summary $basic_mandatory_products check_fatal_error $basic_mandatory_products @@ -378,6 +394,13 @@ if test x$corba_gen = xtrue; then check_fatal_error $corba_mandatory_products else echo --- CORBA products not required - option --disable-corba-gen + if test x"$WITH_BATCH" = xyes; then + echo --- BATCH mode mandatory products - default configuration: + summary "python_ok" + check_fatal_error "python_ok" + else + echo --- Python not required - option --enable-batch=no + fi fi echo @@ -472,7 +495,6 @@ AC_OUTPUT([ \ ./doc/salome/Makefile \ ./doc/salome/DevelopersGuide/DevelopersGuide.tex \ ./doc/salome/DevelopersGuide/Makefile \ - ./doc/salome/gui/Makefile \ ./doc/salome/tui/Makefile \ ./idl/Makefile \ ./resources/Makefile \ @@ -486,13 +508,13 @@ AC_OUTPUT([ \ ./src/Communication/Makefile \ ./src/Communication_SWIG/Makefile \ ./src/Container/Makefile \ - ./src/DataTypeCatalog/Makefile \ ./src/GenericObj/Makefile \ ./src/HDFPersist/Makefile \ ./src/KERNEL_PY/Makefile \ ./src/LifeCycleCORBA/Makefile \ ./src/LifeCycleCORBA/Test/Makefile \ ./src/LifeCycleCORBA_SWIG/Makefile \ + ./src/LifeCycleCORBA_SWIG/Test/Makefile \ ./src/Logger/Makefile \ ./src/Logger/Test/Makefile \ ./src/ModuleCatalog/Makefile \ @@ -505,7 +527,6 @@ AC_OUTPUT([ \ ./src/NOTIFICATION_SWIG/Makefile \ ./src/Registry/Makefile \ ./src/ResourcesManager/Makefile \ - ./src/RessourcesCatalog/Makefile \ ./src/SALOMEDS/Makefile \ ./src/SALOMEDS/Test/Makefile \ ./src/SALOMEDSClient/Makefile \ diff --git a/doc/SALOME_Application.txt b/doc/SALOME_Application.txt index 83e016276..48e19a0bd 100644 --- a/doc/SALOME_Application.txt +++ b/doc/SALOME_Application.txt @@ -7,7 +7,7 @@ SALOME Application Concept. Configuration for one or more computers rst2html doc.txt > doc.html -This document corresponds to SALOME2 3.1. (alpha version) +This document corresponds to SALOME2 3.2. (alpha version) +-------------------------------------------+ | **WORK in PROGRESS, INCOMPLETE DOCUMENT** | @@ -55,6 +55,12 @@ computer. Application Directory --------------------- +Two ways for creation of an application directory +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +First way - references to different module directories +'''''''''''''''''''''''''''''''''''''''''''''''''''''' + The script createAppli.sh in ${KERNEL_ROOT_DIR}/bin/salome creates an application directory with the given path in parameter. ${APPLI} is a path relative to ${HOME}. @@ -68,6 +74,23 @@ configure his own application. These files are described after, the list is: - CatalogResources.xml - SalomeApp.xml +Second way - one single virtual install directory +''''''''''''''''''''''''''''''''''''''''''''''''' + +The user must create an application directory in which he copies +appli_install.sh, appli_clean.sh and virtual_salome.py, +from ${KERNEL_ROOT_DIR}/bin/salome. + +appli_install.sh needs to be edited, to define a list of modules with their +install paths. +Then, the script appli_install.sh creates a virtual installation of SALOME +in the application directory (bin, lib, doc, share...), with, +for each file (executable, script, data,library, resources...), +symbolic links to the actual file. + +General rules +------------- + Directory ${APPLI} must be created on each computer of the application. The easiest way is to use the same relative path (to ${HOME}) on each computer. (Sometimes it is not possible to use the same path everywhere, for instance @@ -78,15 +101,22 @@ The ${APPLI} directory contains scripts for environment and runs. Environment scripts must be configured (by the user) on each computer. All the environment scripts are in the ${APPLI}/env.d directory. -The script ${APPLI}/envd sources **all** the files in ${APPLI}/env.d in -alphanumeric order (after edition, think to remove backup files). the envd +The script ${APPLI}/envd sources **all** the files (\*.sh) in ${APPLI}/env.d +in alphanumeric order (after edition, think to remove backup files). the envd script is used by run scripts. -Proposal for env.d scripts -~~~~~~~~~~~~~~~~~~~~~~~~~~ +env.d scripts +~~~~~~~~~~~~~ + Each user **must define** his own configuration for these scripts, following -the above rules. **The following is only an example not working as it is**. +the above rules. With the virtual installation (second way, above), env.d +scripts are built by appli_install.sh (given it's parameters). Otherwise, the +scripts must be manually defined. + + + **The following is only an example proposed by createAppli.sh, + not working as it is**. atFirst.sh Sets the computer configuration not directly related to SALOME, @@ -118,7 +148,7 @@ runAppli runSession Launches a shell script in the SALOME application environment, with access - to the current SALOME session (naming service), if any. + to the current (last launched) SALOME session (naming service), if any. Without arguments, the script is interactive. With arguments, the script executes the command in the SALOME application environment. @@ -152,6 +182,7 @@ SalomeApp.xml This file is similar to the default given in ${GUI_ROOT_DIR}/share/salome/resources + CatalogRessources.xml This files describes all the computer the application can use. The given example is minimal and suppose ${APPLI} is the same relative path @@ -161,4 +192,146 @@ CatalogRessources.xml appliPath="my/specific/path/on/this/computer" +Examples of use +--------------- + +Launch a SALOME session with a GUI interface +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Launch is done with a command like:: + + ./runAppli --logger + +The --logger option means here : collect all the traces from the all the +distributed process, via CORBA, in a single file : logger.log. + +There are a lot of options, a complete list is given by:: + + ./runAppli --help + +Note that, without argument, runAppli is a non interactive Python application, +and, with arguments, runAppli is an interactive Python interpreter. + +Several options are already defined by default in SalomeApp.xml files. Optional +arguments given in the command override the SalomeApp.xml configuration. + +Several sessions can run simultaneously, each session use a different port for +CORBA naming service, so the sessions are totally separated from each other. + +When the GUI is closed, the different SALOME servers are still running. + +Close a SALOME session, kill all the servers +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Inside the interactive python interpreter you get when you use runAppli +with arguments, you can kill all the servers of your session with:: + + >>> killLocalPort() + +or the servers of all the sessions with:: + + >>> killAllPorts() + +If you have no active Python interpreter connected to your session, you can +kill all the SALOME servers of **all the sessions** on a given computer:: + + ./runSession killSalome.py + +Remember! it's the same idea in *Windows (R) operating system* [#]_ : +use the start menu to stop... + +When you use only one session at a time, you don't need more. + +To kill a given session (when several session are running), one needs +the naming service port number:: + + ./runSession killSalomeWithPort 2810 + +Note that the port number of the last launched session can be found on Linux, +in the prompt, within a runSession shell (see below). + +It is also possible to get the Naming Service host and port number of +the last launched session with:: + + ./runSession NSparam.py + +.. [#] Microsoft and Windows are either registered trademarks or trademarks of + Microsoft Corporation in the United States and/or other countries. + +Launch a SALOME session without GUI interface +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +This is used to launch a SALOME Python script without GUI +(no GUI server = SALOME_session_server) + +Example of script (test_session_geom.py):: + + import salome_session + salome_session.startSession(modules=["GEOM"]) + import GEOM_usinggeom + raw_input("Press a key and the servers will be killed ...") + +This script is run in a non interactive way with:: + + ./runSession python test_session_geom.py + +All the process are automatically killed when Python is closed +(with salome_session delete). + +Add an external Python interpretor to a running session +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +It's often easier to develop and try Python scripts outside the GUI embedded +Python interpreter. Imagine, for instance, you are writing a script involving +geometry and mesh modules. +first, launch a SALOME session with gui, then, on another terminal:: + + ./runSession + python + +Import salome module. salome_init() without arguments creates a new study +in the running session (note: salome_init(n) attachs to a running session whose +studyId is n):: + + import salome + salome.salome_init() + +An example of script given with SMESH:: + + import ex01_cube2build + +It is possible to connect the GUI interface to the study created in the above +script with the file/connect menu, then browse study and display objects. +Further modifications on study can be done either with GUI or external script +(use refresh popup in GUI object browser to see study modifications generated +by the external script). **AVOID modifications with GUI when a Python script +is running**. Not all the modules are protected against concurrent actions... + + +Different uses of the runSession shell interpreter +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +runSession invoked without arguments gives an interactive shell with the full +environment of SALOME (PATH, LD_LIBRARY_PATH, PYTHONPATH, other variables). +If there are running sessions of the same SALOME application, runSession +connects to the last launched session (i.e. gets the naming service references +of the session: hostname and port) + +On Linux, the shell prompt (bash) gives information on naming service +references, hostname and port:: + + [NS=cli76cc:2811]prascle@cli76cc:~/SALOME2/Run/Virtual$ + +If there is no running session, prompt looks like:: + + [NS=:]prascle@cli76cc:~/SALOME2/Run/Virtual$ + +runSession is useful to launch any script or program which needs the complete +SALOME environment, with or without a session already running. +For instance, to launch the ddd debugger interface on the gui server, first +launch a SALOME session with gui, then, on another terminal:: + + ./runSession ddd + +Then attach to the running SALOME_Session_Server process. diff --git a/doc/UnitTests.txt b/doc/UnitTests.txt index 6b5808d19..bb03dd8e3 100644 --- a/doc/UnitTests.txt +++ b/doc/UnitTests.txt @@ -11,50 +11,57 @@ the unit tests. | **WORK in PROGRESS, INCOMPLETE DOCUMENT** | +-------------------------------------------+ -1. SALOME KERNEL source code structuration -========================================== +.. contents:: +.. sectnum:: + + +SALOME KERNEL source code structuration +======================================= -1.1 General structure of KERNEL_SRC ------------------------------------ +General structure of KERNEL_SRC +------------------------------- KERNEL_SRC Some README files and configuration tools for build KERNEL_SRC/adm_local - Part of the configuration files + Part of the configuration files, other modules have a directory with the + same name. Not used in KERNEL. KERNEL_SRC/bin Python and shell scripts used at run time. + Kit to install a SALOME Application. KERNEL_SRC/doc - Kit for end user documentation production: public interfaces, graphic, - Python, CORBA. Developper documentation. - -KERNEL_SRC/examples - To be removed. + Kit for KERNEL end user documentation production: + public interfaces, Python, CORBA. + Integrator and Developper documentation. KERNEL_SRC/idl All CORBA interfaces from KERNEL are regrouped here. KERNEL_SRC/resources - Configuration files for servers (examples). Icons for Graphic interface - (to be removed ?) + Configuration files for servers (examples). + Interfaces definitions for KERNEL test components. KERNEL_SRC/salome_adm - Makefile includes and configuration files (M4 macros) + Configuration files used by autotools (M4 macros & co.) KERNEL_SRC/src The source code (C++ and Python) -1.2 Directory src: C++ and Python source code ---------------------------------------------- +Directory src: C++ and Python source code +----------------------------------------- -1.2.1 Basic services non related to CORBA -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Basic services non related to CORBA +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Basics - A set of general purpose C++ services. + A set of general purpose C++ services, not related to CORBA. + Some general purpose services that are in Utils directory (CORBA related), + are progressivley moved here, as they are not related to CORBA. + SALOMELocalTrace A multithread trace system that allows message tracing on standard error @@ -66,8 +73,8 @@ CASCatch HDFPersist A C++ interface to HDF. -1.2.2 Basic CORBA services -~~~~~~~~~~~~~~~~~~~~~~~~~~ +Basic CORBA services +~~~~~~~~~~~~~~~~~~~~ Logger A CORBA server that collects the trace messages from differents CORBA @@ -79,7 +86,7 @@ SALOMETraceCollector Utils A set of general purpose services related to CORBA, such as basic CORBA - exception system. + exception system. See also Basics directory above. NamingService C++ and Python interfaces to name, store and retrieve CORBA objects @@ -88,25 +95,31 @@ GenericObj A generic CORBA interface for CORBA objects, to count distributed references, and to allow destruction by client. -1.2.3 Miscellaneous CORBA servers -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Miscellaneous CORBA servers +~~~~~~~~~~~~~~~~~~~~~~~~~~~ Registry + Implements SALOME_registry.idl. + Provides a CORBA server library and a separate server program. ModuleCatalog + Implements SALOME_moduleCatalog.idl. + Provide a CORBA server library and separate server and client programs. -DataTypeCatalog - -RessourcesCatalog +ModuleGenerator + Tool to generate a module catalog from CORBA idl ResourcesManager + library included in container server Notification + library included in differents servers (container) NOTIFICATION_SWIG -1.2.4 CORBA Containers for SALOME Modules -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +CORBA Containers for SALOME Modules +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Container @@ -116,8 +129,8 @@ LifeCycleCORBA LifeCycleCORBA_SWIG -1.2.5 STUDY server and related interfaces and tools -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +STUDY server and related interfaces and tools +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SALOMEDSClient @@ -127,8 +140,40 @@ SALOMEDSImpl SALOMEDS -2. Tools and principles used for Unit testing -============================================= +Python interface to SALOME +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +KERNEL_PY + +Efficient CORBA transfer services +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Communication + +Communication_SWIG + +A Parallel container with MPI +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +MPIContainer + +TestMPIContainer + +Batch interface library +~~~~~~~~~~~~~~~~~~~~~~~ + +Batch + +Batch_SWIG + +Unit tests +~~~~~~~~~~ + +UnitTests + + +Tools and principles used for Unit testing +========================================== **TO BE COMPLETED** diff --git a/doc/salome/Makefile.am b/doc/salome/Makefile.am index f718bbc07..fd4b6a773 100644 --- a/doc/salome/Makefile.am +++ b/doc/salome/Makefile.am @@ -7,7 +7,7 @@ include $(top_srcdir)/salome_adm/unix/make_common_starter.am -SUBDIRS= tui DevelopersGuide gui +SUBDIRS= tui DevelopersGuide index_html: $(INSTALL) -d $(docdir); diff --git a/doc/salome/gui/KERNEL/KERNEL.log b/doc/salome/gui/KERNEL/KERNEL.log deleted file mode 100755 index 1039c8576..000000000 --- a/doc/salome/gui/KERNEL/KERNEL.log +++ /dev/null @@ -1,268 +0,0 @@ -|SourceProjectName:KERNEL.hpr -|DestinationProjectName:kernel.html -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 -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 -whdata\whtoc.js -whdata\whtoc.xml -whdata\whtoc.htm -whdata\whtdata.js -whdata\whidx.js -whdata\whidx.xml -whdata\whidx.htm -whdata\whidata.js -whdata\whfts.js -whdata\whfts.xml -whdata\whfts.htm -whdata\whglo.js -whdata\whglo.xml -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 -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 -default.skn -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 -files\about_salome_pro_architecture.htm -files\about_salome_pro_help_system.htm -files\copyright_notice.htm -files\creating_a_new_study.htm -files\displaying_hiding_toolbars.htm -files\displaying_studies.htm -files\editing_studies.htm -files\getting_properties_of_the_study.htm -files\getting_started2.htm -files\installing_salome_pro.htm -files\introduction.htm -files\introduction_to_iapp.htm -files\introduction_to_salome_pro.htm -files\navigating_topics.htm -files\opening_studies.htm -files\readme.html -files\running_salome_pro.htm -files\salome_pro_desktop.htm -files\saving_a_study.htm -files\setting_preferences.htm -files\using_catalog_generator.htm -files\using_left-hand_tabs.htm -files\using_object_browser.htm -files\using_registry.htm -files\using_usecase_browser.htm -texture_horiz_ltbluebubbles.jpg -kernel.glo -default.css -pics\warninglocked.jpg -pics\load.jpg -image4.gif -readmepage.png -pics\removeobj.jpg -pics\tile.jpg -pics\topv.jpg -pics\globalpanning.jpg -pics\fitall.jpg -pics\cascade.jpg -pics\frontv.jpg -pics\sheme1.jpg -pics\copy-paste.jpg -image7.gif -pics\sheme2.jpg -i_blue.jpg -pics\registy1.jpg -pics\setcurrent.jpg -pics\desktop3.jpg -pics\usecasebrsr.jpg -pics\newobj.jpg -pics\close.jpg -pics\rightv.jpg -pics\trihedron.jpg -pics\dump.jpg -pics\cataloggenerator.jpg -pics\usecasebr.jpg -pics\objbrowser2.jpg -pics\open.jpg -pics\bottomv.jpg -pics\rotate.jpg -pics\application-splash.jpg -dirpage.png -pics\properties.jpg -pics\newsticn.jpg -pics\leftv.jpg -pics\backv.jpg -note1.gif -pics\reset.jpg -pics\panning.jpg -pics\zoom.jpg -pics\fitrect.jpg -image2.jpg -choicepage.png -pics\save.jpg -progresspage.png -cantinstall.png -pics\clear.jpg -pics\undo-redo.jpg -occ.jpg -productpage.png -tip1.gif -pics\registry.jpg -pics\addobj.jpg -kernel.ppf -ehlpdhtm.js -ss_btn_related_topics.gif -default_ns.css -whdata\whtdata0.xml -whdata\whtdata0.htm -whdata\whftdata0.xml -whdata\whftdata0.htm -whdata\whfwdata0.xml -whdata\whfwdata0.htm -whdata\whgdata0.xml -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\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\whlstf9.htm -whgdata\whlstg0.htm -kernel.html -kernel_csh.html -kernel_rhc.html diff --git a/doc/salome/gui/KERNEL/cantinstall.png b/doc/salome/gui/KERNEL/cantinstall.png deleted file mode 100755 index 75815ae86..000000000 Binary files a/doc/salome/gui/KERNEL/cantinstall.png and /dev/null differ diff --git a/doc/salome/gui/KERNEL/cshdat_robohelp.htm b/doc/salome/gui/KERNEL/cshdat_robohelp.htm deleted file mode 100755 index 81b659adc..000000000 --- a/doc/salome/gui/KERNEL/cshdat_robohelp.htm +++ /dev/null @@ -1,258 +0,0 @@ - - -KERNEL - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/cshdat_webhelp.htm b/doc/salome/gui/KERNEL/cshdat_webhelp.htm deleted file mode 100755 index c99390b6b..000000000 --- a/doc/salome/gui/KERNEL/cshdat_webhelp.htm +++ /dev/null @@ -1,251 +0,0 @@ - - -KERNEL - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/default.css b/doc/salome/gui/KERNEL/default.css deleted file mode 100755 index de2e5d955..000000000 --- a/doc/salome/gui/KERNEL/default.css +++ /dev/null @@ -1,101 +0,0 @@ -BODY { - background-color:#ffffff; - font-family:"Times New Roman" , serif; } -H1 { - font-weight:bold; - font-size:24.0pt; } -LI.kadov-H1 { - font-weight:bold; - font-size:24.0pt; } -H2 { - font-weight:bold; - font-size:18.0pt; } -LI.kadov-H2 { - font-weight:bold; - font-size:18.0pt; } -H3 { - font-weight:bold; - font-size:14.0pt; } -LI.kadov-H3 { - font-weight:bold; - font-size:14.0pt; } -H4 { - font-weight:bold; - font-size:12.0pt; } -LI.kadov-H4 { - font-weight:bold; - font-size:12.0pt; } -H5 { - font-weight:bold; - font-size:10.0pt; } -LI.kadov-H5 { - font-weight:bold; - font-size:10.0pt; } -H6 { - font-weight:bold; - font-size:8.0pt; } -LI.kadov-H6 { - font-weight:bold; - font-size:8.0pt; } -P { - font-size:12.0pt; - margin-top:0pt; - margin-bottom:0pt; } -LI.kadov-P { - font-size:12.0pt; } -A.expandspot { - color:#008000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.expandtext { - font-style:italic; - font-weight:normal; - color:#ff0000; } -A.dropspot { - cursor:hand; - color:#008000; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -A.glossterm { - color:#800000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.glosstext { - font-style:italic; - font-weight:normal; - color:#0000ff; } -OL { - margin-top:0px; - margin-bottom:0px; } -UL { - margin-top:0px; - margin-bottom:0px; } -A:active { } -A:hover { - x-text-underline:Off; - text-decoration:none; } -A:link { - x-text-underline:Off; - text-decoration:none; } -A:visited { - x-text-underline:Off; - text-decoration:none; } -P.TODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } -LI.kadov-P-CTODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } diff --git a/doc/salome/gui/KERNEL/default.skn b/doc/salome/gui/KERNEL/default.skn deleted file mode 100755 index f162a6624..000000000 --- a/doc/salome/gui/KERNEL/default.skn +++ /dev/null @@ -1,262 +0,0 @@ - - - - Default - Contents - font-family:Arial font-size:8pt font-weight:normal font-style:normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - background:#99ccff - font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black - - background:#639ace - font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:White - - left - - Contents - ::??DefaultWebSkinText??:: - - - default - - - - default - - - - - Index - ::??DefaultWebSkinText??:: - - - default - - - - default - - - - - Search - ::??DefaultWebSkinText??:: - - - default - - - - default - - - - - Glossary - ::??DefaultWebSkinText??:: - - - default - - - - default - - - - - WebSearch - ::??DefaultWebSkinText??:: - - - default - - - - default - - - - - Search Input - - - - - <text></text> - - - - - Logo - - eHelp Corporation - - - - - background:#99ccff - font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black - - background:#639ace - font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:White - - - Previous - ::??DefaultWebSkinText??:: - - - default - - - - default - - - - - Next - ::??DefaultWebSkinText??:: - - - default - - - - default - - - - - Sync TOC - ::??DefaultWebSkinText??:: - - - default - - - - default - - - - - Hide - ::??DefaultWebSkinText??:: - - - default - - - - default - - - - - - - - - - - background:White alink:Silver hover-color:Navy - font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black - - - - background:White alink:Silver hover-color:Navy - font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black - - - background:White - - - <text>::??DefaultWebSkinText??::</text> - <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Navy</font> - - - - - - - background:White alink:Silver hover-color:Navy - font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black - - - background:White - - - <text>::??DefaultWebSkinText??::</text> - <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Navy</font> - - - - - - - background:White alink:Silver hover-color:Navy - font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black - - ::??DefaultWebSkinText??:: - font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Navy - background:White - - - - ::??DefaultWebSkinText??:: - - - - - ::??DefaultWebSkinText??:: - font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Navy - background:White - - - - ::??DefaultWebSkinText??:: - - - - - - - - none - - - diff --git a/doc/salome/gui/KERNEL/default_ns.css b/doc/salome/gui/KERNEL/default_ns.css deleted file mode 100755 index 3eeb3c496..000000000 --- a/doc/salome/gui/KERNEL/default_ns.css +++ /dev/null @@ -1,118 +0,0 @@ -BODY { - background-color:#ffffff; - font-family:"Times New Roman" , serif; } -H1 { - font-weight:bold; - font-size:24.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H1 { - font-weight:bold; - font-size:24.0pt; } -H2 { - font-weight:bold; - font-size:18.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H2 { - font-weight:bold; - font-size:18.0pt; } -H3 { - font-weight:bold; - font-size:14.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H3 { - font-weight:bold; - font-size:14.0pt; } -H4 { - font-weight:bold; - font-size:12.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H4 { - font-weight:bold; - font-size:12.0pt; } -H5 { - font-weight:bold; - font-size:10.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H5 { - font-weight:bold; - font-size:10.0pt; } -H6 { - font-weight:bold; - font-size:8.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H6 { - font-weight:bold; - font-size:8.0pt; } -P { - font-size:12.0pt; - margin-top:1pt; - margin-bottom:1pt; - font-family:"Times New Roman" , serif; } -LI.kadov-P { - font-size:12.0pt; } -A.expandspot { - color:#008000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.expandtext { - font-style:italic; - font-weight:normal; - color:#ff0000; } -A.dropspot { - cursor:hand; - color:#008000; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -A.glossterm { - color:#800000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.glosstext { - font-style:italic; - font-weight:normal; - color:#0000ff; } -OL { - margin-top:0px; - margin-bottom:0px; - font-family:"Times New Roman" , serif; } -UL { - margin-top:0px; - margin-bottom:0px; - font-family:"Times New Roman" , serif; } -A:active { } -A:hover { - x-text-underline:Off; - text-decoration:none; } -A:link { - x-text-underline:Off; - text-decoration:none; } -A:visited { - x-text-underline:Off; - text-decoration:none; } -P.TODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } -LI.kadov-P-CTODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } -ol ol { - margin-top:1px; } -ol ul { - margin-top:1px; } -ul ul { - margin-top:1px; } -ul ol { - margin-top:1px; } diff --git a/doc/salome/gui/KERNEL/dirpage.png b/doc/salome/gui/KERNEL/dirpage.png deleted file mode 100755 index 245cf15db..000000000 Binary files a/doc/salome/gui/KERNEL/dirpage.png and /dev/null differ diff --git a/doc/salome/gui/KERNEL/ehelp.xml b/doc/salome/gui/KERNEL/ehelp.xml deleted file mode 100755 index 9884c422c..000000000 --- a/doc/salome/gui/KERNEL/ehelp.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - WebSearch - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/ehlpdhtm.js b/doc/salome/gui/KERNEL/ehlpdhtm.js deleted file mode 100755 index 6cfd2e463..000000000 --- a/doc/salome/gui/KERNEL/ehlpdhtm.js +++ /dev/null @@ -1,4239 +0,0 @@ -// eHelp® Corporation Dynamic HTML JavaScript -// Copyright© 1998-2003 eHelp® Corporation.All rights reserved. -// Version=4.82 - -// Warning:Do not modify this file.It is generated by RoboHELP® and changes will be overwritten. - -//// Segment Begin -- (JavaScript 1.0) - -/// Section Begin - General and relative topics(JavaScript 1.0) - -//{{HH_SYMBOL_SECTION -var HH_ChmFilename = ""; -var HH_WindowName = ""; -var HH_GlossaryFont = ""; -var HH_Glossary = ""; -var HH_Avenue = ""; -var HH_ActiveX = false; -//}}HH_SYMBOL_SECTION - -//Begin to support previous generic parameters -//Get the information about the browser. -var gstrBsAgent = navigator.userAgent.toLowerCase(); -var gnBsVer = parseInt(navigator.appVersion); - -var gbBsOpera = (gstrBsAgent.indexOf('opera') != -1); -var gbBsKonqueror = (gstrBsAgent.indexOf('konqueror') != -1); -var gbBsSafari = (gstrBsAgent.indexOf('safari') != -1); -var gbBsIE = (gstrBsAgent.indexOf('msie') != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari; -var gbBsNS = (gstrBsAgent.indexOf('mozilla') != -1) && ((gstrBsAgent.indexOf('spoofer') == -1) && (gstrBsAgent.indexOf('compatible') == -1)) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari; - -var gbBsMac = (gstrBsAgent.indexOf('mac') != -1); -var gbBsWindows = ((gstrBsAgent.indexOf('win') != -1) || (gstrBsAgent.indexOf('16bit') != -1)); -var gbBsSunOS = (gstrBsAgent.indexOf("sunos") != -1); - -var gbBsIE3Before = ((gbBsIE) && (gnBsVer <= 2)); -var gbBsNS3Before = ((gbBsNS) && (gnBsVer <= 3)); - -var gbBsNS2 = ((gbBsNS) && (gnBsVer <= 2)); -var gbBsNS3 = ((gbBsNS) && (gnBsVer == 3)); -var gbBsIE300301 = ((gbBsIE) && (gnBsVer == 2) && ((gstrBsAgent.indexOf("3.00") != -1)||(gstrBsAgent.indexOf("3.0a") != -1)||(gstrBsAgent.indexOf("3.0b")!=-1)||(gstrBsAgent.indexOf("3.01")!=-1))); -var gbBsIE302 = ((gbBsIE) && (gnBsVer == 2) && (gstrBsAgent.indexOf("3.02") != -1)); - -var gbBsNS4 = ((gbBsNS) && (gnBsVer >= 4)); -var gbBsNS6 = ((gbBsNS) && (gnBsVer >= 5)); -var gbBsNS7 = false; - -var gbBsIE4 = ((gbBsIE) && (gnBsVer >= 4)); -var gbBsIE5 = false; -var gbBsIE55 = false; - -var gbBsOpera6 = false; -var gbBsOpera7 = false; - -var gbBsKonqueror3 = false; - - - -gbBsIE = (navigator.appName.indexOf("Microsoft") != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari;; -if (gbBsIE) -{ - if (parseInt(navigator.appVersion) >= 4) { - gbBsIE4 = true; - if (gbBsIE4) { - var nPos = gstrBsAgent.indexOf("msie"); - var strIEversion = gstrBsAgent.substring(nPos + 5); - var nVersion = parseFloat(strIEversion); - if (nVersion >= 5) - gbBsIE5 = true; - if (nVersion >= 5.5) - gbBsIE55 = true; - } - } -} -if (gbBsNS6) -{ - var nPos=gstrBsAgent.indexOf("gecko"); - if(nPos!=-1) - { - var nPos2=gstrBsAgent.indexOf("/", nPos); - if(nPos2!=-1) - { - var nVersion=parseFloat(gstrBsAgent.substring(nPos2+1)); - if (nVersion>=20020823) - gbBsNS7=true; - } - } -} -if (gbBsOpera) -{ - var nPos = gstrBsAgent.indexOf("opera"); - if(nPos!=-1) - { - var nVersion = parseFloat(gstrBsAgent.substring(nPos+6)); - if (nVersion >= 6) - { - gbBsOpera6=true; - if (nVersion >=7) - gbBsOpera7=true; - } - } -} -if (gbBsKonqueror) -{ - var nPos = gstrBsAgent.indexOf("konqueror"); - if(nPos!=-1) - { - var nVersion = parseFloat(gstrBsAgent.substring(nPos+10)); - if (nVersion >= 3) - { - gbBsKonqueror3=true; - } - } -} - -function insertAdjacentHTML(obj, where, htmlStr) -{ - if (gbBsIE || gbBsOpera7) - { - obj.insertAdjacentHTML(where, htmlStr); - } - else if (gbBsNS6 || gbBsSafari) - { - var r = obj.ownerDocument.createRange(); - r.setStartBefore(obj); - var parsedHTML = r.createContextualFragment(htmlStr); - - switch (where){ - case 'beforeBegin': - obj.parentNode.insertBefore(parsedHTML,obj); - break; - case 'afterBegin': - obj.insertBefore(parsedHTML,obj.firstChild); - break; - case 'beforeEnd': - obj.appendChild(parsedHTML); - break; - case 'afterEnd': - if (obj.nextSibling){ - obj.parentNode.insertBefore(parsedHTML,obj.nextSibling); - } else { - obj.parentNode.appendChild(parsedHTML); - } - break; - } - } -} - -// Utilities functions. -function BsscHasExtJs() -{ - if( gbBsIE3Before || gbBsNS3Before) - return false; - return true; -} - -// Register event handler -var gBsOnLoads = new Array(); // An array holds all the onload event handler. -var gBsOnClicks = new Array(); // An array holds all the onClick event handler. -var gBsOnUnLoads = new Array(); // An array holds all the OnUnLoad event handler. -var gBsOnMouseOvers = new Array(); // An array holds all the OnMouseOver event handler. -var gBsOnMouseOuts = new Array(); // An array holds all the OnMouseOut event handler. - -var gbOrignalOnMouseDown = null; - -function BsscRegisterOnLoad(funcHandler) -{ - var nLength = gBsOnLoads.length; - gBsOnLoads[nLength] = funcHandler; -} - -function BsscRegisterOnClick(funcHandler) -{ - var nLength = gBsOnClicks.length; - gBsOnClicks[nLength] = funcHandler; -} - -function BsscRegisterOnUnLoad(funcHandler) -{ - var nLength = gBsOnUnLoads.length; - gBsOnUnLoads[nLength] = funcHandler; -} - -function BsscRegisterOnMouseOver(funcHandler) -{ - var nLength = gBsOnMouseOvers.length; - gBsOnMouseOvers[nLength] = funcHandler; -} - -function BsscRegisterOnMouseOut(funcHandler) -{ - var nLength = gBsOnMouseOuts.length; - gBsOnMouseOuts[nLength] = funcHandler; -} - -function BsGeneralOnLoad() -{ - if (!gbBsIE4 && !gbBsNS4) - return; - - // Make everything visible in navigator - if (gbBsNS4 && !gbBsNS6) { - // Make some special effects items visible - for (var iLayer = 0; iLayer < document.layers.length; iLayer++) { - document.layers[iLayer].visibility = "show"; - document.layers[iLayer].left = 0; - } - } -} - -// If resize the netscape browser, need to reload it. -function BsReDo() -{ - if (innerWidth != origWidth || innerHeight != origHeight) - location.reload(); -} -// End of the local functions. - -// The following functions are used by the html files. -function BSSCOnLoad() -{ - if( !BsscHasExtJs() ) - return; - for (var nElement = gBsOnLoads.length - 1; nElement >= 0; nElement--) - gBsOnLoads[nElement](); -} - -function BSSCOnClick() -{ - if (!BsscHasExtJs()) return; - - for (var nElement = gBsOnClicks.length - 1; nElement >= 0; nElement--) - gBsOnClicks[nElement](); -} - -function BSSCOnUnload() -{ - if (!BsscHasExtJs()) return; - for (var nElement = gBsOnUnLoads.length - 1; nElement >= 0; nElement--) - gBsOnUnLoads[nElement](); -} - -function BSSCOnMouseOver() -{ - if (!BsscHasExtJs()) return; - for (var nElement = gBsOnMouseOvers.length - 1; nElement >= 0; nElement--) - gBsOnMouseOvers[nElement](); -} - -function BSSCOnMouseOut() -{ - if (!BsscHasExtJs()) return; - for (var nElement = gBsOnMouseOuts.length - 1; nElement >= 0; nElement--) - { - gBsOnMouseOuts[nElement](); - } -} -// End of invocation of the event handle functions. - -// Add the GereralOnLoad to the onload array. -if (typeof(BsscRegisterOnLoad) != "undefined") -{ - BsscRegisterOnLoad(BsGeneralOnLoad); -} -if (gbBsNS4&&!gbBsNS6) { - origWidth = innerWidth; - origHeight = innerHeight; - onresize = BsReDo; -} -//End to support previous generic parameters - -//Begin to support previous HHActiveX invoking -function BsHHActivateComponents() -{ - if( HH_ActiveX && (HH_ChmFilename != "") && ((self == top) || (self == top.frames[0]))) - { - var objBody = getElementsByTag(document,"BODY")[0]; - if( typeof(objBody) == "object" ) - { - insertAdjacentHTML(objBody, "beforeEnd", ''); - if (HHComponentActivator.object) - HHComponentActivator.Activate(HH_ChmFilename, HH_WindowName, HH_GlossaryFont, HH_Glossary, HH_Avenue); - } - } -} - -function BsHHActivXOnLoad() -{ - if( gbBsIE4 ) - BsHHActivateComponents(); -} - -if( typeof(BsscRegisterOnLoad) != "undefined" ) -{ - BsscRegisterOnLoad(BsHHActivXOnLoad); -} -//End to support previous HHActiveX invoking - -//Begin to support previous relative topics -//If webHelp needs Related Topics DHTMLcode, it's supposed to add it here -var gbPopupMenuTimeoutExpired = false; -var gbInPopupMenu = false; -var gbPopupMenuTopicList = null; -var gOlddocumentClick = null; - -////////////////////////////////////////////////////////////////////////////////////////// -// -// Popup Menu code -// -////////////////////////////////////////////////////////////////////////////////////////// - -var g_bIsPopupMenuInit = false; -function _WritePopupMenuLayer() -{ - if (!g_bIsPopupMenuInit) - { - if (gbBsNS4&&!gbBsNS6) { -//Do not try to write ininle styles for NS! NS can not handle it and will not stop downloading the html page... - document.write("
"); - } else{ - document.write(""); - if (!(gbBsNS4&&!gbBsNS6)) { - document.write(""); - } - } - g_bIsPopupMenuInit = true; - } -} - -//Seek for the bsscright frame -function _SeekFrameByName( cRoot, strName ) -{ - if( cRoot == null ) return null; - if( cRoot.frames == null ) return null; - if( cRoot.frames[strName] != null ) return cRoot.frames[strName]; - for (var i=0; i'; - } else { - strMenu += '' + gbPopupMenuTopicList[fn_arguments[i]].strTitle + ''; - } - strMenu += ''; - - if (isNaN(fn_arguments[i]) || (gbPopupMenuTopicList == null)) { - i += 2; - } else { - i += 1; - } - } - strMenu += ""; - - if (gbBsMac) { - // totally hack. because ie5 in mac need something. is one of them. mac is mad. - strMenu +="
"; - } - - var layerPopup = null; - var stylePopup = null; - var nEventX = 0; - var nEventY = 0; - var nWindowWidth = 0; - if (gbBsIE4 || gbBsOpera7) { - - layerPopup = getElement("PopupMenu"); - layerPopup.innerHTML = strMenu; - stylePopup = layerPopup.style; - - _BSPSGetClientSize(); - - // Get the position of the item causing the event (relative to its parent) - nEventX = window.event.clientX; - nEventY = window.event.clientY; - - if (nEventY + layerPopup.scrollHeight + 10 < gBsClientHeight) { - nEventY += document.body.scrollTop + 10; - } else { - nEventY = (document.body.scrollTop + gBsClientHeight) - layerPopup.scrollHeight - 20; - } - stylePopup.top = nEventY; - - var nPopupWidth = layerPopup.scrollWidth; - if (gbBsMac) { - nPopupWidth = 80; // we have no idea how to get the dynamic width of the popup. - } - if (nEventX + nPopupWidth + 20 > gBsClientWidth) { - if (gBsClientWidth - nPopupWidth < 5) { - stylePopup.left = 5; - } else { - stylePopup.left = gBsClientWidth - nPopupWidth - 5; - } - } else { - stylePopup.left = nEventX + document.body.scrollLeft + 20; - } - - stylePopup.visibility = "visible"; - if (!gOlddocumentClick && document.onclick) - gOlddocumentClick = document.onclick; - document.onclick = PopupMenu_HandleClick; - - } else if (gbBsNS6 || gbBsKonqueror3||gbBsSafari) { - layerPopup = getElement("PopupMenu"); - layerPopup.style.visibility = "hidden"; - - if (gbBsNS6) - { - var e = fn_arguments[0]; - nEventX = e.pageX; - nEventY = e.pageY; - } - else - { - nEventX = window.event.clientX; - nEventY = window.event.clientY; - } - _BSPSGetClientSize(); - layerPopup.innerHTML = strMenu; - - if (nEventY + layerPopup.offsetHeight + 20 < window.pageYOffset + gBsClientHeight) { - nEventY += 20; - } else { - nEventY = gBsClientHeight + window.pageYOffset - layerPopup.offsetHeight - 20; - } - - if (nEventX + layerPopup.offsetWidth + 20 > gBsClientWidth + window.pageXOffset) { - if (gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth < 20) { - nEventX = 5; - } else { - nEventX = gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth - 20; - } - } else { - nEventX += 20; - } - layerPopup.style.top = nEventY; - layerPopup.style.left = nEventX; - // set again to avoid the stupid frash in netscape 6. - layerPopup.innerHTML = strMenu; - layerPopup.style.visibility = "visible"; - //window.captureEvents(Event.MOUSEDOWN); - if (!gOlddocumentClick && document.onclick) - gOlddocumentClick = document.onclick; - window.onclick = PopupMenu_HandleClick; - } - else if (gbBsNS4) { - layerPopup = document.layers.PopupMenu; - layerPopup.visibility = "hide"; - stylePopup = layerPopup.document; - stylePopup.write(strMenu); - stylePopup.close(); - var e = fn_arguments[0]; - nEventX = e.pageX; - nEventY = e.pageY; - _BSPSGetClientSize(); - if (nEventY + layerPopup.clip.height + 20 < window.pageYOffset + gBsClientHeight) { - nEventY += 20; - } else { - nEventY = gBsClientHeight + window.pageYOffset- layerPopup.clip.height - 20; - } - layerPopup.top = nEventY; - - if (nEventX + layerPopup.clip.width + 20 > gBsClientWidth + window.pageXOffset) { - if (gBsClientWidth + window.pageXOffset - layerPopup.clip.width < 20) { - nEventX = 5; - } else { - nEventX = gBsClientWidth + window.pageXOffset - layerPopup.clip.width - 20; - } - } else { - nEventX += 20; - } - - layerPopup.left = nEventX; - - layerPopup.visibility = "show"; - - window.captureEvents(Event.MOUSEDOWN); - if (!gOlddocumentClick && document.onmousedown) - gOlddocumentClick = document.onmousedown; - window.onmousedown = PopupMenu_HandleClick; - } - - window.gbInPopupMenu = true; - window.gbPopupMenuTimeoutExpired = false; - setTimeout("PopupMenu_Timeout();", 100); - return false; -} - -function PopupMenu_Timeout() -{ - window.gbPopupMenuTimeoutExpired = true; -} - -function PopupMenu_Over(e) -{ - if (gbBsIE4||gbBsOpera7) - e.srcElement.className = "PopupOver"; - else if (gbBsNS6) - e.target.parentNode.className = "PopupOver"; - return; -} - -function PopupMenu_Out(e) -{ - if (gbBsIE4||gbBsOpera7) - e.srcElement.className = "PopupNotOver"; - else if (gbBsNS6) - e.target.parentNode.className = "PopupNotOver"; - return; -} - -function PopupMenu_HandleClick(e) -{ - if (window.gbPopupMenuTimeoutExpired) { - window.gbInPopupMenu = false; - if (gbBsNS4 && !gbBsNS6) { - window.releaseEvents(Event.MOUSEDOWN); - } - - var layerPopup = null; - if (gbBsNS4&&!gbBsNS6) { - layerPopup = document.layers.PopupMenu; - layerPopup.visibility = "hide"; - } else { - layerPopup = getElement("PopupMenu"); - layerPopup.style.visibility = "hidden"; - } - - if (gOlddocumentClick) - { - if (gbBsNS4 && !gbBsNS6) - document.onmousedown = gOlddocumentClick; - else - document.onclick = gOlddocumentClick; - } - } - return; -} - -function BSSCPopup_ClickMac() -{ - if ((!DHTMLPopupSupport()) && (gbBsIE4 || gbBsOpera7)) - { - var bClickOnAnchor = false; - var el; - if ((window.event != null) && - (window.event.srcElement != null)) - { - el = window.event.srcElement; - while (el != null) - { - if ((el.tagName == "A") || (el.tagName == "AREA")) { - bClickOnAnchor = true; - break; - } - if (el.tagName == "BODY") { - break; - } - el = getParentNode(el); - } - } - if (BSSCPopup_IsPopup()) - { - if (!bClickOnAnchor) { - parent.window.gPopupWindow = null; - self.close(); - } - } - else - { - bClosePopupWindow = true; - if ((bClickOnAnchor) && - (el.href) && - ((el.href.indexOf("javascript:BSSCPopup") != -1) || (el.href.indexOf("javascript:null") != -1) || (el.href.indexOf("javascript:void(0)") != -1))) - { - bClosePopupWindow = false; - } - if (bClosePopupWindow) - { - if (window.gPopupWindow != null && !window.gPopupWindow.closed ) - { - window.gPopupWindow.close(); - } - } - } - } -} - -function BsPopupOnClick() -{ - if (!gbBsIE4 && !gbBsOpera7) - return; - - BSSCPopup_ClickMac(); -} - -function _BSSCOnError(message) -{ - if(-1 != message.indexOf("denied") - || -1 != message.indexOf("Object required")) - return true; -} - -//End to support previous relative topics - -/// Section End - General and relative topics (JavaScript 1.0) - -/// Section Begin - Popup (JavaScript 1.0) -//Begin to support previous popup functions - -//variables used to isolate the browser type -var gBsStyVisShow = null; -var gBsStyVisHide = null; -var gBsClientWidth = 640; -var gBsClientHeight = 480; - -// here is the varible for judge popup windows size. these parameter is for IE5.0, it may need adjust for others. -var gBRateH_W = 0.618; // 1.618 Golden cut. -var gBMaxXOfParent = 0.8; -var gBMaxYOfParent = 0.8; -var gBscrollHeight = 16; -var gBscrollWidth = 16; -var gBpermitXDelta = 3; -var gBpermitYDelta = 3; - - -var arrayPopupURL = new Array(); -var arrayAbsPopupURL = new Array(); - -var arrayDirty = new Array(); - -function setAbsPopupURL(nIndex, strURL) -{ - arrayAbsPopupURL[nIndex] = strURL; -} - -function getAbsPopupURL(nIndex) -{ - if (nIndex == -1 || arrayAbsPopupURL.length <= nIndex) return null; - else - return arrayAbsPopupURL[nIndex]; -} - -function getPopupURL(nIndex) -{ - if (nIndex == -1 || arrayPopupURL.length <= nIndex) return null; - else - return arrayPopupURL[nIndex]; -} - -function getPopupID(nIndex) -{ - return gstrPopupID + nIndex; -} - -function getPopupShadowID(nIndex) -{ - return gstrPopupShadowID + nIndex; -} - -function getPopupTopicID(nIndex) -{ - return gstrPopupTopicID + nIndex; -} - -function getPopupIFrameID(nIndex) -{ - return gstrPopupIFrameID + nIndex; -} - -function getPopupIFrameName(nIndex) -{ - return gstrPopupIFrameName + nIndex; -} - - -function getPopupTopicStyle(nIndex) -{ - return getElement(getPopupTopicID(nIndex)).style; -} - -function getPopupShadowStyle(nIndex) -{ - return getElement(getPopupShadowID(nIndex)).style; -} - -function getPopupIFrame(nIndex) -{ - if (gbBsNS6) - return eval("window.frames['" + getPopupIFrameName(nIndex) + "']"); - else - return eval("document.frames['" + getPopupIFrameName(nIndex) + "']"); -} - -function getPopupDivStyle(nIndex) -{ - return getElement(getPopupID(nIndex)).style; -} - -function getPopupIFrameStyle(nIndex) -{ - return getElement(getPopupIFrameID(nIndex)).style; -} - - -function findDiv(strURL) -{ - for (var i = 0; i < arrayPopupURL.length; i ++ ) { - if (arrayPopupURL[i] == strURL) { - return i; - } - } - return -1; -} - -var gnToken = -1; -function takeToken() -{ - gnToken ++; - if (gnToken > 10000) gnToken = 0; - return gnToken; -} - -function IsValidToken(nToken) -{ - return (gnToken == nToken); -} - -function addDiv(strURL) -{ - for (var i = 0; i < arrayPopupURL.length; i ++) { - if (arrayPopupURL[i] == null) { - arrayPopupURL[i] = strURL; - return i; - } - } - arrayPopupURL[i] = strURL; - arrayDirty[i] = true; - return i; -} - -function setDirty() -{ - for (var i = 0; i < arrayPopupURL.length; i ++ ) - arrayDirty[i] = true; -} - -function IsDirty(nIndex) -{ - if (nIndex == -1) - return true; - else - if (arrayDirty.length > nIndex) - return arrayDirty[nIndex]; - else - return true; -} - -function hideAll() -{ - for (var i = 0; i < arrayPopupURL.length; i ++ ) - { - getPopupDivStyle(i).visibility = gBsStyVisHide; - getPopupIFrameStyle(i).visibility = gBsStyVisHide; - } -} - -function getCurrentPopupIFrame() -{ - for (var i = 0; i < arrayPopupURL.length; i ++) - if (getPopupDivStyle(i).visibility == gBsStyVisShow) - return getPopupIFrame(i); - return null; -} - -function setClear(nIndex) -{ - if (nIndex != -1) - arrayDirty[nIndex] = false; -} - -function _BSSCCreatePopupDiv(strURL) -{ - var nIndex = findDiv(strURL); - if (nIndex == -1 ) { - nIndex = addDiv(strURL); - BsPopup_CreateDiv(nIndex); - } - else { - if (IsDirty(nIndex)) { - if("object" == typeof(getPopupIFrame(nIndex).document)) - getPopupIFrame(nIndex).document.location.href = strURL; - } - } - return nIndex; -} - -//Here is the browser type -function _BSPSGetBrowserInfo() -{ - if (gbBsNS4&&!gbBsNS6) - { - gBsStyVisShow = "show"; - gBsStyVisHide = "hide"; - } - else - { - gBsStyVisShow = "visible"; - gBsStyVisHide = "hidden"; - } -} - -_BSPSGetBrowserInfo(); - -//Get client size info -function _BSPSGetClientSize() -{ - if (gbBsNS4||gbBsKonqueror3||gbBsSafari) - { - gBsClientWidth = innerWidth; - gBsClientHeight = innerHeight; - } - else if (gbBsIE4 || gbBsOpera7) - { - gBsClientWidth = document.body.clientWidth; - gBsClientHeight = document.body.clientHeight; - } -} - -var gstrPopupID = 'BSSCPopup'; -var gstrPopupShadowID = 'BSSCPopupShadow'; -var gstrPopupTopicID = 'BSSCPopupTopic'; -var gstrPopupIFrameID = 'BSSCPopupIFrame'; -var gstrPopupIFrameName = 'BSSCPopupIFrameName'; - -var gstrPopupSecondWindowName = 'BSSCPopup'; - -var gPopupWindow = null; -var gnPopupClickX = 0; -var gnPopupClickY = 0; - -var gnPopupScreenClickX = 0; -var gnPopupScreenClickY = 0; - -var gbPopupTimeoutExpired = false; - -function DHTMLPopupSupport() -{ - if (((gbBsIE4) && (!gbBsMac))||gbBsOpera7|| gbBsNS7) { - return true; - } - return false; -} - -function BSSCPopup_IsPopup() -{ - if (DHTMLPopupSupport() && (this.name.indexOf(gstrPopupIFrameName) != -1)) { - return true; - } else if ((gbBsNS4 || gbBsIE4 || gbBsOpera7) && (this.name.indexOf(gstrPopupID) != -1)) { - return true; - } else { - return false; - } -} - -// If there is a hyperlink in a popup window, display the hyperlink in -// the original window. (bsscright) -if (BSSCPopup_IsPopup() && !gbBsIE4 && !gbBsOpera7) { - document.write(""); -} - -// Local functions. -function BsPopup_CreateDiv(nIndex) -{ - if(!DHTMLPopupSupport()) - return; - // DO NOT SET Width and height for the div, otherwize it will make IE4 popup do not work when view the topic alone. - var strPopupDiv = ""; - - var objBody = getElementsByTag(document, "BODY")[0]; - if( typeof(objBody) != "object" ) - return; - - insertAdjacentHTML(objBody, "beforeEnd", strPopupDiv); -} - -function handleLoadNS() -{ - if (this.id) - { - var nIndex = parseInt(this.id.substring(gstrPopupIFrameID.length)); - BSSCPopup_PostWork(nIndex); - } -} - -function BSSCPopup_PostWork(nIndex) -{ - getPopupDivStyle(nIndex).visibility = gBsStyVisShow; - getPopupIFrameStyle(nIndex).visibility =gBsStyVisShow; - - setClear(nIndex); - window.gbPopupTimeoutExpired = true; - - BSSCPopup_ChangeTargettoParent(getPopupIFrame(nIndex).document); - if (gbBsNS6) - getPopupIFrame(nIndex).document.body.addEventListener("click",BSSCPopupClicked,false); - else - getPopupIFrame(nIndex).document.body.onclick = BSSCPopupClicked; - - if (!gbOrignalOnMouseDown && document.onmousedown) - gbOrignalOnMouseDown = document.onmousedown; - - if (gbBsNS6) - document.addEventListener("mousedown", BSSCPopupParentClicked,false); - else - document.onmousedown = BSSCPopupParentClicked; -} - -function BSSCPopup_Timeout(nIndex, nToken) -{ - if (!IsValidToken(nToken)) return; - - if (gbBsNS6||((getPopupIFrame(nIndex).document.readyState == "complete") && - (getPopupIFrame(nIndex).document.body != null))) { - BSSCPopup_PostWork(nIndex); - } else { - setTimeout("BSSCPopup_Timeout(" + nIndex + "," + nToken + ")", 100); - } -} - -// VH 08/10/00 -// do not change target to parent if the href is using javascript -function BSSCPopup_ChangeTargettoParent(tagsObject) -{ - var collA = getElementsByTag(tagsObject, "A"); - BSSCPopup_ChangeTargettoParent2(collA); - - var collIMG = getElementsByTag(tagsObject,"IMG"); - BSSCPopup_ChangeTargettoParent2(collIMG); -} - -function BSSCPopup_ChangeTargettoParent2(colls) -{ - if (colls != null) { - for (var j = 0; j < colls.length; j ++ ) - { - var strtemp = colls[j].href; - if (strtemp) - { - strtemp = strtemp.toLowerCase(); - if (strtemp.indexOf("javascript:") == -1) - if (colls[j].target == "") - colls[j].target = "_parent"; - } - } - } -} - -function BSPSPopupTopicWinHelp(strURL) -{ - _BSSCPopup(strURL); - return; -} - -function _BSSCPopup(strURL, width, height) -{ - var cuswidth = 0; - var cusheight = 0; - if ("undefined" != typeof(width) && "undefined" != typeof(height)) { - cuswidth = width; - cusheight= height; - } - - if (DHTMLPopupSupport()) { - var nToken = takeToken(); // take token first. - var nIndex = _BSSCCreatePopupDiv(strURL); - window.gbPopupTimeoutExpired = false; - var ntWidth = gBsClientWidth; - var ntHeight = gBsClientHeight; - _BSPSGetClientSize(); - if (ntWidth != gBsClientWidth || ntHeight != gBsClientHeight) { - setDirty(); - } - - if (IsDirty(nIndex)) { - if (gbBsMac) { - setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight +")", 400); - } else { - setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 100); - } - } - else { - MoveDivAndShow(nIndex ,nToken, cuswidth, cusheight); - } - } else { - _BSSCPopup2(strURL, cuswidth, cusheight); - } - return; -} - -if (gbBsIE55) -{ - var ehlpdhtm_fOldBefureUnload = window.onbeforeunload; - var gnBsUnload=0; - window.onbeforeunload = window_BUnload; -} - -function window_BUnload() -{ - gnBsUnload++; - if (gnBsUnload>1) - return; - for (var i = 0; i < arrayPopupURL.length; i ++) - removeThis(document.all(getPopupID(i))); - arrayPopupURL.length = 0; - if (ehlpdhtm_fOldBefureUnload) - ehlpdhtm_fOldBefureUnload(); -} - -function _BSSCPopup2(strURL, width, height) -{ - if (gbBsOpera6&&gbBsMac) - { - var wmTemp = window.open(document.location.href, gstrPopupSecondWindowName); - wmTemp.close(); - setTimeout("_BSSCPopup3(\""+strURL+"\","+width+","+height+");",100); - } - else - _BSSCPopup3(strURL, width, height); -} - -function _BSSCPopup3(strURL, width, height) -{ - if (window.name == gstrPopupSecondWindowName) { - window.location = strURL; - } else { - if (!gbBsMac || !gbBsNS4) { - BSSCHidePopupWindow(); - } - var nX = 0; - var nY = 0; - var nHeight = 300; - var nWidth = 400; - if (width > 0 && height > 0) { - nHeight = height; - nWidth = width; - } - _BSPSGetClientSize(); - - nX = window.gnPopupScreenClickX; - nY = window.gnPopupScreenClickY; - - if (nY + nHeight + 40 > screen.availHeight) { - nY = screen.availHeight - nHeight - 40; - } - if (nX + nWidth + 40 > screen.availWidth) { - nX = screen.availWidth - nWidth - 40; - } - - // Launch a separate window - var strParam="titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes"; - if (gbBsNS) { - if (gbBsNS6) { - strParam += ",Height=" + nHeight + ",Width=" + nWidth; - strParam += ",screenX=" + nX + ",screenY=" + nY; - strParam += ",dependent=yes"; - } - else { - strParam += ",OuterHeight=" + nHeight + ",OuterWidth=" + nWidth; - strParam += ",screenX=" + nX + ",screenY=" + nY; - strParam += ",dependent=yes"; - } - } - else { - strParam += ",height=" + nHeight + ",width=" + nWidth; - strParam += ",left=" + nX + ",top=" + nY; - } - if (gbBsSafari) - { - if (window.gPopupWindow) - window.gPopupWindow.close(); - window.gPopupWindow = window.open(strURL, "", strParam); - window.gPopupWindow.name = gstrPopupSecondWindowName; - window.gPopupWindow.moveTo(nX, nY); - widnow.gPopupWindow.document.location.reload(); - } - else - { - var wmTemp=null; - if (gbBsKonqueror3) - { - if (window.gPopupWindow) - window.gPopupWindow.close(); - } - if (gbBsOpera&&gbBsMac) - { - wmTemp= window.open(document.location.href, "Temp", strParam); - } - window.gPopupWindow = window.open(strURL, gstrPopupSecondWindowName, strParam); - if (!gbBsIE) - window.gPopupWindow.focus(); - - if (wmTemp) - wmTemp.close(); - } - - if (gbBsNS4) - setEventHandle(); - else if (gbBsIE4 || gbBsOpera7||gbBsKonqueror3) - setTimeout("setPopupFocus();", 100); - } - return; -} - -function setEventHandle() -{ - window.gPopupWindow.captureEvents(Event.CLICK | Event.BLUR); - window.gPopupWindow.onclick = NonIEPopup_HandleClick; - window.gPopupWindow.onblur = NonIEPopup_HandleBlur; -} - -function setPopupFocus() -{ - window.gPopupWindow.focus(); -} - -function NonIEPopup_HandleBlur(e) -{ - window.gPopupWindow.focus(); -} - -function NonIEPopup_HandleClick(e) -{ - // Because navigator will give the event to the handler before the hyperlink, let's - // first route the event to see if we are clicking on a Popup menu in a popup. - document.routeEvent(e); - - // If a popup menu is active then don't do anything with the click - if (window.gPopupWindow.gbInPopupMenu) { - window.gPopupWindow.captureEvents(Event.CLICK); - window.gPopupWindow.onclick = NonIEPopup_HandleClick; - return false; - } - - // Close the popup window - if(e.target.href) - { - if(e.target.href.indexOf("javascript:")==-1) - { - if (e.target.target=="") - window.location.href = e.target.href; - else - window.open(e.target.href, e.target.target); - this.close(); - } - } - else - this.close(); - return false; -} - -function BSSCPopup_AfterLoad(nIndex, nToken, cuswidth, cusheight) -{ - if (!window.getPopupIFrame(nIndex).document) { - _BSSCPopup2(getPopupURL(nIndex), cuswidth, cusheight); - return; - } - - if (!IsValidToken(nToken)) return; - - if (gbBsNS6) - { - setAbsPopupURL(nIndex, window.getPopupIFrame(nIndex).document.location.href); // change URL to abs url. - BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight); - return; - } - - if ((window.getPopupIFrame(nIndex).document.readyState == "complete") && - (window.getPopupIFrame(nIndex).document.body != null)) { - if (window.getPopupIFrame(nIndex).document.location.href.indexOf("about:blank") != -1) { // add this check. IE will use about:blank" as the default vaule for Iframe. - window.getPopupIFrame(nIndex).document.location = getPopupURL(nIndex); - setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200); - } - else - { - setAbsPopupURL(nIndex, window.getPopupIFrame(nIndex).document.location.href); // change URL to abs url. - BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight); - } - } else { - setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200); - } -} - -function BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight) -{ - if (window.gbPopupTimeoutExpired) return; - - if (!IsValidToken(nToken)) return; - - getPopupDivStyle(nIndex).visibility = gBsStyVisHide; - getPopupIFrameStyle(nIndex).visibility = gBsStyVisHide; - - // Determine the width and height for the window - _BSPSGetClientSize(); - - var size = new BSSCSize(0, 0); - - if (cuswidth <= 0 || cusheight <= 0) - BSSCGetContentSize(window.getPopupIFrame(nIndex), size); - else { - size.x = cuswidth; - size.y = cusheight; - } - - // Determine the width and height for the window - var nWidth = size.x; - var nHeight = size.y; - - // for small popup size, we should allow any size. - // The popup size should be ok if bigger than 0 - if (nWidth < 0 || nHeight < 0) return; // there must be something terribly wrong. - - getPopupDivStyle(nIndex).width = nWidth; - getPopupDivStyle(nIndex).height = nHeight; - - getPopupShadowStyle(nIndex).width = nWidth; - getPopupShadowStyle(nIndex).height = nHeight; - getPopupTopicStyle(nIndex).width = nWidth; - getPopupTopicStyle(nIndex).height = nHeight; - if (gbBsIE55) - { - getPopupShadowStyle(nIndex).width = nWidth + 2; - getPopupShadowStyle(nIndex).height = nHeight + 2; - getPopupTopicStyle(nIndex).width = nWidth + 2; - getPopupTopicStyle(nIndex).height = nHeight + 2; - } - - getPopupIFrameStyle(nIndex).width = nWidth; - getPopupIFrameStyle(nIndex).height = nHeight; - if (gbBsIE55 || gbBsNS6) - { - getPopupIFrameStyle(nIndex).top = 0; - getPopupIFrameStyle(nIndex).left = 0; - } - - var strURL = getPopupURL(nIndex); - if (strURL.indexOf("#") != -1&&gbBsNS6) - getPopupIFrame(nIndex).location.reload(); - else if (strURL.indexOf("#") != -1||gbBsNS6) - getPopupIFrame(nIndex).location.href = strURL; // reload again, this will fix the bookmark misunderstand in IE5. - - MoveDivAndShow(nIndex, nToken, cuswidth, cusheight); -} - -function getScrollLeft() -{ - if (document.body.scrollLeft) - return document.body.scrollLeft; - else if (window.pageXOffset) - return window.pageXOffset; - else - return 0; -} - -function getScrollTop() -{ - if (document.body.scrollTop) - return document.body.scrollTop; - else if (window.pageYOffset) - return window.pageYOffset; - else - return 0; -} - - -function MoveDivAndShow(nIndex, nToken, cuswidth, cusheight) -{ - if (window.getPopupIFrame(nIndex).document.location.href != getAbsPopupURL(nIndex)) { // if redirect, reload again. - window.getPopupIFrame(nIndex).document.location = getPopupURL(nIndex); - setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200); - return; - } - - // Determine the position of the window - var nClickX = window.gnPopupClickX; - var nClickY = window.gnPopupClickY; - var nTop = 0; - var nLeft = 0; - - var nWidth = parseInt(getPopupDivStyle(nIndex).width); - var nHeight = parseInt(getPopupDivStyle(nIndex).height); - - if (nClickY + nHeight + 20 < gBsClientHeight + getScrollTop()) { - nTop = nClickY + 10; - } else { - nTop = (getScrollTop() + gBsClientHeight) - nHeight - 20; - } - if (nClickX + nWidth < gBsClientWidth + getScrollLeft()) { - nLeft = nClickX; - } else { - nLeft = (getScrollLeft() + gBsClientWidth) - nWidth - 8; - } - - if (nTop < getScrollTop()) nTop = getScrollTop() + 1; - if (nLeft< getScrollLeft()) nLeft = getScrollLeft() + 1; - - getPopupDivStyle(nIndex).left = nLeft; - getPopupDivStyle(nIndex).top = nTop; - - // Set the location of the background blocks - getPopupShadowStyle(nIndex).left = 6; - getPopupShadowStyle(nIndex).top = 6; - if (gbBsIE55) - { - getPopupShadowStyle(nIndex).left = 4; - getPopupShadowStyle(nIndex).top = 4; - } - - if (gbBsMac&&gbBsIE4) { - // Total hack on the iMac to get the IFrame to position properly - getPopupIFrameStyle(nIndex).pixelLeft = 100; - getPopupIFrameStyle(nIndex).pixelLeft = 0; - // Explicitly call BSSCOnLoad because the Mac doesn't seem to do it - getPopupIFrame(nIndex).window.BSSCOnLoad(); - } - - if (gbBsNS6&&IsDirty(nIndex)) - getElement(getPopupIFrameID(nIndex)).addEventListener("load", handleLoadNS, false); - else - BSSCPopup_Timeout(nIndex , nToken ); - return; -} - -function BSSCSize(x, y) -{ - this.x = x; - this.y = y; -} - -function BSSCGetContentSize(thisWindow, size) -{ - if (!gbBsIE4 && !gbBsOpera7 && !gbBsNS4) - return; - - if ((gbBsMac&&gbBsIE4)||gbBsNS4||gbBsOpera7) { - size.x = 320; - size.y = 180; - return; - } - - // Resize the width until it is wide enough to handle the content - // The trick is to start wide and determine when the scrollHeight changes - // because then we know a scrollbar is necessary. We can then go back - // to the next widest size (for no scrollbar) - - var ClientRate = gBsClientHeight / gBsClientWidth; - - - var GoldenSize = new BSSCSize(0,0); - GoldenSize.x = gBsClientWidth * gBMaxXOfParent; - GoldenSize.y = gBsClientHeight *gBMaxYOfParent ; - - if (ClientRate > gBRateH_W) { - GoldenSize.y = GoldenSize.x * gBRateH_W; - } - else { - GoldenSize.x = GoldenSize.y / gBRateH_W; - } - - // Try to using parent specified max x. - var x = 0; - var maxgoldx = GoldenSize.x; - var maxx = gBsClientWidth * gBMaxXOfParent; - - // This double resize causes the document to re-render (and we need it to) - if (!gbBsIE5) - thisWindow.moveTo(10000,10000); // this is used to fix the flash on IE4. - - thisWindow.resizeTo(1, 1); - thisWindow.resizeTo(1, 1); - thisWindow.resizeTo(maxgoldx, thisWindow.document.body.scrollHeight + gBscrollHeight); - thisWindow.resizeTo(maxgoldx, thisWindow.document.body.scrollHeight + gBscrollHeight); - - var miny = thisWindow.document.body.scrollHeight + gBscrollHeight; - - if (miny > GoldenSize.y) // the popup does not fix in the parent wanted golden area. so try to expand itself as large as it can - { - thisWindow.resizeTo(maxx , thisWindow.document.body.scrollHeight + gBscrollHeight); - thisWindow.resizeTo(maxx , thisWindow.document.body.scrollHeight + gBscrollHeight); - - miny = thisWindow.document.body.scrollHeight + gBscrollHeight; - maxy = gBsClientHeight * gBMaxYOfParent; - - if (miny > maxy) { // the popup must have a scroll, OK let it be. - miny = maxy; - size.x = maxx; - size.y = maxy; - thisWindow.document.body.scroll = 'yes'; // At this time we do want to show scroll any more. so it will looks better a little. - } - else { // popup still can fit in the parent area by someway. now we choose the same h/w rate as parent. - size.y = miny; - - // downsize from maxx , now I try to using binary divide. - x = maxx; - deltax = -maxx/2; - //j = 0; - while (true) { - x = x + deltax; - thisWindow.resizeTo(x, miny); - thisWindow.resizeTo(x, miny); - diffy = thisWindow.document.body.scrollHeight + gBscrollHeight - x * ClientRate; - if (diffy > gBpermitYDelta ) // it is higher than wanted, so x need to be wide a little bitter - deltax = Math.abs(deltax) /2; - else if (diffy < -gBpermitYDelta) // it is shorter than wanted, so x need to be narrow a little bitter - deltax = -Math.abs(deltax) /2; - else - // the y is close enough to wanted. - break; - if (Math.abs(deltax) < gBpermitXDelta) // the next change is too slight and it can be ignore. - break; - } - size.x = thisWindow.document.body.scrollWidth; //+ gBscrollWidth; - size.y = thisWindow.document.body.scrollHeight;// + gBscrollHeight; - thisWindow.document.body.scroll = 'no'; - } - } - else { - if (thisWindow.document.body.scrollWidth > maxgoldx) { - size.x = maxx; - size.y = miny; - thisWindow.document.body.scroll = 'yes'; - } - else { - // downsize from maxgoldx , now I try to using binary divide. - x = maxgoldx; - deltax = -maxgoldx/2; - while (true) { - x = x + deltax; - thisWindow.resizeTo(x, miny); - thisWindow.resizeTo(x, miny); - diffy = thisWindow.document.body.scrollHeight + gBscrollHeight - x * gBRateH_W; - if (diffy > gBpermitYDelta ) // it is higher than wanted, so x need to be wide a little bitter - deltax = Math.abs(deltax) /2; - else if (diffy < -gBpermitYDelta) // it is shorter than wanted, so x need to be narrow a little bitter - deltax = -Math.abs(deltax) /2; - else - // the y is close enough to wanted. - break; - if (Math.abs(deltax) < gBpermitXDelta) // the next change is too slight and it can be ignore. - break; - } - size.x = thisWindow.document.body.scrollWidth; //+ gBscrollWidth; - size.y = thisWindow.document.body.scrollHeight ; - thisWindow.document.body.scroll = 'no'; // At this time we do not want to show scroll any more. so it will looks better a little. - thisWindow.resizeTo(size.x, size.y); - if (thisWindow.document.body.scrollWidth > size.x) - { - size.x = thisWindow.document.body.scrollWidth; - } - if (thisWindow.document.body.scrollHeight > size.y) - { - size.y = thisWindow.document.body.scrollHeight; - } - } - } - thisWindow.resizeTo(size.x, size.y); - thisWindow.resizeTo(size.x, size.y); - return; -} - -function BSSCPopupParentClicked() -{ - if (!window.gbPopupTimeoutExpired) { - return false; - } - - document.onmousedown = gbOrignalOnMouseDown; - - // Simply hide the popup - hideAll(); - - window.gbPopupTimeoutExpired = false; - - return true; -} - -function isInsideHyperLink(obj) -{ - if (obj&&obj!=getParentNode(obj)) - { - if (obj.tagName=="A"||obj.tagName=="IMG") - return true; - else - return isInsideHyperLink(getParentNode(obj)); - } - else - return false; -} - -function BSSCPopupClicked(e) -{ - if (!window.gbPopupTimeoutExpired) { - return false; - } - - var popupIFrame = getCurrentPopupIFrame(); - if (popupIFrame == null) { - return true; - } - - if (gbBsIE4 && (!((popupIFrame.window.event != null) && - (popupIFrame.window.event.srcElement != null) && - isInsideHyperLink(popupIFrame.window.event.srcElement)))) { - document.onmousedown = gbOrignalOnMouseDown; - - // Simply hide the popup - hideAll(); - window.gbPopupTimeoutExpired = false; - return true; - } - else if (gbBsNS6 && (!((e != null) && - (e.target!= null) && isInsideHyperLink(e.target)))) - { - document.addEventListener("mousedown", gbOrignalOnMouseDown,false); - // Simply hide the popup - hideAll(); - window.gbPopupTimeoutExpired = false; - return true; - } -} - -//trace the mouse over's position for hotspot -function BSPSPopupOnMouseOver(event) -{ - if (gbBsIE4 || gbBsOpera7||gbBsKonqueror3) { - window.gnPopupClickX = event.clientX + getScrollLeft(); - window.gnPopupClickY = event.clientY + getScrollTop(); - window.gnPopupScreenClickX = event.screenX; - window.gnPopupScreenClickY = event.screenY; - } else if (gbBsSafari) { - window.gnPopupClickX = event.clientX + getScrollLeft(); - window.gnPopupClickY = event.clientY + getScrollTop(); - window.gnPopupScreenClickX = event.screenX + window.screenX; - window.gnPopupScreenClickY = event.screenY + window.screenY; - } else if (gbBsNS4) { - window.gnPopupClickX = event.pageX - window.pageXOffset; - window.gnPopupClickY = event.pageY - window.pageYOffset; - window.gnPopupScreenClickX = event.screenX - window.pageXOffset; - window.gnPopupScreenClickY = event.screenY - window.pageYOffset; - } -} - -function BSSCHidePopupWindow() -{ - if (window.gPopupWindow != null) { - if (gbBsNS4) { - if ((typeof window.gPopupWindow != "undefined") && (!window.gPopupWindow.closed)) { - window.gPopupWindow.close(); - window.gPopupWindow = null; - } - } - } - return; -} - -// Add the PopupOnClick to the onclick array. -if (typeof(BsscRegisterOnClick) != "undefined") -{ - BsscRegisterOnClick(BsPopupOnClick); -} -//End to support previous popup functions - -/// Section End - Popup (JavaScript 1.0) - -/// Section Begin - Embedded Stub (JavaScript 1.0) - -function BSSCCreatePopupDiv() -{ - return; -} - -function WritePopupMenuLayer() -{ - if (BsscHasExtJs()) {_WritePopupMenuLayer();} -} - -function BSSCPopup(strURL, width, height) -{ - var re = new RegExp("'", 'g'); - strURL = strURL.replace(re, "%27"); - - if (BsscHasExtJs()) { - _BSSCPopup(strURL, width, height); - }else{ - //Create a temporary window first to ensure the real popup comes up on top - var wndTemp = null; - if (!gbBsNS3) { - wndTemp = window.open("", "temp", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=3,width=4"); - } - // Create the real popup window - var wndPopup = window.open(strURL, "BSSCPopup", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=300,width=400"); - // Close the temporary - if (!gbBsNS3) { - wndTemp.close(); - } else { - wndPopup.focus(); - } - } -} - -var gbWndTemp = null, gbWndPopupLinks = null; -var gbstrParaTotal = ""; - -function PopupMenu_Invoke() -{ - if (typeof(wfRelatedTopic) == 'function' && typeof(IsFlashSupported) == 'function') - { - if (Number(gsSkinVersion) > 2 && IsFlashSupported()) - { - return wfRelatedTopic(PopupMenu_Invoke.arguments); - } - } - if (BsscHasExtJs()) { - return _PopupMenu_Invoke(PopupMenu_Invoke.arguments); - } - if (gbBsNS3Before || gbBsIE3Before ) { - var argLen = PopupMenu_Invoke.arguments.length; - if (argLen < 5) { - window.document.location.href = PopupMenu_Invoke.arguments[3]; - return false; - } - gbWndTemp = null; - gbWndPopupLinks = null; - gbstrParaTotal = ""; - for (var i = 0; i < (argLen - 2) / 2; i++) { - var strParaLine = ""; - if (gbBsNS2){ - strParaLine += "" - strParaLine += PopupMenu_Invoke.arguments[2 * i + 2]; - strParaLine += ""; - } else { - strParaLine += ""); - if (gbBsNS2) { - gbWndPopupLinks.document.write(""); - } else { - //YJ: IE301,302 and NS3.x works fine - gbWndPopupLinks.document.write("<"); - gbWndPopupLinks.document.write("script>"); - gbWndPopupLinks.document.write("function gotoUrl(aUrl) {opener.window.location=aUrl; close();}"); - gbWndPopupLinks.document.write("<"); - gbWndPopupLinks.document.write("/script>"); - } - gbWndPopupLinks.document.write(""); - gbWndPopupLinks.document.write(gbstrParaTotal); - gbWndPopupLinks.document.write(""); - gbWndPopupLinks.document.close(); - - // Close the temporary - if (!gbBsNS3 && gbWndTemp != null) { - gbWndTemp.close(); - }else { - gbWndPopupLinks.focus(); - } - - return true; - } - return false; -} - -/// Section End - Embedded Stub (JavaScript 1.0) - -//// Segment End -- (JavaScript 1.0) - -//// Segment Begin -- (JavaScript 1.2) -/// Section Begin - kadov DHTM (JavaScript 1.2) - -//Begin to support extended and dropdown text effects. -function kadovIsParagraph(el) -{ - return( el.tagName == "P" || el.tagName.indexOf("H") == 0 ) ? true : false; -} - -function kadovInitEachChild(el) -{ - for(var i=0; i "") ) - child.style.setAttribute( "x-on-pageload", "" ); - } - - var href = child.getAttribute("href") - if( href != null && href > "" && href.indexOf( "BSSCPopup" ) >= 0 ) - kadovFilePopupInit(child.id); // Init for Popup - else if( child.className == "dropspot" || child.className == "expandspot" || - child.className == "glossterm" ) - kadovTextPopupInit(child.id);// Init for Expanding/Glossary or DropDown text - else if( child.className == "trigger") - kadovInitTrigger(child.id);// Init for Trigger - else - { - kadovInitEffects(child.id);// Init for DHTML effects - CEngine.SetOneTargetInitialState( child.id ); - } - } - - if( (child.tagName == "IMG") && (child.getAttribute("dynsrc") > "") ) - child.start = "mouseover";// to start a AVI file. fileopen doesn't work - - kadovInitEachChild(child); - } -} - -function kadovRetrieveTextInner(el) -{ - var x = ""; - if( (!el) || (el.tagName == "!") || (el.tagName == "SCRIPT" )) - return x; - - if( kadovIsParagraph(el) ) - { - var strNewID = " "; - if( el.id != "" ) - strNewID += "id=" + el.id + "_NewSpan "; - x = "" + el.innerHTML + ""; - } - else - { - for(var i=0; i 0 ) - if( (nTagClose - nTagOpen) != nDistance ) - return strRawHTML; - - var strCleanOnce = strRawHTML.substring(0, nTagOpen) + strRawHTML.substr(nTagClose + strTagClose.length) ; - return kadovRetrieveCleanHTML( strCleanOnce, strTagOpen, strTagClose ); -} - -function kadovAdjustObjectTag(strRawHTML, nStartPos) -{// adjust object tag for related topics HTML control, because innerHTML misses out the item settings - - //Is there any DTC? - var strDTCTagOpen = ''; - var nDTCTagOpen = strRawHTML.indexOf( strDTCTagOpen, nStartPos ); - if( nDTCTagOpen < 0 ) - return strRawHTML; - var nDTCTagClose = strRawHTML.indexOf( strDTCTagClose, nDTCTagOpen ); - if( nDTCTagClose < nDTCTagOpen) - return strRawHTML; // no Design Time Controls; - - //Is the DTC HTML Help Control? - var strRTObjTagOpen = 'classid=clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11'; - var strRTObjTagClose = ''; - var nRTObjTagOpen = strRawHTML.indexOf( strRTObjTagOpen, nDTCTagOpen ); - if( nRTObjTagOpen < nDTCTagOpen ) - return strRawHTML; - var nRTObjTagClose = strRawHTML.indexOf( strRTObjTagClose, nRTObjTagOpen ); - if( nRTObjTagClose < nRTObjTagOpen ) - return strRawHTML; // is not a HTML help control - - // Is it a related Topics html help control? - var strRTObjLabel = ''; - } - - // to insert the reconstructed item params into runtime object tag - var strAdjustedHTML = strRawHTML.substring(0,nRTObjTagClose) + strRunTimeItemParam + strRawHTML.substring(nRTObjTagClose, strRawHTML.length); - return kadovAdjustObjectTag(strAdjustedHTML, nDTCTagClose + strDTCTagClose.length); -} - -function kadovTextPopupOnLoad( el ) -{ - if( typeof(el) == "string" ) - el = getElement(el); - - var src = el.getAttribute( "x-use-popup" ); - var bNeedMove=true; - if(!src&&el.id) - { - for (var i=0;i"); - strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, ""); - - //work around the bug in HH.exe that highlight the phrases when use Search tab - //this approach is just removing the tag inserted by Microsoft in the runtime - strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, "", 52); - - var strStyle = " style='display:none; position:relative;"; - var newDiv = "
" + strCleanHTML + "
"; - - removeThis(srcDiv); // empty the original DIV tag - var elParentPra = kadovFindParentParagraph(el); - if( elParentPra ) - insertAdjacentHTML(elParentPra, "afterEnd", newDiv ); - } - else if( type == "expanding" ) - { - var inner = kadovRetrieveTextInner(srcDiv); - if( inner == "" ) - inner = srcDiv.innerHTML; - var strAdjust = kadovAdjustObjectTag(inner,0); - var strCleanHTML = kadovRetrieveCleanHTML(strAdjust, ""); - strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, ""); - var strClassName = (el.className == "glossterm") ? "glosstext" : "expandtext"; - var newSpan = ""; - removeThis(srcDiv); // empty the original DIV tag - insertAdjacentHTML(el, "afterEnd", newSpan ); - } - } - } - else - { - srcDiv.style.display = "none"; - } - return 0; -} - -function getElementsByTag(obj,sTagName) -{ - if(obj.getElementsByTagName) - return obj.getElementsByTagName(sTagName); - else if(obj.all) - return obj.all.tags(sTagName); - return null; -} - -function getElement(sID) -{ - if(document.getElementById) - return document.getElementById(sID); - else if(document.all) - return document.all(sID); - return null; -} - -function getParentNode(obj) -{ - if(obj.parentNode) - return obj.parentNode; - else if(obj.parentElement) - return obj.parentElement; - return null; -} - -function getChildNodes(obj) -{ - if(obj.childNodes) - { - var children = new Array(); - for (var i = 0; i < obj.childNodes.length; i++) - { - if (obj.childNodes[i].nodeType == 1) - children[children.length] = obj.childNodes[i]; - } - return children; - } - else if(obj.children) - return obj.children; - return null; -} - -function removeThis(obj) -{ - if(obj.parentNode) - obj.parentNode.removeChild(obj); - else - obj.outerHTML=""; -} - -function kadovTextPopup( el ) -{ - if (!gbBsIE4 && !gbBsOpera7 && !gbBsSafari && !gbBsNS6 && !gbBsKonqueror3 ) - return; - - var bNeedMove=true; - - if (window.event) - window.event.cancelBubble = true; - - if( typeof(el) == "string" ) - el = getElement(el); - - if (!el||el==window) - return; - - var src = el.getAttribute( "x-use-popup" ); - if(!src&&el.id) - { - for (var i=0;i= 0 && nNext < values.length ) - { - functions[nIdx] = values.substr( nStart, nNext-nStart+1); - nStart = nNext + 1; - nIdx++; - nNext = values.indexOf( "\)", nStart); - } - - for( var i=0; i= 0 ) - { - nPageClick = arrForClickCount[j].indexOf("="); - if( nPageClick > 0 ) - { - nClickTimes = arrForClickCount[j].substring( nPageClick + 1, arrForClickCount[j].length) * 1; - break; - } - } - } - var args = srcargs; - if( j < arrForClickCount.length ) - {// to strip out the "clicks=99" from the arguments string - args = ""; - for( var k = 0; k < arrForClickCount.length; k ++ ) - { - if( k != j ) - { - args += arrForClickCount[k]; - if( k < arrForClickCount.length - 1 ) - args += ","; - } - } - } - bsscFXInit( null, id, translatedProp, fnname, args, nClickTimes ); - } -} - -function kadovTranslateProp( prop ) -{ - switch( prop ) - { - case "x-on-hover" : return "bsschover"; - case "x-on-pageclick" : return "bsscpageclick"; - case "x-on-pageload" : return "bsscpageload"; - case "x-on-trigger-1" : return "bssctrigger1"; - case "x-on-trigger-2" : return "bssctrigger2"; - } - return null; -} -//End to convert iWrite format to RoboEditor Format for DHTML effects - -//Begin the definition of one entry to DHTML effects -function bsscFXInit( trigger_ID, target_ID, event_type, - action_type, action_setting, event_addional ) -{ - if( (!gbBsWindows && !gbBsSunOS && !(gbBsMac&&gbBsIE5)) || typeof(target_ID) != "string" )//MUST have a target_ID - return; // we don't support Navigator yet - - if( typeof(event_type) == "string" ) - event_type = event_type.toLowerCase(); - if( typeof(action_type) == "string" ) - action_type = action_type.toLowerCase(); - if( typeof(action_setting) == "string" ) - action_setting = action_setting.toLowerCase(); - - // to get the target element then add it to the target list - var eleTarget = CCSSP.GetObject( target_ID ); - if( (eleTarget != null) && (event_type != null) && (action_type != null) ) - { - CEngine.AddOneTarget( target_ID, eleTarget ); - CEngine.BuildTargetObject(target_ID, event_type, action_type, action_setting, event_addional); - } - - // to validate the trigger_ID parameter - if( typeof(trigger_ID) == "string" && trigger_ID != "" ) - CEngine.BuildTriggerObject( trigger_ID, target_ID ); -} -//End the definition of one entry to DHTML effects - -/// Section End - kadov DHTM (JavaScript 1.2) - -/// Section Begin - CCSSP DHTM (JavaScript 1.2) - -//Begin JavaScript libary for cross-platform positioning object. -function CCSSP(){} // constructor of CCSSP class - -CCSSP.GetObject = function( obj ) -{//convert object name string or reference into a valid object reference - if( typeof(obj) == "object" ) - return obj; - else if( typeof(obj) == "string" && obj != "") - { - if( gbBsNS4 ) - return eval("document." + obj); - else - return eval("document.all(\"" + obj + "\")"); - } - else - return null; -} - -CCSSP.MoveObjectTo = function(obj, x, y) -{//positioning an object at a specific pixel coordinate - if( gbBsNS4 ) - obj.moveTo(x,y); - else - { - obj.style.pixelLeft = x; - obj.style.pixelTop = y; - } -} - -CCSSP.MoveObjectBy = function(obj, dx, dy) -{//moveing a object by x and/or y pixel - if( gbBsNS4 ) - obj.moveBy(dx,dy); - else - { - obj.style.pixelLeft += dx; - obj.style.pixelTop += dy; - } -} - -CCSSP.SetObjectBGColor = function(obj, color) -{//set the background color of an object - if( gbBsNS4 ) - obj.bgColor = color; - else - obj.style.backgroundColor = color; -} - -CCSSP.ShowObject = function(obj, bShow) -{// set the object to be visible or invisible - if( gbBsNS4 ) - obj.visibility = (bShow == true) ? 'show' : 'hide'; - else - obj.style.visibility = (bShow == true) ? 'visible' : 'hidden';// when hidden, it still occupy some space. -} - -CCSSP.GetObjectLeft = function(obj) -{// retrieve the x coordinate of a posionable object - if( gbBsNS4 ) - return obj.left; - else - return obj.style.pixelLeft; -} - -CCSSP.GetObjectTop = function(obj) -{// retrieve the y coordinate of a posionable object - if( gbBsNS4 ) - return obj.top; - else - return obj.style.pixelTop; -} - -CCSSP.GetObjectContainLeft = function(obj) -{// retrieve the x coordinate of a posionable object relative to it's parent element - if( gbBsNS4 ) - return obj.pageX; - else - { - if( obj == document.body ) - return obj.clientLeft; - else - return obj.offsetLeft; - } -} - -CCSSP.GetObjectWindowLeft = function(obj) -{// retrieve the x coordinate of a posionable object relative to browser window - if( gbBsNS4 ) - return obj.pageX; - else - { - var nOffsetWindowLeft = 0; - for(var element = obj; element; element = element.offsetParent) - nOffsetWindowLeft += CCSSP.GetObjectContainLeft(element); - return nOffsetWindowLeft; - } -} - -CCSSP.GetObjectContainTop = function(obj) -{// retrieve the y coordinate of a posionable object relative to it's parent element - if( gbBsNS4 ) - return obj.pageY; - else - { - if( obj == document.body ) - return obj.clientTop; - else - return obj.offsetTop; - } -} - -CCSSP.GetObjectWindowTop = function(obj) -{// retrieve the y coordinate of a posionable object relative to browser window - if( gbBsNS4 ) - return obj.pageY; - else - { - var nOffsetWindowTop = 0; - for(var element = obj; element; element = element.offsetParent) - nOffsetWindowTop += CCSSP.GetObjectContainTop(element); - return nOffsetWindowTop; - } -} - -CCSSP.GetObjectHeight = function(obj) -{// retrieve the height of a posionable object - if( gbBsNS4 ) - return obj.clip.height; - else - return obj.offsetHeight; -} - -CCSSP.GetObjectWidth = function(obj) -{// retrieve the width of a posionable object - if( gbBsNS4 ) - return obj.clip.width; - else - return obj.offsetWidth; -} - -CCSSP.RegisterEventHandler = function( srcObj, rawEventName, funcHandler ) -{ // to add the "funcHandler" as the "rawEventName" 's handler to the "srcObj" object,the original event handler will be combined - if (gbBsNS4 && !gbBsNS6) - return ; - - var oldHandler = ""; - - if (gbBsMac &&gbBsIE4&&!gbBsIE5) - { - if (typeof(srcObj[rawEventName.toLowerCase()])=="unknown") - { //search for - - - - - - - - - - - - - - - - -

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.

- -
- -

 

- -

 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:

- -

 

- -
    - -
  • Flexibility :  the - creation and modification of computation schemes must be easy. The developer - must have easy access to all modeling parameters to create domain-specific - tools adapted to new situations or to test new numerical algorithms. SALOME - allows integration and implementation of numerical and physical components - derived from existing code.

  • -
- -

 

- -
    - -
  • Productivity :  the - implementation of code is simple for the user and the reuse of components - (within other environments for macro-components) is noticeably facilitated.

  • -
- -

 

- -
    - -
  • Performance :  SALOME - is able to more finely simulate phenomena that is more complex in scale - and in physical coupling requirements. SALOME - economically exploits the performance of used machines (massively - parallel processors, PC clusters, etc).

  • -
- -

 

- -
    - -
  • Expandability:  on - the one hand, software technologies and physical architectures evolve - rapidly compared to the development time, validation and use of a scientific - application while on the other hand, the development of a database model - adapted to the totality of exchanges between components can be achieved - incrementally. SALOME  is - able to easily follow these developments.

  • -
- -

 

- -

 

- -

 

- -

-Related Topics

- -

 

- -

 

- - - - - diff --git a/doc/salome/gui/KERNEL/files/about_salome_pro_help_system.htm b/doc/salome/gui/KERNEL/files/about_salome_pro_help_system.htm deleted file mode 100755 index 3a447d079..000000000 --- a/doc/salome/gui/KERNEL/files/about_salome_pro_help_system.htm +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - -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/files/copyright_notice.htm b/doc/salome/gui/KERNEL/files/copyright_notice.htm deleted file mode 100755 index 2f2c5c7ba..000000000 --- a/doc/salome/gui/KERNEL/files/copyright_notice.htm +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - - - -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/files/creating_a_new_study.htm b/doc/salome/gui/KERNEL/files/creating_a_new_study.htm deleted file mode 100755 index 4f874090a..000000000 --- a/doc/salome/gui/KERNEL/files/creating_a_new_study.htm +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - - - -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/files/displaying_hiding_toolbars.htm b/doc/salome/gui/KERNEL/files/displaying_hiding_toolbars.htm deleted file mode 100755 index f685d5362..000000000 --- a/doc/salome/gui/KERNEL/files/displaying_hiding_toolbars.htm +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - - - -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 > Toolbar, 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/files/displaying_studies.htm b/doc/salome/gui/KERNEL/files/displaying_studies.htm deleted file mode 100755 index 00e73f140..000000000 --- a/doc/salome/gui/KERNEL/files/displaying_studies.htm +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - - - - - -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 > Cascade.

- -

 

- -

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/files/editing_studies.htm b/doc/salome/gui/KERNEL/files/editing_studies.htm deleted file mode 100755 index 7285613cd..000000000 --- a/doc/salome/gui/KERNEL/files/editing_studies.htm +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - - - -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/files/getting_properties_of_the_study.htm b/doc/salome/gui/KERNEL/files/getting_properties_of_the_study.htm deleted file mode 100755 index e5f112243..000000000 --- a/doc/salome/gui/KERNEL/files/getting_properties_of_the_study.htm +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - - - - - -Getting properties of the study - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Getting 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/files/getting_started2.htm b/doc/salome/gui/KERNEL/files/getting_started2.htm deleted file mode 100755 index b4c01238b..000000000 --- a/doc/salome/gui/KERNEL/files/getting_started2.htm +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - - - -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/files/installing_salome_pro.htm b/doc/salome/gui/KERNEL/files/installing_salome_pro.htm deleted file mode 100755 index d331b3c91..000000000 --- a/doc/salome/gui/KERNEL/files/installing_salome_pro.htm +++ /dev/null @@ -1,873 +0,0 @@ - - - - - - - - - - -Installing SALOME - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Installing - SALOME platform 

- - - -
- - - - - - -
- - -

Installing - products using install script directly

- -

To run installation using the install script, - type in the command line of a terminal window:

- -

 

- -

./install - [options] <target-directory> [ [ALL] | <product> ... <product> - ]

- -

 

- -

Available options are the following:

- -

--binaries - is not an obligatory parameter.  If you pass this parameter all products - will be extracted from the precompiled archives. Otherwise all products - will be installed and built from the sources using gnu make procedure. -

- -

Take into account that target platform for precompiled binaries - is Linux Red Hat 8.0. If you want to install SALOME onto another Linux - version, you should use sources installation mode.

- -

 

- -

--reinstall - is an optional parameter. Use this parameter if you want to reinstall - products you have already installed.

- -

 

- -

--update - is an optional parameter. Pass this parameter to the script if you want - your profile to be updated by the installation script. This option is - used only when SALOME sources and/or SALOME binaries are - installed.

- -

 

- -

--native - is optional parameter. This option states the way the installation procedure - picks up the environment for the products which are not currently installed. - When this option is used, the installation script first tries to find - and use native products. If necessary products are not found in /usr/bin - and /usr/lib directories, script looks for them in the target directory. - If the option is not used (default behaviour), the script first inspects - the target directory and the system folders.
-For more detail information see here.

- -

 

- -

--with-mesa - is also optional parameter. This parameter forces linking VTK and - Qt with Mesa library and is not taken into account if Mesa - library is not installed in the target directory.

- -

 

- -

--temp - is optional parameter, the directory path must follow it. This directory - is used for temporary files. By default script uses /tmp folder. - You can change this directory if you doesn't have sufficient amount of - disk space in the /tmp folder.

- -

The directory you point should exist and must be an absolute - path, otherwise installation script will fail.

- -

 

- -

<target-directory> - is the only obligatory parameter and should be an absolute path. This - will be the root directory for installing products.

- -

 

- -

This directory should exist. <target-directory> - and temp directory must not coincide to avoid collisions.

- -

 

- -

<product> - ... <product> are the symbolic names of the installing products. -
-Prerequisite products are gcc tcl cas python numeric swig mesa qt qwt - sip pyqt hdf med omni vtk salomebin salomesources salomedoc
-Additional bonus products are doxygen graphviz happydoc

- -

You can also use ALL parameter - to install all supplied products at once.

- -

 

- -

If you want to use native products do not add them into the - script parameters. You should also use --native option in this - case.

- -

 

- -

--help - or -h key will print this information.

- - - -
- - -

Installing - products using Installation Wizard

- -

Actually you can install - all necessary products with help of the install script. But it's not convenient - because you have to enter in the command line all parameters used by this - script in a strictly definite order. You are strongly recommended to use - Installation Wizard program. It represents a GUI superstructure over the - shell script. It helps you to install all products needed for SALOME platform, - avoiding the problem with parameters' order.

- -

 

- -

To run Installation Wizard, type in the command - line of the terminal

- -

 

- -

 ./runInstall.csh. -

- -

 

- -

This software was built - with help of Qt. The wizard 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 have the possibility to select products - for installation (see Fig.1 ). Each product - has several options of installation - it can be installed as precompiled - binaries, as sources or not installed at all. You can mark the products, - you want to install, by clicking the corresponding radiobuttons and checkboxes - 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 products - should be already installed on your machine). So 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.
-There are three special buttons in the right part of the page. If you want - to install all products as sources just click "Select - Sources" button. This will also mark SALOME docs, - SALOME sources and SALOME binaries items. - You can mark all products (except gcc and swig, - see below) as binaries by clicking "Select - Binaries (recommended)" button. This will mark SALOME - docs, SALOME sources and SALOME binaries - items too. "Unselect All" - resets all products to "not install" state.

- -

 

- -


-Figure 1: "Products to install" - page

- -

 

- -

The "Total - disk space required:" field displays how much disk space - on the hard drive is required for installation of selected products.
-Installation procedure uses a special directory for storing 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.

- -  - -

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

- -

 

- -

 

- -

Not all products can be installed - as precompiled binaries. gcc and swig must - be installed as sources and then compiled. Therefore when you try to install - all products as binaries by clicking "Select Binaries (recommended)" - button these two items will be marked as sources and you will get the - following warning message box

- -

 

- -


-Figure 2: gcc and swig - warning message box

- -

 

- -

Installation procedure has - the limitation concerning gcc 3.2 installation procedure. The known - bug of the gcc3.2 is impossibility to build it on the computer where gcc3.2 - is already installed. In this case build procedure fails.

- -

 

- -

To proceed installation click "Next" button.

- -

In the second page you are proposed to - enter the target directory where all selected products will be installed - to (see Fig.3 ). You can also press "Browse..." button and choose - the folder for installation using standard Qt browse directory - dialog box.

- -

As it was mentioned before, the shell script - uses a special directory for storing all temporary files. The /tmp - folder is used by default. You can change this default behaviour - just - type any folder or use the corresponding "Browse..." - button.

- -

The temporary folder field is disabled - when you are installing only binaries.

- -

 

- -


-Figure 3: "Installation settings" - page

- -

 

- -

If the directory you - want to install products does not exist you will be prompted by message - box to confirm this 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 procedure also checks 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 also 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.

- -

In case if you have some products already - installed on your machine it will be very convenient not to install these - products again, because repeated compiling can take a lot of time. We - have added checking of installed products in the installation shell script - in order to decrease time for installing of products. But it can lead - to some troubles. For example, the shell script can successfully check - Qt (check QTDIR and find libqt-mt.so.3.0.5) but some - files can be corrupted or non-existent (e.g. some header files have been - accidentally removed ). For such cases in the shell script there is a - possibility to reinstall these corrupted products. For that purpose you - have to check "Reinstall products - you have already installed (recommended)?" option on this - page. You are recommended to use "No" - switch only if this Installation Wizard program has been used before. -

- -

For more detailed information about checking - products version procedure see here. -

- -

The - shell script creates special files: .salomecsh and .salomesh - in the SALOME sources and SALOME binaries - root directories. You have a possibility to add one of them into your - profile. Just check "Do you want - to update your profile?" option  In this case your - environment will always point to the newly installed products.

- -

Check "Use Mesa library" option if - you want to install/build Vtk and Qt (OpenGL support) to be linked to - preinstalled Mesa library. You should have Mesa drivers installed on the - target directory or somewhere else, but in the last case you have to set - MESA_HOME environment variable. Or you should choose Mesa 3.4.2 product - to be installed also. Otherwise Vtk/Qt without Mesa support will be installed. -

- -

If you want to use native - Linus Red Hat 8.0 products (these are gcc, tcl, Python, Qt, Sip and PyQt) - do not mark these products in the "Products - to install" page and check "Prefer - native products" option. See Pick - up the environment section for more detail information.

- -

To proceed further click "Next" button (see Fig.4). -

- -

 

- -


-Figure 4: "Check your choice" page -

- -

 

- -

This page summarizes the installation settings - you've made on the previous pages. You can check again the settings and - change them if necessary.
-When you are sure that everything is OK, press "Next" - button to follow to the next page.

- -

 

- -


-Figure 5: "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.
-P
ress [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 "Finish" button - to close the installation wizard.

- - - -
- - -

Notes on checking 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.

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
-

Cascade 4.0

existence of CASROOT environment variableset CASROOT if you have preinstalled version of CASCADEUnfortunately we can't say anything exactly about CASCADE 4.0 and we - only check CASROOT environment variable. If you have problem with preinstalled - version of CASCADE reinstall it
-

Python 2.2.1

existense 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.030402set LD_LIBRARY_PATH on a directory where libGL.so.1.2.030402 can be - foundYou 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 foundSwig 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 qtWe 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 qwtWe 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 hdfWe 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 medUnfortunately 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 vtkUnfortunately 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.
-

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 omniWe 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 pythonUnfortunately 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 preinstalledWe 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 preinstalledUnfortunately 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 pythonWe 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

existance of dotadd GraphViz's bin directory to the PATH environment variableUnfortunately we can't check the version number.
-We try to find dot program in the $PATH
-

SALOME binaries

existence of SALOME_ROOT_DIR
-existence of VERSION file
-ver=`cat $SALOME_ROOT_DIR/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]'`
set SALOME_ROOT_DIR if you have preinstalled binaries of SALOME version - 1.2SALOME binaries should exist and ver should be equal to 1.2
-

SALOME sources

existence of SALOMEPRO_SRC
-existence of VERSION file
-ver=`cat $SALOMEPRO_SRC/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]'`
set SALOMEPRO_SRC if you have preinstalled sources of SALOME version - 1.2SALOME sources should exist and ver should be equal to 1.2
-

 

- -

: 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. But if you have native products installed - to different from default directories (not /usr/bin, /usr/lib), - it is recommended to follow above description.

- - - -
- - -

Picking 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 with the name of the product but beginning from the dot, which includes - all necessary product settings. For example for VTK-4.2 the file is - .VTK-4.2. These files allows to pick up all environment settings which - are necessary to build and launch SALOME. When you install SALOME sources - and/or binaries, installation procedure looks through the target directory - to pick up all the settings files and creates two scripts: .salomesh - and .salomecsh 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. What you need is just to use - one of these scripts. You even may not to add this script in your profile. - Installation Wizard will do it for you if corresponding option is enabled - ("Do you want to update your profile?" check box for - Install Wizard and --update option for the script).

- -

It also concerns 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 finds the necessary products there. If some product - is not found in the target directory the corresponding section of .salomesh/.salomecsh - files will be skipped.  However for native products (gcc, tcl, - python, qt, sip, pyqt) instal script also tries to find them in - the system directories. The corresponding section of .salome* files - will contain special description, for example "#------ native - gcc is used ------".

- -

You should take into account such behaviour - of the installation procedure. Install script doesn't know itself which - version of the product you want to use - native or preinstalled. You have - possibility to change the order of searching the products by using special - key: "Prefer native products" option for Wizard and --native - key for the install script. In this case installation procedure will try - to find products FIRST in your system folders and THEN in the target directory. -

- -

Please, again bear in mind that described - above concerns only those products WHICH ARE NOT CURRENTLY INSTALLED. -

- -

In any case you may edit .salome* - files after installation procedure finishes.

- - - -
- - -

 

- -

 

- -

 

- -

-Related Topics

- -

 

- -

 

- -

 

- -

 

- -

 

- - - - - diff --git a/doc/salome/gui/KERNEL/files/introduction.htm b/doc/salome/gui/KERNEL/files/introduction.htm deleted file mode 100755 index 01eef7ce1..000000000 --- a/doc/salome/gui/KERNEL/files/introduction.htm +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - - - -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:

- -
    - -
  •  eases - the inter-operability between CAD and Computation code (CAD-Computation - link)

  • - -
  •  eases - the coupling between computation codes, and the reuse of portions of code

  • - -
  •  provides - a generic, user-friendly and efficient user interface which contributes - to cost and development time reduction

  • - -
  •  shares - the creation of non critical developments (pre and post processors) in - the domain of numeric simulation

  • - -
  •  contributes - to the perpetuity of internal developments of industry

  • - -
  •  reduces - training costs to the time specifically spent in understanding the software - solution derived from the platform.

  • -
- - - - - diff --git a/doc/salome/gui/KERNEL/files/introduction_to_iapp.htm b/doc/salome/gui/KERNEL/files/introduction_to_iapp.htm deleted file mode 100755 index d991bdbc1..000000000 --- a/doc/salome/gui/KERNEL/files/introduction_to_iapp.htm +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - - - - -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:

- -

 

- -
    - -
  • Common - desktop environment (SALOME desktop) - for all components

  • - -
  • Component - integration and management: uploading, switching, component menus/toolbars - handling

  • - -
  • Study - management (creation, saving, loading, editing studies)

  • - -
  • Multi-window - management in the framework of one study

  • - -
  • Management - of objects created or imported into the SALOME application (Object - Browser, UseCase Browser) -

  • - -
  • Integrated - Python interpreter

  • - -
  • Output - messages window

  • - -
  • Additional - tools : Catalogue Generator, - Registry tool

  • - -
  • Four - standard viewers for data visualization:

  • -
- -

- - VTK viewer,

- -

- - OCC viewer,

- -

- - Plot2d viewer,

- -

- - Supervision viewer.

- -

 

- -

 

- -

 

- -Related Topics
  - - -
  - - -
  - - -

 

- - - - - diff --git a/doc/salome/gui/KERNEL/files/introduction_to_salome_pro.htm b/doc/salome/gui/KERNEL/files/introduction_to_salome_pro.htm deleted file mode 100755 index b58e9ad54..000000000 --- a/doc/salome/gui/KERNEL/files/introduction_to_salome_pro.htm +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - - - - - -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:

- -

 

- -
    - -
  • KERNEL, STUDY, IAPP : SALOME interface -

  • -
- -

 

- -
    - -
  • GEOM :  3D - Modeling

  • -
- -

 

- -
    - -
  • SMESH :  Generation - of meshes

  • -
- -

 

- -
    - -
  • SUPERVISION :  Construction - of graphs and execution of calculations

  • -
- -

 

- -
    - -
  • VISU :  Post-processing - module for data visualization

  • -
- -

 

- -

 

- -

 

- -

-Related Topics

- -

 

- -

 

- - - - - diff --git a/doc/salome/gui/KERNEL/files/navigating_topics.htm b/doc/salome/gui/KERNEL/files/navigating_topics.htm deleted file mode 100755 index 700fd4d1f..000000000 --- a/doc/salome/gui/KERNEL/files/navigating_topics.htm +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - - - -Navigating topics - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Navigating topics

- -

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

- -

 

- -
    - -
  • Related Topics buttons: When you click - a Related Topics button, a pop-up menu opens that displays a list of topics - you can go to. The topics are relevant to what you are currently reading - in the right-hand pane or they cross-reference related information that - you can go to. Click a topic from the pop-up and it opens in the right-hand - pane.

  • -
- -

 

- -
    - -
  • Drop-down hotspots: Many topics include - drop-down hotspots. This is clickable text (text links) that displays - more information below the hotspot. You only need to click the hotspots - you want to read. To close the text, click the hotspot again.

  • -
- -

 

- -
    - -
  • Expanding hotspots: Some topics include - expanding hotspots. This kind of hotspot is a text link that displays - information immediately following the text. You only have to click the - hotspots you want more information about. To close the text, click the - hotspot again.

  • -
- -

 

- -
    - -
  • Text-only popups: This kind of link - is text that displays a pop-up window when clicked. The popup window displays - brief information about a term or concept relevant to the topic you're - currently reading. When you finish viewing the information, you click - inside the pop-up window to close it.

  • -
- -

 

- -
    - -
  • Popups: When you click some links, the - destination topic opens in a popup inside the same window that's open. - It's like having two windows in one, only the focus is on the information - in the popup. When you finish reading the information in the popup, you - can close it from view or navigate to any of its links.

  • -
- -

      

- -

-Related Topics

- - - - - diff --git a/doc/salome/gui/KERNEL/files/opening_studies.htm b/doc/salome/gui/KERNEL/files/opening_studies.htm deleted file mode 100755 index 8c1f89c06..000000000 --- a/doc/salome/gui/KERNEL/files/opening_studies.htm +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - -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/files/readme.html b/doc/salome/gui/KERNEL/files/readme.html deleted file mode 100755 index d300e1001..000000000 --- a/doc/salome/gui/KERNEL/files/readme.html +++ /dev/null @@ -1,1252 +0,0 @@ - - - - - -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.

- -
    - -
  • version: - Installation Wizard's version number;

  • - -
  • caption: - Installation Wizard's main window title - if this string contains '%1' - text - the title will contain in this place version number (see above);

  • - -
  • copyright: - Installation Wizard's copyright information (appears on the first page - of program);

  • - -
  • license: - Installation Wizard's license information (appears on the first page of - program);

  • - -
  • os: Contains - directory name (relative from ./Products/BINARIES) where Installation - Wizard should search precompiled binaries packages. If this tag is skipped, - binaries are implied to be in the ./Products/BINARIES directory.

  • -
- -

 

- -

<path> section

- -

 

- -

This is optional section - contains default directories.

- -

 

- -
    - -
  • targetdir: - Starting target directory - path to the directory where products should - be installed;

  • - -
  • tempdir: Starting - temp directory - path to the directory for the temporary files.

  • -
- -

 

- -

<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.

- - 
- -
    - -
  • name: - Name of the product;
  • - -
  • version: - Version of the product;
  • - -
  • description: - Description of the product (optional);
  • - -
  • supported: - Supported modes of installation, should contain one or more of the following - options, separated by comma: install sources, install binaries, - use native. Installation script should contain corresponding functions - for each of supported installation modes;
  • - -
  • install: - Default (starting) installation mode;
  • - -
  • disable: - If this flag has 'true' value, corresponding product will not appear in - the list of products tree and will not be installed;
  • - -
  • pickupenv: This - flag points that pickup environment procedure should be performed for - this module. If this flag equal to true,  salome.sh and salome.csh - files will  be created in the product's installation directory. This - is optional key, default value is false.
  • - -
  • dependancies: - list of prerequisite products, which are necessary to build this product, - separated by comma;
  • - -
  • installdiskspace: - Total amount space (integer, in Kbytes), which product occupies on the - hard drive after the installation;
  • - -
  • temporarydiskspace: - Disk space (integer, in Kbytes) for the temporary files, which is necessary - to build the product from the sources;
  • - -
  • script: Installation - script name. This script is in charge of installation of the product. - It is called when necessary from the main program. See next - section for more information.
  • -
- -  - -

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. -

- - 
- -
    - -
  • check_version():  - This function allows to check the version of the product already installed - on the computer. It should try to find product (native or preinstalled - in the target directory) and check it version. This helps to avoid unnecessary - reinstallation. This is internal function and is not called
  • - -
  • try_native(): This function is called when - 'use native' installation mode is selected by the user. The function - should try to find native version of the product and define possibility - of it usage. Should create environment for the product in the temporary - directory (see also description of print_env() function). If you - do not provide native mode installation, you can omit this function.
  • - -
  • install_source(): - This function is called when 'install sources' installation mode - is selected by the user. The function is responsible for the building - of the product from the sources package. Should create environment for - the product in the temporary directory (see also description of print_env() - function). If you do not provide sources mode installation, you can omit - this function
  • - -
  • install_binary(): - This function is called when 'install binaries' installation mode - is selected by the user. The function is responsible for the extracting - of the product from the binaries package. Should create environment for - the product in the temporary directory (see also description of print_env() - function). If you do not provide binaries mode installation, you can omit - this function.
  • - -
  • try_preinstalled(): - This function is called when 'not install' - installation mode is selected by the user. In this case script should - inspect target directory to try to find already preinstalled product, - pick up and check environment from there. See here - for more details.
  • - -
  • print_env(): - This function is in charge of creation environment script. It should create - file with name env_<product_name>.sh in the temporary - directory and then copy it into the product installation directory. The - file should contain all necessary environment variables settings for the - product. It will be collected during the 'pick-up-environment' procedure.
  • - -
  • pickup-env(): This - procedure corresponds pickupenv tag of the configuration xml file - (see previous section). Should call make_env procedure to perform - pick-up environment procedure for the product.
  • -
- -  - -

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/files/running_salome_pro.htm b/doc/salome/gui/KERNEL/files/running_salome_pro.htm deleted file mode 100755 index 358eb21ac..000000000 --- a/doc/salome/gui/KERNEL/files/running_salome_pro.htm +++ /dev/null @@ -1,358 +0,0 @@ - - - - - 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

- -

 

- -

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

- -

 

- -
    -
  • -

    runSalome.py - [command line options]

    -
  • - -
- -

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

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/.    

- -

 

- -

 

- -

Related Topics -

- -

 

- -

 

- -

 

- - -
- - diff --git a/doc/salome/gui/KERNEL/files/salome_pro_desktop.htm b/doc/salome/gui/KERNEL/files/salome_pro_desktop.htm deleted file mode 100755 index 933f8f0e7..000000000 --- a/doc/salome/gui/KERNEL/files/salome_pro_desktop.htm +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - -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/files/saving_a_study.htm b/doc/salome/gui/KERNEL/files/saving_a_study.htm deleted file mode 100755 index f4e00861e..000000000 --- a/doc/salome/gui/KERNEL/files/saving_a_study.htm +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - - - - - -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:

- -

 

- -
    - -
  • In one HDF file: - in this case all components used during - this study session will write their data into one common HDF file.

  • - -
  • In multiple files (see - also: Setting Multifile save option) - : in this case SALOME will create one base HDF file which will - store the main information about the saved study and several other special - files with particular extensions storing the data written by each component - which has been used during this study session. Opening of this study requires - that ALL saved files should be - stored in the SAME directory. -  If you - would like to copy your saved study in another directory or machine, you - should copy all stored files. Otherwise, if you try to open this study, - some data will be lost and it will lead to invalid functioning of the - SALOME platform.    

  • -
- -

 

- -

To save an existing - study :

- -

 

- -

In - the main toolbar click or - from the main menu select File - > Save 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/files/setting_preferences.htm b/doc/salome/gui/KERNEL/files/setting_preferences.htm deleted file mode 100755 index c1bcfac15..000000000 --- a/doc/salome/gui/KERNEL/files/setting_preferences.htm +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - - - - - -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:

- -

 

- -

              

- -

 

- -
    - -
  • Viewer background - - this submenu allows to select background - color of a definite viewer (OCC, VTK, Plot2d).

  • - -
  • Default - viewer - this submenu allows to set - the viewer, which will be open by default in a new study window.

  • - -
  • Trihedron size - this submenu allows to set the size of the - trihedron.

  • - -
  • Console Font - this submenu allows to set the font, which - will be used in the Python console and Output Messages windows.

  • - -
  • MultiFile - Save - if this submenu is marked, you - study will be saved in several HDF files (one file for the data created - by each component used during the study session).

  • - -
  • ASCII - Save - if this submenu is marked, you - study will be saved in ASCII format file (or files).

  • - -
  • Undo level - - here you can define the number of actions which can be undone.

  • - -
  • External browser - - this option allows you to - set an external browser (IE, Netscape) which will be used for viewing - SALOME reference manuals. By default, Mozilla is used.

  • - -
  • Object Browser - preferences:

  • -
- -

 

- -

- -

 

- -

- - 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 -     

- -

 

- -
    - -
  • Directories - allows to create a custom - quick directory list.

  • - -
  • Save -   Saves - the current preferences.

  • -
- -

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/files/using_catalog_generator.htm b/doc/salome/gui/KERNEL/files/using_catalog_generator.htm deleted file mode 100755 index f54df0037..000000000 --- a/doc/salome/gui/KERNEL/files/using_catalog_generator.htm +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - - - - - -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:

- -

 

- -
    - -
  • Name - and location of the IDL file describing the interface of your component

  • - -
  • Name - and location of an existing XML file, which will be updated with the interface - of you component or name and desired location of a new XML file, which - will be generated

  • - -
  • Name - of the author,

  • - -
  • Name - of the component,

  • - -
  • Type - of the component,

  • - -
  • Version,

  • - -
  • Capability - of multi study support

  • - -
  • Icon - of your component

  • -
- -

 

- -

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/files/using_left-hand_tabs.htm b/doc/salome/gui/KERNEL/files/using_left-hand_tabs.htm deleted file mode 100755 index 8b53507e6..000000000 --- a/doc/salome/gui/KERNEL/files/using_left-hand_tabs.htm +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - - - -Using left-hand tabs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Using left-hand tabs

- -

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

- -

 

- -
    - -
  • Contents: The Contents tab displays - books and pages that represent the categories of information in the online - Help system. When you click a closed book, it opens to display its content - (sub-books and pages). When you click an open book, it closes. When you - click pages, you select topics to view in the right-hand pane of the HTML - Help viewer.

  • -
- -

 

- -
    - -
  • Index: The Index tab displays a multi-level - list of keywords and keyword phrases. These terms are associated with - topics in the Help system and they are intended to direct you to specific - topics according to your way of working. To open a topic in the right-hand - pane associated with a keyword, select the keyword and then click Display. If the keyword is used with - more than one topic, a Topics Found dialog opens so you can select a specific - topic to view.

  • -
- -

 

- -
    - -
  • Search: The Search tab enables you to - search for words in the Help system and locate topics containing those - words. Full-text searching looks through every word in the online Help - to find matches. When the search is completed, a list of topics is displayed - so you can select a specific topic to view.

  • -
- -

 

- -
    - -
  • Glossary: The Glossary tab displays - a glossary providing a list of words, short phrases, and their definitions - related to SALOME. When you select a term from the list, its corresponding - definition is displayed in the lower pane.

  • -
- -

     

- -

-Related Topics

- -

 

- -

 

- -

 

- - - - - diff --git a/doc/salome/gui/KERNEL/files/using_object_browser.htm b/doc/salome/gui/KERNEL/files/using_object_browser.htm deleted file mode 100755 index 59a541a04..000000000 --- a/doc/salome/gui/KERNEL/files/using_object_browser.htm +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - -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:

- -

 

- -
    - -
  • components, loaded - during the current session

  • - -
  • objects with the - help of different components  (The - objects created with the help of a definite component are located in the - folder having the name of this component.)

  • - -
  • references to different - objects (they are highlighted by red color).

  • -
- -

 

- -

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.

- -

 

- -
    - -
  • Entry -  - Identification - index of the object in the structure of the study

  • - -
  • IOR - -  Interoperable - Object Reference

  • - -
  • Reference - entry  - -  Identification - index of the references to the objects

  • -
- -

 

- -

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

- -

 

- -
    - -
  • Value -  -  Displays - the value of the first object attribute

  • -
- -

 

- -

                   

- -

 

- -

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/files/using_registry.htm b/doc/salome/gui/KERNEL/files/using_registry.htm deleted file mode 100755 index 52104322b..000000000 --- a/doc/salome/gui/KERNEL/files/using_registry.htm +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - - - - - -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/files/using_usecase_browser.htm b/doc/salome/gui/KERNEL/files/using_usecase_browser.htm deleted file mode 100755 index 268c66567..000000000 --- a/doc/salome/gui/KERNEL/files/using_usecase_browser.htm +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - - - - - -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/i_blue.jpg b/doc/salome/gui/KERNEL/i_blue.jpg deleted file mode 100755 index ed3acfac2..000000000 Binary files a/doc/salome/gui/KERNEL/i_blue.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/image2.jpg b/doc/salome/gui/KERNEL/image2.jpg deleted file mode 100755 index 61a8b0569..000000000 Binary files a/doc/salome/gui/KERNEL/image2.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/image4.gif b/doc/salome/gui/KERNEL/image4.gif deleted file mode 100755 index eb3c2c8d4..000000000 Binary files a/doc/salome/gui/KERNEL/image4.gif and /dev/null differ diff --git a/doc/salome/gui/KERNEL/image57.gif b/doc/salome/gui/KERNEL/image57.gif deleted file mode 100755 index 03b56bd60..000000000 Binary files a/doc/salome/gui/KERNEL/image57.gif and /dev/null differ diff --git a/doc/salome/gui/KERNEL/image58.gif b/doc/salome/gui/KERNEL/image58.gif deleted file mode 100755 index 402a3efd9..000000000 Binary files a/doc/salome/gui/KERNEL/image58.gif and /dev/null differ diff --git a/doc/salome/gui/KERNEL/image59.gif b/doc/salome/gui/KERNEL/image59.gif deleted file mode 100755 index b0b0a3d34..000000000 Binary files a/doc/salome/gui/KERNEL/image59.gif and /dev/null differ diff --git a/doc/salome/gui/KERNEL/image60.gif b/doc/salome/gui/KERNEL/image60.gif deleted file mode 100755 index 3bfb8ca5e..000000000 Binary files a/doc/salome/gui/KERNEL/image60.gif and /dev/null differ diff --git a/doc/salome/gui/KERNEL/image61.gif b/doc/salome/gui/KERNEL/image61.gif deleted file mode 100755 index 4b33a300e..000000000 Binary files a/doc/salome/gui/KERNEL/image61.gif and /dev/null differ diff --git a/doc/salome/gui/KERNEL/image7.gif b/doc/salome/gui/KERNEL/image7.gif deleted file mode 100755 index ab33dea14..000000000 Binary files a/doc/salome/gui/KERNEL/image7.gif and /dev/null differ diff --git a/doc/salome/gui/KERNEL/kernel.htm b/doc/salome/gui/KERNEL/kernel.htm deleted file mode 100755 index de0283aee..000000000 --- a/doc/salome/gui/KERNEL/kernel.htm +++ /dev/null @@ -1,139 +0,0 @@ - - - - KERNEL - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/kernel.html b/doc/salome/gui/KERNEL/kernel.html deleted file mode 100755 index 31838d2bb..000000000 --- a/doc/salome/gui/KERNEL/kernel.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - SALOME reference manual - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/kernel.log b/doc/salome/gui/KERNEL/kernel.log deleted file mode 100755 index c766a704d..000000000 --- a/doc/salome/gui/KERNEL/kernel.log +++ /dev/null @@ -1,272 +0,0 @@ -|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_csh.htm b/doc/salome/gui/KERNEL/kernel_csh.htm deleted file mode 100755 index 23afeaa1d..000000000 --- a/doc/salome/gui/KERNEL/kernel_csh.htm +++ /dev/null @@ -1,106 +0,0 @@ - - -KERNEL - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/kernel_csh.html b/doc/salome/gui/KERNEL/kernel_csh.html deleted file mode 100755 index 44d149c44..000000000 --- a/doc/salome/gui/KERNEL/kernel_csh.html +++ /dev/null @@ -1,100 +0,0 @@ - - -SALOME reference manual - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/kernel_rhc.htm b/doc/salome/gui/KERNEL/kernel_rhc.htm deleted file mode 100755 index 65674f4f8..000000000 --- a/doc/salome/gui/KERNEL/kernel_rhc.htm +++ /dev/null @@ -1,106 +0,0 @@ - - -KERNEL - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/kernel_rhc.html b/doc/salome/gui/KERNEL/kernel_rhc.html deleted file mode 100755 index 174ab237b..000000000 --- a/doc/salome/gui/KERNEL/kernel_rhc.html +++ /dev/null @@ -1,100 +0,0 @@ - - -SALOME reference manual - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/note1.gif b/doc/salome/gui/KERNEL/note1.gif deleted file mode 100755 index b53e21d0a..000000000 Binary files a/doc/salome/gui/KERNEL/note1.gif and /dev/null differ diff --git a/doc/salome/gui/KERNEL/occ.jpg b/doc/salome/gui/KERNEL/occ.jpg deleted file mode 100755 index 332aaec2d..000000000 Binary files a/doc/salome/gui/KERNEL/occ.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/addobj.jpg b/doc/salome/gui/KERNEL/pics/addobj.jpg deleted file mode 100755 index 61328f852..000000000 Binary files a/doc/salome/gui/KERNEL/pics/addobj.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/application-splash.jpg b/doc/salome/gui/KERNEL/pics/application-splash.jpg deleted file mode 100755 index a08e5a4fb..000000000 Binary files a/doc/salome/gui/KERNEL/pics/application-splash.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/backv.jpg b/doc/salome/gui/KERNEL/pics/backv.jpg deleted file mode 100755 index 48d0ab1e8..000000000 Binary files a/doc/salome/gui/KERNEL/pics/backv.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/bottomv.jpg b/doc/salome/gui/KERNEL/pics/bottomv.jpg deleted file mode 100755 index 8aaf59526..000000000 Binary files a/doc/salome/gui/KERNEL/pics/bottomv.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/cascade.jpg b/doc/salome/gui/KERNEL/pics/cascade.jpg deleted file mode 100755 index d5078b060..000000000 Binary files a/doc/salome/gui/KERNEL/pics/cascade.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/cataloggenerator.jpg b/doc/salome/gui/KERNEL/pics/cataloggenerator.jpg deleted file mode 100755 index cf76ab031..000000000 Binary files a/doc/salome/gui/KERNEL/pics/cataloggenerator.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/choicepage.png b/doc/salome/gui/KERNEL/pics/choicepage.png deleted file mode 100755 index 2a6bf23ef..000000000 Binary files a/doc/salome/gui/KERNEL/pics/choicepage.png and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/clear.jpg b/doc/salome/gui/KERNEL/pics/clear.jpg deleted file mode 100755 index 60d16a98d..000000000 Binary files a/doc/salome/gui/KERNEL/pics/clear.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/close.jpg b/doc/salome/gui/KERNEL/pics/close.jpg deleted file mode 100755 index 791eb4521..000000000 Binary files a/doc/salome/gui/KERNEL/pics/close.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/copy-paste.jpg b/doc/salome/gui/KERNEL/pics/copy-paste.jpg deleted file mode 100755 index e243122b3..000000000 Binary files a/doc/salome/gui/KERNEL/pics/copy-paste.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/desktop3.jpg b/doc/salome/gui/KERNEL/pics/desktop3.jpg deleted file mode 100755 index 17b6b4063..000000000 Binary files a/doc/salome/gui/KERNEL/pics/desktop3.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/dump.jpg b/doc/salome/gui/KERNEL/pics/dump.jpg deleted file mode 100755 index 6f8fc606c..000000000 Binary files a/doc/salome/gui/KERNEL/pics/dump.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/exemple.gif b/doc/salome/gui/KERNEL/pics/exemple.gif deleted file mode 100755 index 6350d1737..000000000 Binary files a/doc/salome/gui/KERNEL/pics/exemple.gif and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/fitall.jpg b/doc/salome/gui/KERNEL/pics/fitall.jpg deleted file mode 100755 index 136eb8443..000000000 Binary files a/doc/salome/gui/KERNEL/pics/fitall.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/fitrect.jpg b/doc/salome/gui/KERNEL/pics/fitrect.jpg deleted file mode 100755 index 087c954e3..000000000 Binary files a/doc/salome/gui/KERNEL/pics/fitrect.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/frontv.jpg b/doc/salome/gui/KERNEL/pics/frontv.jpg deleted file mode 100755 index c2a692775..000000000 Binary files a/doc/salome/gui/KERNEL/pics/frontv.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/globalpanning.jpg b/doc/salome/gui/KERNEL/pics/globalpanning.jpg deleted file mode 100755 index d2058a421..000000000 Binary files a/doc/salome/gui/KERNEL/pics/globalpanning.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/leftv.jpg b/doc/salome/gui/KERNEL/pics/leftv.jpg deleted file mode 100755 index 56a69702f..000000000 Binary files a/doc/salome/gui/KERNEL/pics/leftv.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/load.jpg b/doc/salome/gui/KERNEL/pics/load.jpg deleted file mode 100755 index 970671c08..000000000 Binary files a/doc/salome/gui/KERNEL/pics/load.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/newobj.jpg b/doc/salome/gui/KERNEL/pics/newobj.jpg deleted file mode 100755 index 59852e1e1..000000000 Binary files a/doc/salome/gui/KERNEL/pics/newobj.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/newsticn.jpg b/doc/salome/gui/KERNEL/pics/newsticn.jpg deleted file mode 100755 index 94c8ee971..000000000 Binary files a/doc/salome/gui/KERNEL/pics/newsticn.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/objbrowser2.jpg b/doc/salome/gui/KERNEL/pics/objbrowser2.jpg deleted file mode 100755 index c557d874e..000000000 Binary files a/doc/salome/gui/KERNEL/pics/objbrowser2.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/open.jpg b/doc/salome/gui/KERNEL/pics/open.jpg deleted file mode 100755 index 5829aef52..000000000 Binary files a/doc/salome/gui/KERNEL/pics/open.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/panning.jpg b/doc/salome/gui/KERNEL/pics/panning.jpg deleted file mode 100755 index bb9d0dd50..000000000 Binary files a/doc/salome/gui/KERNEL/pics/panning.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/productpage.png b/doc/salome/gui/KERNEL/pics/productpage.png deleted file mode 100755 index 412a9732d..000000000 Binary files a/doc/salome/gui/KERNEL/pics/productpage.png and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/progresspage.png b/doc/salome/gui/KERNEL/pics/progresspage.png deleted file mode 100755 index 2c75b0252..000000000 Binary files a/doc/salome/gui/KERNEL/pics/progresspage.png and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/properties.jpg b/doc/salome/gui/KERNEL/pics/properties.jpg deleted file mode 100755 index f611c9090..000000000 Binary files a/doc/salome/gui/KERNEL/pics/properties.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/readmepage.png b/doc/salome/gui/KERNEL/pics/readmepage.png deleted file mode 100755 index 2f40deb46..000000000 Binary files a/doc/salome/gui/KERNEL/pics/readmepage.png and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/registry.jpg b/doc/salome/gui/KERNEL/pics/registry.jpg deleted file mode 100755 index f089343c3..000000000 Binary files a/doc/salome/gui/KERNEL/pics/registry.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/registy1.jpg b/doc/salome/gui/KERNEL/pics/registy1.jpg deleted file mode 100755 index 2a1fedf06..000000000 Binary files a/doc/salome/gui/KERNEL/pics/registy1.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/removeobj.jpg b/doc/salome/gui/KERNEL/pics/removeobj.jpg deleted file mode 100755 index 8d29d29e3..000000000 Binary files a/doc/salome/gui/KERNEL/pics/removeobj.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/reset.jpg b/doc/salome/gui/KERNEL/pics/reset.jpg deleted file mode 100755 index b01e95d50..000000000 Binary files a/doc/salome/gui/KERNEL/pics/reset.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/rightv.jpg b/doc/salome/gui/KERNEL/pics/rightv.jpg deleted file mode 100755 index e9939ea28..000000000 Binary files a/doc/salome/gui/KERNEL/pics/rightv.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/rotate.jpg b/doc/salome/gui/KERNEL/pics/rotate.jpg deleted file mode 100755 index e09cc502b..000000000 Binary files a/doc/salome/gui/KERNEL/pics/rotate.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/save.jpg b/doc/salome/gui/KERNEL/pics/save.jpg deleted file mode 100755 index 90001afb9..000000000 Binary files a/doc/salome/gui/KERNEL/pics/save.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/setcurrent.jpg b/doc/salome/gui/KERNEL/pics/setcurrent.jpg deleted file mode 100755 index a92488f10..000000000 Binary files a/doc/salome/gui/KERNEL/pics/setcurrent.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/sheme1.jpg b/doc/salome/gui/KERNEL/pics/sheme1.jpg deleted file mode 100755 index efea55b29..000000000 Binary files a/doc/salome/gui/KERNEL/pics/sheme1.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/sheme2.jpg b/doc/salome/gui/KERNEL/pics/sheme2.jpg deleted file mode 100755 index f0e96373a..000000000 Binary files a/doc/salome/gui/KERNEL/pics/sheme2.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/tile.jpg b/doc/salome/gui/KERNEL/pics/tile.jpg deleted file mode 100755 index c82a1b52e..000000000 Binary files a/doc/salome/gui/KERNEL/pics/tile.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/topv.jpg b/doc/salome/gui/KERNEL/pics/topv.jpg deleted file mode 100755 index c4e943170..000000000 Binary files a/doc/salome/gui/KERNEL/pics/topv.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/trihedron.jpg b/doc/salome/gui/KERNEL/pics/trihedron.jpg deleted file mode 100755 index 71a61eac1..000000000 Binary files a/doc/salome/gui/KERNEL/pics/trihedron.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/undo-redo.jpg b/doc/salome/gui/KERNEL/pics/undo-redo.jpg deleted file mode 100755 index 52abd0df1..000000000 Binary files a/doc/salome/gui/KERNEL/pics/undo-redo.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/usecasebr.jpg b/doc/salome/gui/KERNEL/pics/usecasebr.jpg deleted file mode 100755 index ee9f03cd8..000000000 Binary files a/doc/salome/gui/KERNEL/pics/usecasebr.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/usecasebrsr.jpg b/doc/salome/gui/KERNEL/pics/usecasebrsr.jpg deleted file mode 100755 index 8506331a2..000000000 Binary files a/doc/salome/gui/KERNEL/pics/usecasebrsr.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/warninglocked.jpg b/doc/salome/gui/KERNEL/pics/warninglocked.jpg deleted file mode 100755 index 9a0d97ea1..000000000 Binary files a/doc/salome/gui/KERNEL/pics/warninglocked.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/pics/zoom.jpg b/doc/salome/gui/KERNEL/pics/zoom.jpg deleted file mode 100755 index d533f2075..000000000 Binary files a/doc/salome/gui/KERNEL/pics/zoom.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/robohhre.lng b/doc/salome/gui/KERNEL/robohhre.lng deleted file mode 100755 index 297538b0b..000000000 --- a/doc/salome/gui/KERNEL/robohhre.lng +++ /dev/null @@ -1,101 +0,0 @@ -[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/ss_btn_related_topics.gif b/doc/salome/gui/KERNEL/ss_btn_related_topics.gif deleted file mode 100755 index 5158bc468..000000000 Binary files a/doc/salome/gui/KERNEL/ss_btn_related_topics.gif and /dev/null differ diff --git a/doc/salome/gui/KERNEL/texture_horiz_ltbluebubbles.jpg b/doc/salome/gui/KERNEL/texture_horiz_ltbluebubbles.jpg deleted file mode 100755 index a10d494a5..000000000 Binary files a/doc/salome/gui/KERNEL/texture_horiz_ltbluebubbles.jpg and /dev/null differ diff --git a/doc/salome/gui/KERNEL/tip1.gif b/doc/salome/gui/KERNEL/tip1.gif deleted file mode 100755 index bb74c875c..000000000 Binary files a/doc/salome/gui/KERNEL/tip1.gif and /dev/null differ diff --git a/doc/salome/gui/KERNEL/webhelp.cab b/doc/salome/gui/KERNEL/webhelp.cab deleted file mode 100755 index b942f642f..000000000 Binary files a/doc/salome/gui/KERNEL/webhelp.cab and /dev/null differ diff --git a/doc/salome/gui/KERNEL/webhelp.jar b/doc/salome/gui/KERNEL/webhelp.jar deleted file mode 100755 index 53b266636..000000000 Binary files a/doc/salome/gui/KERNEL/webhelp.jar and /dev/null differ diff --git a/doc/salome/gui/KERNEL/whcsh_home.htm b/doc/salome/gui/KERNEL/whcsh_home.htm deleted file mode 100755 index daece5e43..000000000 --- a/doc/salome/gui/KERNEL/whcsh_home.htm +++ /dev/null @@ -1,600 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whcshdata.htm b/doc/salome/gui/KERNEL/whcshdata.htm deleted file mode 100755 index 0e0412421..000000000 --- a/doc/salome/gui/KERNEL/whcshdata.htm +++ /dev/null @@ -1,87 +0,0 @@ - - -KERNEL - - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/whdata/whftdata.js b/doc/salome/gui/KERNEL/whdata/whftdata.js deleted file mode 100755 index 071ae6fc7..000000000 --- a/doc/salome/gui/KERNEL/whdata/whftdata.js +++ /dev/null @@ -1,25 +0,0 @@ -// WebHelp 5.10.001 -var gTEA = new Array(); -function aTE(sTopicTitle, sTopicURL) -{ - var len = gTEA.length; - gTEA[len] = new topicEntry(sTopicTitle, sTopicURL); -} - -function topicEntry(sTopicTitle, sTopicURL) -{ - this.sTopicTitle = sTopicTitle; - this.sTopicURL = sTopicURL; -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putFtsTData) - { - parent.putFtsTData(gTEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whftdata0.htm b/doc/salome/gui/KERNEL/whdata/whftdata0.htm deleted file mode 100755 index f48525808..000000000 --- a/doc/salome/gui/KERNEL/whdata/whftdata0.htm +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/whdata/whftdata0.xml b/doc/salome/gui/KERNEL/whdata/whftdata0.xml deleted file mode 100755 index 303d85f53..000000000 --- a/doc/salome/gui/KERNEL/whdata/whftdata0.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/whdata/whfts.htm b/doc/salome/gui/KERNEL/whdata/whfts.htm deleted file mode 100755 index e2b057984..000000000 --- a/doc/salome/gui/KERNEL/whdata/whfts.htm +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whfts.js b/doc/salome/gui/KERNEL/whdata/whfts.js deleted file mode 100755 index 2b6678690..000000000 --- a/doc/salome/gui/KERNEL/whdata/whfts.js +++ /dev/null @@ -1,40 +0,0 @@ -// WebHelp 5.10.001 -var gaFileMapping = new Array(); -var gaFileTopicMapping = new Array(); - -function fileMapping(sStartKey, sEndKey, sFileName) -{ - this.sStartKey = sStartKey; - this.sEndKey = sEndKey; - this.sFileName = sFileName; - this.aFtsKeys = null; -} - -function fileTopicMapping(nIdBegin, nIdEnd, sFileName) -{ - this.nBegin = nIdBegin; - this.nEnd = nIdEnd; - this.sFileName = sFileName; - this.aTopics = null; -} - - -function iWM(sStartKey, sEndKey, sFileName) -{ - gaFileMapping[gaFileMapping.length] = new fileMapping(sStartKey, sEndKey, sFileName); -} - -function window_OnLoad() -{ - if (parent && parent != this && parent.ftsReady) - { - parent.ftsReady(gaFileMapping, gaFileTopicMapping); - } -} - -function iTM(nIdBegin, nIdEnd, sFileName) -{ - gaFileTopicMapping[gaFileTopicMapping.length] = new fileTopicMapping(nIdBegin, nIdEnd, sFileName); -} - -window.onload = window_OnLoad; diff --git a/doc/salome/gui/KERNEL/whdata/whfts.xml b/doc/salome/gui/KERNEL/whdata/whfts.xml deleted file mode 100755 index e3c8854a1..000000000 --- a/doc/salome/gui/KERNEL/whdata/whfts.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/doc/salome/gui/KERNEL/whdata/whfwdata.js b/doc/salome/gui/KERNEL/whdata/whfwdata.js deleted file mode 100755 index e9e8bc6c1..000000000 --- a/doc/salome/gui/KERNEL/whdata/whfwdata.js +++ /dev/null @@ -1,37 +0,0 @@ -// WebHelp 5.10.001 -var gWEA = new Array(); -function aWE() -{ - var len = gWEA.length; - gWEA[len] = new ftsEntry(aWE.arguments); -} - -function ftsEntry(fn_arguments) -{ - if (fn_arguments.length && fn_arguments.length >= 1) - { - this.sItemName = fn_arguments[0]; - this.aTopics = null; - var nLen = fn_arguments.length; - if (nLen > 1) - { - this.aTopics = new Array(); - for (var i = 0; i < nLen - 1; i ++ ) - { - this.aTopics[i] = fn_arguments[i + 1]; - } - } - } -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putFtsWData) - { - parent.putFtsWData(gWEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whfwdata0.htm b/doc/salome/gui/KERNEL/whdata/whfwdata0.htm deleted file mode 100755 index d6dc00c36..000000000 --- a/doc/salome/gui/KERNEL/whdata/whfwdata0.htm +++ /dev/null @@ -1,1070 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/whdata/whfwdata0.xml b/doc/salome/gui/KERNEL/whdata/whfwdata0.xml deleted file mode 100755 index f758b29e0..000000000 --- a/doc/salome/gui/KERNEL/whdata/whfwdata0.xml +++ /dev/null @@ -1,1086 +0,0 @@ - - - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 3,9,15,16, - 9,15, - 9,15, - 9,15, - 3,9,15,16, - 2, - 9,15, - 15, - 9,15,16, - 12,17, - 2,9,15, - 9,15, - 9,15, - 15, - 9,15, - 9,15, - 2, - 0,9,15, - 9,15, - 7,9,15, - 9, - 0,17,22,24, - 9,15, - 9,15,17,21,22, - 2, - 9,15, - 0, - 1, - 19, - 3, - 3,5, - 5, - 9, - 9,15,20,24, - 0, - 4,9,15,16,20,24, - 3, - 0,4,6,9,15,11,22, - 15,20, - 0, - 9,15,13,18, - 0,9,15,12, - 0,5,6,9,15,12,16,17,18,19,20,23,24, - 12, - 20, - 9,15, - 9, - 9,15, - 9,15, - 0,9,15,18,24, - 9,15, - 0,1,2,4,7,9,15,13,16,24, - 9,15, - 22, - 2,7,8,15,19,20,23, - 1, - 0,4,8,10,11,12,16,17,18,19,20,22, - 11,19, - 9,15,12, - 15, - 9,15, - 15, - 0, - 9, - 17, - 15, - 2, - 22, - 22, - 18,19, - 9,15, - 14,21,22,24, - 22, - 7,20, - 9,15,19, - 4,9,15,14,16,18,19,24, - 19, - 0,9,15, - 9,15, - 9,15, - 9,15, - 9,15,17, - 19, - 0,10,18, - 15, - 15,17, - 0,15,16, - 2,9, - 9,15, - 9,23, - 0, - 10, - 9, - 9,15,13, - 24, - 9,15,16,20, - 9,15, - 15, - 0, - 17, - 15, - 9, - 21, - 17,24, - 7,9,15,14,18,20,23, - 15, - 2, - 9,15,13, - 1,9,15,11,14,17,19,22,24, - 9,15, - 9,15,12,20, - 9,15,12, - 9,15,13,14,18,23, - 16, - 2,9, - 2,10, - 0,15, - 8,12, - 18,20,23, - 17, - 9,15, - 20, - 15, - 9,15,10, - 9,15, - 0,7,9,15,18,24, - 2,5,9,15, - 9,15, - 9,15, - 20, - 20, - 20, - 11,16, - 21, - 0,2,7,9,15,18, - 1, - 15, - 9,15, - 15, - 9,15, - 24, - 9,15, - 3,5,4,6,7,9,15,14,20,23, - 20, - 19, - 9,15,24, - 17, - 3,6,7,9,15,13,14,17,18,21,22,23,24, - 13, - 0, - 9,15,13,18,21, - 0, - 0,15,10, - 9, - 9,15, - 9, - 19,22, - 19,22,23, - 12, - 17, - 9,15, - 15, - 0,9,15,16, - 2, - 15,11,18, - 0, - 24, - 9,15, - 7,9,15,21,23, - 0,10, - 0,1,4,6,11,12,13,14,17,18,19,20,22,23,24, - 9,15, - 0,10, - 0,13, - 9,15,10, - 0, - 15, - 15, - 15, - 9,15, - 12, - 15, - 9,15, - 8, - 2, - 17, - 16,17,19, - 0, - 2, - 12, - 1,2,7,9,15,14,16,17,19,20,21,22,23, - 16, - 15,21, - 4,17,22,24, - 9,15, - 10, - 3,9,15, - 17, - 9, - 12, - 2,24, - 6,15,17,18, - 2,15, - 0, - 18, - 17, - 9,15,14,16,21, - 9, - 10, - 0,10, - 16, - 0,1,3,8,9,15,11,14,16,17,18,19,20,22,24, - 0,9,15,10,11, - 10, - 13,18, - 9,15,16, - 16, - 6,7,9,15,13,16,18,19,22,23,24, - 10,19,20,24, - 9,15, - 9,15, - 7,23, - 0,8,9,15,11,12,18,19, - 0, - 2, - 22, - 9, - 3,4,9,15,16,18,19,22,24, - 15,19,24, - 0,3,4,6,9,16,18,19,22,23,24, - 0,21, - 10, - 15,19,22,24, - 15, - 15, - 0,10, - 22, - 0,1,2,9,15,20, - 9,15,16,20, - 10, - 20, - 5,4,8,15,11,17,18, - 8,17,22,23,24, - 13, - 9,15, - 0, - 0,10, - 7,9,15,14,18,20,21,23, - 9,15, - 0,1,3,5,8,9,15,14,17,22,24, - 10, - 15, - 9,21, - 9,15,19, - 9,15,16,18,19,20, - 9,15,19, - 15, - 9,15,16, - 5,4,9,15,13,16,17,19,21,22,23,24, - 0, - 0, - 1,23, - 9,15, - 9, - 2,8,15,17, - 9, - 0,2,10,12, - 9,15,20, - 9,15, - 23, - 7,13,22, - 9,15, - 9,15, - 9,15, - 9,15, - 4,24, - 0, - 9,15, - 9,15, - 4,13,24, - 17, - 12, - 9,15, - 10, - 0, - 0, - 9,15, - 0, - 6,7,9,15,11, - 10, - 20, - 10, - 2,10, - 9, - 9,15, - 9,12,19,21, - 12, - 0, - 9,15,19, - 0, - 11, - 9,15, - 0,10, - 7,9,15,16,18, - 9,15, - 9,15,19,22, - 16, - 15, - 15, - 15, - 0,8,9,15,10,11,16, - 9,15, - 10, - 2,9,15, - 0,4,15, - 23, - 0,9, - 10,12,21, - 9,15, - 10, - 0, - 16, - 9,15, - 15, - 9,15,10,20, - 9, - 0, - 12, - 0,9,15,12,14,18,20, - 9, - 9,15, - 9, - 9, - 13, - 0, - 10, - 0, - 1, - 0, - 18, - 19, - 9,15, - 10, - 9,15, - 0, - 20, - 9,15, - 1,6,9,15, - 7,9,15, - 9,15, - 9,15, - 3,7,9,15,14,16,17,18,19,20, - 9,15,21, - 0, - 9,15,13, - 9,15,22, - 17, - 15, - 0, - 15, - 13, - 9,15,19,22,24, - 9, - 0,5,7,8,9,15,12,13,14,16,17,18,19,20,21,23,24, - 19, - 9, - 20, - 1,15,14,19, - 11, - 11, - 9,15, - 11,22, - 2, - 10, - 17, - 21, - 15,12,17,18, - 15, - 17, - 0,1,6,8,17,20, - 0, - 2, - 9,15, - 9,15,16, - 9,15, - 9, - 8,15,17, - 15,20, - 12, - 11,20, - 10,12, - 0,4,6,12, - 1,7,8,9,10,22,24, - 7,15,17, - 15,12, - 17, - 21, - 9, - 9,15,13, - 12, - 9,15, - 9,15, - 0,9,15,16, - 9,16, - 0,13,21, - 9,15,10,11, - 9,15, - 9,15,16, - 18, - 9,15, - 13,22, - 9,15,14,18,19, - 9,15, - 9,15, - 9, - 23, - 0,1,9,15,13,14,16,21,22,23, - 9,15,19, - 4,17,19,22, - 10, - 15,22, - 15, - 23, - 2, - 16, - 0, - 13, - 0,9,15, - 1,21, - 9,15, - 0,11,12, - 3,6,17,20, - 22,23, - 9,15, - 0,20, - 19, - 3,9,15,14,16,18,19,20,21,22,24, - 17, - 13, - 2, - 0,15, - 0,20, - 15, - 11,17, - 15, - 9, - 2,9,15,13,21, - 0, - 10, - 0, - 0, - 0, - 21,22, - 10, - 0,2,7,9,15,13,18,21,23, - 8,17, - 20, - 15, - 13,20, - 9,15, - 9,15,20, - 9,15,16, - 15, - 15, - 15, - 15, - 15, - 15, - 15, - 15, - 9,15,16, - 15, - 15, - 15, - 15, - 0, - 10, - 15, - 0,11,12,17, - 0,10,11,20, - 21, - 0,10,11,12,19,20, - 15,10, - 1, - 22, - 11,17, - 23, - 9,15,10,11,12, - 18, - 9,15,17, - 19,22, - 9,15, - 9,15, - 7,9,19, - 9,15, - 1, - 17, - 17, - 9,15, - 16, - 15, - 12,16, - 9,15, - 21, - 16, - 16, - 7,13, - 9,20, - 9, - 16, - 0, - 9,18,23, - 1,9,15,14,16,19,20,23, - 9,15, - 9,18, - 15, - 9,15,17,21, - 19,21,24, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 2,15, - 0,5,4,9,15,13,17,18,20,22,24, - 9, - 1,9,15,16, - 0,9,10,13, - 9, - 1,9,15, - 15, - 7,9,15,13,16,19,21,23, - 15, - 11,14,16,17,19,22,24, - 9,15, - 4,16,21,22, - 20, - 7, - 16, - 0, - 5,9,15,20,21, - 18, - 9, - 9,15,21, - 16, - 0,9,18,23, - 1, - 0, - 3,5,4,6,7,15,14,17,18,19,20,23, - 3,5,9,15, - 11,17, - 1,9,15,19, - 0, - 4,9,15,19, - 10, - 0, - 15, - 21, - 2, - 3,5,17, - 2,8,9,15, - 2, - 9,15, - 10, - 9, - 3,5,4,6,7,11,13,14,17,18,19,20,22,23,24, - 9,15, - 9,15, - 12, - 7,9,15,11,16,17,19,23, - 9,15, - 9, - 3,17, - 15, - 17, - 0,9,15,16, - 0,10,12, - 10, - 0,7, - 15,24, - 1,12,16,20, - 16, - 16, - 15, - 4, - 19, - 9,15, - 9,15, - 8,11,20,21, - 18,19, - 18, - 0, - 0,9,10,12, - 9,15, - 2,3,5,7,9,15,18,19,20,22,23,24, - 9,15, - 0, - 9,15,13, - 1,13, - 1, - 9,15,13, - 9,15,16, - 9, - 1,19, - 0,3,7,8,9,15,18,19,20,24, - 7,9,15,19,20, - 20, - 9,15, - 2, - 0, - 9,15, - 8, - 9,15,19,23, - 9,15,10,12, - 0,8, - 0,6,11,14,17,19,22,24, - 0, - 9,15, - 3,11,17,19, - 15, - 9,15, - 0, - 10, - 9,15,14, - 0, - 15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 0,6,9,15,11,13,14,16,18,19,20,21,22,24, - 9, - 21, - 9, - 2,8,12,13,14,16,18,19,20,21, - 9,15, - 10, - 6,8,17,18,24, - 10, - 5,6,7,9,15,14,16,17,18,19,22,24, - 9,15, - 9,15, - 0, - 12, - 15, - 15, - 1, - 2,9,15,18, - 17, - 9,15,11,17,19, - 15, - 15,12,19,24, - 16, - 9,15,16,20, - 9,15,21, - 13,17,21, - 0, - 9,15,20, - 0,9,20, - 2,9,15,17, - 10,18, - 9,15, - 6,17, - 9,15, - 0, - 0,8,10,17, - 2,9,15, - 10, - 0, - 2, - 21, - 0,10,12, - 9,15, - 7,24, - 23, - 0, - 4,15, - 0,1,8,9,15,10,11,12,16,17,18,20,23, - 9,15, - 3,11,17,19, - 17, - 9, - 13,14,17,22,24, - 13, - 16, - 10, - 16, - 17, - 0,9,15,16,20, - 15,22,24, - 10,12, - 10,12, - 9,15, - 0, - 9, - 16, - 19,22, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 17, - 9,15,14, - 9,15,14,18, - 9,15,16, - 15, - 9,15,10, - 8,9,15, - 9,15,16, - 9,15,10,12,23, - 0,10, - 17, - 2,9,15,10,16, - 15, - 15, - 15, - 0, - 15, - 9,16, - 0,9,15, - 9,15, - 9,15,16, - 9,15, - 15, - 7,12, - 9,15, - 2, - 0,15,10,11,16,20,21,23, - 8,9,22, - 15,16, - 9,15, - 9,15, - 0,9,15,11,16,17,19, - 9,15, - 9,15, - 9,15, - 9,15, - 10, - 9,15, - 15,19,22,24, - 9,15,18, - 15, - 9,15, - 9,15, - 9,15, - 9,15, - 0, - 2, - 9,15, - 13, - 10, - 9,15,13, - 15, - 8, - 9,15, - 2,7, - 17, - 9,15,22, - 9,15, - 15, - 16, - 6, - 10, - 10, - 1,13,19,22, - 10, - 23, - 23, - 2, - 11,23, - 9,15, - 9,15, - 15, - 9,15,13,21, - 15, - 13, - 10, - 18, - 4, - 0, - 9,15,24, - 24, - 2, - 9, - 0,8,9,10,11,12,21, - 5, - 2, - 9,15,10,14,18, - 0,10, - 2, - 9,15,17, - 17,19, - 2, - 0, - 2, - 15, - 19, - 8,18, - 2, - 0,10, - 12, - 2,9,15,13,14,17,18,21,22,24, - 10, - 10, - 0, - 9,15,24, - 17, - 2, - 15, - 0,9,15,16,20,23, - 9,15, - 16,20, - 20, - 0,2,9,15,13,17, - 2, - 0,1,3,5,4,6,8,9,15,10,11,12,13,14,16,17,18,19,20,21,22,23,24, - 20, - 9,15, - 15, - 9, - 9, - 9, - 9, - 9, - 9, - 13,18,20,23,24, - 9,15,11,17,18,19, - 9,15, - 0, - 0,15, - 0, - 0,9,15,16,20, - 7, - 7,9,15,14,18,20,22,24, - 1,9,15,14,18,21, - 9,15,24, - 9,15,17, - 3,5,7,9,15,14,18,19,21,24, - 17, - 9,15, - 4,17,22,24, - 15, - 0,20, - 0,16, - 0,9,15,20, - 14,18,19,22,23,24, - 1,9,15,16,17,18,19,22,23,24, - 9,15, - 10, - 9,15, - 10, - 9,15,11,16, - 15, - 21, - 2,8,9,15,18,20, - 9,15,17,19,22, - 7, - 15, - 9,15, - 15, - 9,15, - 0, - 15, - 0, - 10,12, - 8, - 15, - 9,15, - 9,15, - 9,15, - 0, - 17,19, - 9,15, - 18, - 0,4,12, - 0,9,15,19,21,22,24, - 0,2,9,10,12, - 10, - 12, - 9, - 19,22, - 9,15,12,16, - 9,15,17, - 9,15,14,16,18, - 0, - 0,4,10,12,21, - 10, - 12, - 18,20, - 10, - 9,15, - 3,9,15,11,14,17,18,20, - 8,9,15,20,23, - 9,15, - 0, - 9,15, - 9,15, - 9,15, - 0,9,15,14,18,20, - 2, - 15, - 9, - 9,15, - 10,14,22,24, - 10, - 3,5,6,8,11,14,17,18, - 0,3,5,6,7,8,11,12,14,17,18,19,20,22,23,24, - 3, - 15,21, - 2, - 3,4,19, - 9,15, - 9, - 9,15, - 9, - 16, - 11,12,16,20, - 22,23, - 9,15, - 9,15,20, - 15, - 15, - 9,15, - 9,15, - 5,9,15,11, - 9, - 0,1,2,9,15,13,21, - 9,15,16,18,20, - 21,23,24, - 9,15, - 15, - 0,9,15, - 9,15,16, - 9,15, - 15, - 15, - 15, - 9,15, - 9,15, - 9,15, - 0, - 10, - 2, - 0, - 9,15, - 15, - 15, - 15, - 9,15, - 15, - 2,10,13,21, - 9,16, - 0,15,20, - 9,15,13,21, - 0,9,15,12,16,23, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15, - 9,15,21, - 9, - 0, - 5, - 0,7,9,15,10,19,20,23, - 15, - 9,15, - 15, - 9,15, - 9, - 0,11,17,20,23, - 3,4,6,11,14,17,18, - 3,4,15,17, - 1,13,21, - 9,15, - 9,15, - 0, - 9,15, - 2, - 10, - 2, - 15,22,24, - 9,15, - 17,19, - 9, - 15, - 7,9,15,18,20, - 15, - 15, - 9,15,13,18,20, - 9,15,20, - 20, - 0, - 10, - 6,19, - 19, - 9,15, - 1, - 14,18, - 4, - 15, - 9,15, - 9,15,13,14,17,18,22,24, - 9,17,18,20, - 4,11,17, - 0,2,6,7,8,9,15,10,16,18,19,20,21,22,23,24, - 15, - 11,17,19,24, - 7,20, - 9,15, - 1, - 9,15, - 19, - 0, - 15,19,22, - 9,15,16, - 1,13, - 15,12, - 9,15, - 9,15, - 9,15,20, - 9,15,10, - 3,4,7,9,15,11,13,17,19,21,23,24, - 3,11,17, - 0,4,6,12, - 8,11,12,17, - 3,9,15,11,17,19, - 9,15, - 9,15, - 9,15,13, - 7,9,15, - 5,9,15,12,20,21, - 1,10, - 17, - 0,9,15,13,22,24, - 15, - 15, - 0, - 17,18,19, - 1, - 1,3,5,4,7,8,9,15,14,16,17,18,19,20,22,23,24, - 1,3,5,4,8,9,15,11,13,16,17,18,19,23,24, - 9,15, - 0,6,17,19,23, - 0,2,9,15,16,24, - 9,15, - 9,15, - 21, - 0,8,9,15,18,21, - 4,9,15,18,20,24, - 2,18, - 18, - 9,15, - 0, - 16, - 15,16,20, - 16, - 9,15, - 10, - 7, - 9,15, - 3,5,6,7,9,15,12,16,17,18,20,21,24, - 3, - 17, - - diff --git a/doc/salome/gui/KERNEL/whdata/whgdata.js b/doc/salome/gui/KERNEL/whdata/whgdata.js deleted file mode 100755 index 77e0107f3..000000000 --- a/doc/salome/gui/KERNEL/whdata/whgdata.js +++ /dev/null @@ -1,26 +0,0 @@ -// WebHelp 5.10.001 -var gIEA = new Array(); -function aGE(sName, sDef) -{ - var len = gIEA.length; - gIEA[len] = new gloEntry(sName, sDef); -} - -function gloEntry(sName, sDef) -{ - this.sName = sName; - this.sDef = sDef; - this.nNKOff = 0; -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putData) - { - parent.putData(gIEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whgdata0.htm b/doc/salome/gui/KERNEL/whdata/whgdata0.htm deleted file mode 100755 index 9d256b1a8..000000000 --- a/doc/salome/gui/KERNEL/whdata/whgdata0.htm +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/whdata/whgdata0.xml b/doc/salome/gui/KERNEL/whdata/whgdata0.xml deleted file mode 100755 index de6359242..000000000 --- a/doc/salome/gui/KERNEL/whdata/whgdata0.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/whdata/whglo.htm b/doc/salome/gui/KERNEL/whdata/whglo.htm deleted file mode 100755 index dc5a67786..000000000 --- a/doc/salome/gui/KERNEL/whdata/whglo.htm +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whglo.js b/doc/salome/gui/KERNEL/whdata/whglo.js deleted file mode 100755 index e0519afcb..000000000 --- a/doc/salome/gui/KERNEL/whdata/whglo.js +++ /dev/null @@ -1,34 +0,0 @@ -// WebHelp 5.10.001 -var gaFileMapping = new Array(); -function fileMapping(sBK, sEK, sFileName, nNum) -{ - this.sBK = sBK; - this.sEK = sEK; - this.sFileName = sFileName; - this.aKs = null; - this.nNum = nNum; - this.oUsedItems = null; -} - - -function iFM(sBK, sEK, sFileName, nNum) -{ - var i = gaFileMapping.length; - gaFileMapping[i] = new fileMapping(sBK, sEK, sFileName, nNum); - if (i == 0) { - gaFileMapping[i].nTotal = nNum; - } - else { - gaFileMapping[i].nTotal = nNum + gaFileMapping[i - 1].nTotal; - } -} - -function window_OnLoad() -{ - if (parent && parent != this && parent.projReady) - { - parent.projReady(gaFileMapping); - } -} - -window.onload = window_OnLoad; diff --git a/doc/salome/gui/KERNEL/whdata/whglo.xml b/doc/salome/gui/KERNEL/whdata/whglo.xml deleted file mode 100755 index dcdf6cf11..000000000 --- a/doc/salome/gui/KERNEL/whdata/whglo.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whidata.js b/doc/salome/gui/KERNEL/whdata/whidata.js deleted file mode 100755 index 9f0eb15ed..000000000 --- a/doc/salome/gui/KERNEL/whdata/whidata.js +++ /dev/null @@ -1,89 +0,0 @@ -// WebHelp 5.10.001 -// const strings -var gIEA = new Array(); -function aIE() -{ - var len = gIEA.length; - gIEA[len] = new indexEntry(aIE.arguments); -} - -function topic(sName, sURL) -{ - this.sName = sName; - this.sURL = sURL; -} - -function indexEntry(fn_arguments) -{ - if (fn_arguments.length && fn_arguments.length >= 3) - { - this.nType = fn_arguments[0]; - this.nPKOff = 0; - this.nNKOff = fn_arguments[1]; - this.sName = fn_arguments[2]; - this.aTopics = null; - var nLen = fn_arguments.length; - if (Math.floor(nLen / 2) * 2 == nLen) - { - this.sTarget = fn_arguments[3]; - if (nLen > 5) - { - this.aTopics = new Array(); - for (var i = 0; i < (nLen - 5)/2; i++) - { - this.aTopics[i] = new topic(fn_arguments[i * 2 + 4], fn_arguments[i * 2 + 5]); - } - } - - } - else - { - if (nLen > 4) - { - this.aTopics = new Array(); - for (var i = 0; i < (nLen - 4)/2; i++) - { - this.aTopics[i] = new topic(fn_arguments[i * 2 + 3], fn_arguments[i * 2 + 4]); - } - } - } - } -} - -function getIndexTopicMappingList(nItemIndex) -{ - var sTopics = ""; - if (gIEA.length > nItemIndex) - { - if (gIEA[nItemIndex].aTopics) - { - var i = 0; - var nLen = gIEA[nItemIndex].aTopics.length; - for (i = 0; i < nLen; i ++) - { - sTopics += "," + gIEA[nItemIndex].aTopics[i]; - } - } - } - return sTopics; -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putData) - { - for (var i = 0; i < gIEA.length; i ++ ) - { - if (gIEA[i].nNKOff != 0 && i + gIEA[i].nNKOff + 1 < gIEA.length) - { - - gIEA[i + gIEA[i].nNKOff + 1].nPKOff = gIEA[i].nNKOff; - } - } - parent.putData(gIEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whidx.htm b/doc/salome/gui/KERNEL/whdata/whidx.htm deleted file mode 100755 index 0a0deedd0..000000000 --- a/doc/salome/gui/KERNEL/whdata/whidx.htm +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whidx.js b/doc/salome/gui/KERNEL/whdata/whidx.js deleted file mode 100755 index e0519afcb..000000000 --- a/doc/salome/gui/KERNEL/whdata/whidx.js +++ /dev/null @@ -1,34 +0,0 @@ -// WebHelp 5.10.001 -var gaFileMapping = new Array(); -function fileMapping(sBK, sEK, sFileName, nNum) -{ - this.sBK = sBK; - this.sEK = sEK; - this.sFileName = sFileName; - this.aKs = null; - this.nNum = nNum; - this.oUsedItems = null; -} - - -function iFM(sBK, sEK, sFileName, nNum) -{ - var i = gaFileMapping.length; - gaFileMapping[i] = new fileMapping(sBK, sEK, sFileName, nNum); - if (i == 0) { - gaFileMapping[i].nTotal = nNum; - } - else { - gaFileMapping[i].nTotal = nNum + gaFileMapping[i - 1].nTotal; - } -} - -function window_OnLoad() -{ - if (parent && parent != this && parent.projReady) - { - parent.projReady(gaFileMapping); - } -} - -window.onload = window_OnLoad; diff --git a/doc/salome/gui/KERNEL/whdata/whidx.xml b/doc/salome/gui/KERNEL/whdata/whidx.xml deleted file mode 100755 index 3ca67b6f0..000000000 --- a/doc/salome/gui/KERNEL/whdata/whidx.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/doc/salome/gui/KERNEL/whdata/whtdata.js b/doc/salome/gui/KERNEL/whdata/whtdata.js deleted file mode 100755 index d5428a7de..000000000 --- a/doc/salome/gui/KERNEL/whdata/whtdata.js +++ /dev/null @@ -1,64 +0,0 @@ -// WebHelp 5.10.001 -var gTEA = new Array(); -function aTE() -{ - gTEA[gTEA.length] = new tocEntry(aTE.arguments); -} - -function tocEntry(fn_arguments) -{ - if (fn_arguments.length < 3) - { - alert ("data format wrong!!!"); - return; - } - - this.nType = fn_arguments[0]; - this.nContents = fn_arguments[1]; - this.sItemName = fn_arguments[2]; - - if (this.nType == 1 || this.nType == 2 || this.nType == 16) - { - if (fn_arguments.length > 3) - { - this.sItemURL = fn_arguments[3]; - if (fn_arguments.length > 4) - { - this.sTarget = fn_arguments[4]; - if (fn_arguments.length > 5) - this.sIconRef = fn_arguments[5]; - } - } - } - if (this.nType == 4 || this.nType == 8) - { - 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]; - if (fn_arguments.length > 5) - { - this.sTarget = fn_arguments[5]; - if (fn_arguments.length > 6) - this.sIconRef = fn_arguments[6]; - } - } - } - } -} - - -function window_OnLoad() -{ - if (parent && parent != this && parent.putData) { - parent.putData(gTEA); - } -} -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whtdata0.htm b/doc/salome/gui/KERNEL/whdata/whtdata0.htm deleted file mode 100755 index d89a6fafd..000000000 --- a/doc/salome/gui/KERNEL/whdata/whtdata0.htm +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/whdata/whtdata0.xml b/doc/salome/gui/KERNEL/whdata/whtdata0.xml deleted file mode 100755 index 2058321a2..000000000 --- a/doc/salome/gui/KERNEL/whdata/whtdata0.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/whdata/whtoc.htm b/doc/salome/gui/KERNEL/whdata/whtoc.htm deleted file mode 100755 index 54e0cbf26..000000000 --- a/doc/salome/gui/KERNEL/whdata/whtoc.htm +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whtoc.js b/doc/salome/gui/KERNEL/whdata/whtoc.js deleted file mode 100755 index 163d8cc9f..000000000 --- a/doc/salome/gui/KERNEL/whdata/whtoc.js +++ /dev/null @@ -1,31 +0,0 @@ -// WebHelp 5.10.001 -// const strings -var gaProj = new Array(); -var gsRoot = ""; - -function setRoot(sRoot) -{ - gsRoot = sRoot -} - -function aPE(sProjPath, sRootPath) -{ - gaProj[gaProj.length] = new tocProjEntry(sProjPath, sRootPath); -} - -function tocProjEntry(sProjPath, sRootPath) -{ - if(sProjPath.lastIndexOf("/")!=sProjPath.length-1) - sProjPath+="/"; - this.sPPath = sProjPath; - this.sRPath = sRootPath; -} - - -function window_OnLoad() -{ - if (parent && parent != this && parent.projReady) { - parent.projReady(gsRoot, gaProj); - } -} -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whdata/whtoc.xml b/doc/salome/gui/KERNEL/whdata/whtoc.xml deleted file mode 100755 index bffb89aa7..000000000 --- a/doc/salome/gui/KERNEL/whdata/whtoc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/doc/salome/gui/KERNEL/whestart.ico b/doc/salome/gui/KERNEL/whestart.ico deleted file mode 100755 index 110f18356..000000000 Binary files a/doc/salome/gui/KERNEL/whestart.ico and /dev/null differ diff --git a/doc/salome/gui/KERNEL/whfbody.htm b/doc/salome/gui/KERNEL/whfbody.htm deleted file mode 100755 index 86d8e63db..000000000 --- a/doc/salome/gui/KERNEL/whfbody.htm +++ /dev/null @@ -1,37 +0,0 @@ - - -Search Result - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/whfdhtml.htm b/doc/salome/gui/KERNEL/whfdhtml.htm deleted file mode 100755 index 236beec73..000000000 --- a/doc/salome/gui/KERNEL/whfdhtml.htm +++ /dev/null @@ -1,30 +0,0 @@ - - -Search Frame - - - - - - - - - diff --git a/doc/salome/gui/KERNEL/whfform.htm b/doc/salome/gui/KERNEL/whfform.htm deleted file mode 100755 index f592a738d..000000000 --- a/doc/salome/gui/KERNEL/whfform.htm +++ /dev/null @@ -1,136 +0,0 @@ - - -Search Form - - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/KERNEL/whfhost.js b/doc/salome/gui/KERNEL/whfhost.js deleted file mode 100755 index 167acc459..000000000 --- a/doc/salome/gui/KERNEL/whfhost.js +++ /dev/null @@ -1,945 +0,0 @@ -// WebHelp 5.10.003 -var gsSK2=null; -var gsSK=null; -var gsFtsBreakChars="\t\r\n\"\\ .,!@#$%^&*()~'`:;<>?/{}[]|+-=\x85\x92\x93\x94\x95\x96\x97\x99\xA9\xAE\xB7"; -var gnCLF=0; -var gsHelpCannotSearch="Cannot search for that phrase."; -var gsNoTopics="No Topics Found."; -var gsLoadingDivID="LoadingDiv"; -var gsLoadingMsg="Loading data, please wait..."; -var gsSearchMsg="Searching..."; -var gsResultDivID="ResultDiv"; -var gaaFCD=new Array(); -var gaaFTCD=new Array(); -var goCF=null; -var goCTF=null; -var gaTI=null; -var gnCurrentOp=0; -var gbNot=false; -var gbReady=false; -var gnLoadFts=1; -var gnCacheLimits=5; -var gaCCD=new Array(); -var gbXML=false; -var gaData=new Array(); -var gsBgColor="#ffffff"; -var gsBgImage=""; -var gsMargin="0pt"; -var gsIndent="0pt"; -var gsCheckKey=null; -var gnIndexNum=0; -var gaFtsContentsCon=null; -var gaTopicCheckInfo=null; -var gnTopicCheck=0; -var goFont=null; -var goErrFont=null; -var goHoverFont=null; -var gsABgColor="#cccccc"; -var gbWhFHost=false; -var gbFirst=false; - -function setBackground(sBgImage) -{ - gsBgImage=sBgImage; -} - -function setBackgroundcolor(sBgColor) -{ - gsBgColor=sBgColor; -} - -function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration) -{ - var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration); - if(sType=="Normal") - goFont=vFont; - else if(sType=="Error") - goErrFont=vFont; - else if(sType=="Hover") - goHoverFont=vFont; -} - -function setActiveBgColor(sBgColor) -{ - gsABgColor=sBgColor; -} - -function setMargin(sMargin) -{ - gsMargin=sMargin; -} - -function setIndent(sIndent) -{ - gsIndent=sIndent; -} - -function updateCache(oCF) -{ - var len=gaCCD.length; - if(len0&&sURL) - { - var topic=new Object(); - topic.sTopicTitle=name; - topic.sTopicURL=sURL; - aTopics[aTopics.length]=topic; - } - } - oChild=oChild.nextSibling; - } - putFtsTData(aTopics); - } - } - else if(gnLoadFts==2) - { - var node=xmlDoc.lastChild; - if(node) - { - var oChild=node.firstChild; - var aFtsContents=new Array(); - while(oChild) - { - if(oChild.nodeName=="key") - { - var name=oChild.getAttribute("name"); - if(name&&name.length>0) - { - var item=new Object(); - item.sItemName=name; - aFtsContents[aFtsContents.length]=item; - var oChildChild=oChild.firstChild; - while(oChildChild) - { - if(oChildChild.nodeName=="#text") - { - var sIDs=oChildChild.nodeValue; - if(sIDs) - { - var nBPos=0; - do - { - var nPos=sIDs.indexOf(",",nBPos); - var sID=null; - if(nPos!=-1) - sID=sIDs.substring(nBPos,nPos); - else - sID=sIDs.substring(nBPos); - - if(sID) - { - var id=parseInt(sID); - if(!isNaN(id)) - { - if(!item.aTopics) - item.aTopics=new Array(); - item.aTopics[item.aTopics.length]=id; - } - } - nBPos=nPos+1; - }while(nBPos!=0&&nBPos0) - { - document.body.background=gsBgImage; - } - if(gsBgColor&&gsBgColor.length>0) - { - document.body.bgColor=gsBgColor; - } - writeResultDiv(); - loadFts(); - var oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null) - SendMessage(oMsg); -} - -function writeResultDiv() -{ - var sHTML="
"; - document.body.insertAdjacentHTML("beforeEnd",sHTML); -} - -function loadFts() -{ - if(!gbReady) - { - var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null); - if(SendMessage(oResMsg)&&oResMsg.oParam) - { - gbReady=true; - var oProj=oResMsg.oParam; - var aProj=oProj.aProj; - gbXML=oProj.bXML; - if(aProj.length>0) - { - var sLangId=aProj[0].sLangId; - for(var i=0;i=0)&&(gsFtsBreakChars.charAt(nSep)=="|"))){ - gnCurrentOp=0; - gbNot=false; - }else if((sCW=="and")||((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="&"))){ - gnCurrentOp=1; - gbNot=false; - }else if((sCW=="not")|| - ((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="~"))){ - gbNot=!gbNot; - }else if(sCW!=""&&!IsStopWord(sCW,gaFtsStop)){ - var sCurrentStem=GetStem(sCW); - gsCW=sCurrentStem; - ftsFindKeyword(); - return; - } - findOneKey(); - } - else{ - displayTopics(); - checkAgain(); - } -} - -function checkAgain() -{ - gsCheckKey = ""; - gnIndexNum = 0; - gsSK=gsSK2; - gsSK2=null; - if(gsSK!=null) - setTimeout("findFTSKey();",1); -} - -function displayTopics() -{ - var sHTML=""; - var sLine=""; - for(var i=0;i"+_textToHtml(gaTI[i].sTopicTitle)+""; - if(i>>4<<4==i) - { - sHTML+=sLine; - sLine=""; - } - } - if(sLine.length>0) - sHTML+=sLine; - - if(sHTML.length==0) - sHTML="

"+gsNoTopics+"

" - else - sHTML="
"+sHTML+"
"; - - var resultDiv=getElement(gsResultDivID); - if(resultDiv) - resultDiv.innerHTML=sHTML; -} - -function displayMsg(sErrorMsg) -{ - var sHTML="

"+sErrorMsg+"

"; - - var resultDiv=getElement(gsResultDivID); - if(resultDiv) - resultDiv.innerHTML=sHTML; -} - -function ftsFindKeyword() -{ - var sKey=gsCW; - var bNeedLoad=false; - var aFtsContentsCon=null; - var s=0; - if(sKey==null) return; - if(!gsCheckKey||sKey!=gsCheckKey||gnIndexNum==0) - { - aFtsContentsCon=new Array(); - gnCheck=0; - gsCheckKey=sKey; - gnTopicCheck=0; - gaTopicCheckInfo=null; - } - else{ - s=gnIndexNum; - aFtsContentsCon=gaFtsContentsCon; - } - for(var i=gnCheck;i=aTI.length) - { - aLS=gaTI; - aSS=aTI; - } - else - { - aLS=aTI; - aSS=gaTI; - } - var s=0; - for(var i=0;i=0) - { - var nM; - var bFound=false; - do{ - nM=(nB+nE)>>1; - if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)>0) - nE=nM-1; - else if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0) - nB=nM+1; - else - { - bFound=true; - break; - } - }while(nB<=nE); - if(bFound) - insertItemIntoArray(aTI,nM,oTI); - else - { - if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0) - insertItemIntoArray(aTI,nM+1,oTI); - else - insertItemIntoArray(aTI,nM,oTI); - } - } - else - aTI[0]=oTI; -} - -function mergeTopics(aTI1,aTI2) -{ - var i1=0; - var i2=0; - var len1=aTI1.length; - var len2=aTI2.length; - var aTopicNew=new Array(); - var i=0; - while(i1>1; - if(compare(keys[nM].sItemName,sKey)>0) - nE=nM-1; - else if(compare(keys[nM].sItemName,sKey)<0) - nB=nM+1; - else{ - bFound=true; - break; - } - }while(nB<=nE); - if(bFound) - { - if(keys[nM].aTopics) - { - for(var i=0;i>1; - if(aFTCD[nM].nBegin>nTopicId) - nE=nM-1; - else if(aFTCD[nM].nEnd

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