The content of the insert list depends on the view list. When the view list is set to one of the ALL* options, the insert list contains NEW SESSION, FILE and PASTE SESSION if the clipboard contains a session. It the view list is set to a session, the insert list contains FILE, Section CON, sections for all components with a non-empty version, and PASTE SECTION if the clipboard contains a section. Finally, when the view list is set to a section, the insert list contains FILE, COMMENT, all the commands appropriate for the selected section, and PASTE COMMAND/COMMENT in case the clipboard contains a comment or a command. The commands are either listed by groups (as determined by the command groups in the PARAM.XML file) or alphabetically. The choice can be made by clicking on the check box abc.
The sessions, sections and items can be manipulated with the following buttons:
$browser = "/opt/kde3/bin/konqueror"; $paramfile = "run_test/PARAM.in";Note that the default browser cannot be set under Mac OSX. For more detail type
share/Scripts/ParamEditor.pl -hThe GUI itself can be customized by setting variables in the ParamEditor.conf file. Type
grep '^our' share/Scripts/ParamConvert.plto see the variables that can be modified. Currently the following variables can be modified:
$RedoFrames = 0 ; # rewrite index.php (jump.html) $DoSafariJumpFix = 0 ; # work around the Safari bug $FrameHeights ='15%,85%' ; # heights of top frame and lower frames $FrameWidths ='60%,40%' ; # widths of the left and right frames $TopBgColor ='#DDDDDD' ; # background color for the top frame $TopFileNameFont ='COLOR=RED'; # font used for file name in top frame $FileNameEditorWidth = 40 ; # width (chars) of filename input box $TopTableWidth ='100%' ; # width of stuff above the line in top frame $TopLine ='<HR>' ; # separator line in top frame $RightBgColor ='WHITE' ; # background color for the right side frame $LeftTableWidth ='100%' ; # width of table in left frame $LeftColumn1Width = 30 ; # width of minimize/maximize button column $LeftColumn2Width = 380 ; # width of column with command parameters $LeftBgColor ='#DDDDDD' ; # background color for the left side frame $SessionBgColor ='#CCCCCC' ; # background color for session markers $SessionLine ='<HR COLOR=BLACK NOSHADE SIZE=4>'; # session separator line $SessionEditorSize = 30 ; # size (characters) for session name input $SectionBgColor ='#CCCCCC' ; # background color for section markers $SectionLine ='<HR COLOR=GREY NOSHADE SIZE=2>'; # section separator line $SectionColumn1Width = 8 ; # The space before the section marker $ItemEditorBgColor='#BBEEFF' ; # background color command/comment editor $ItemEditorWidth = 60 ; # width (chars) for command/comment editor $CommandBgColor ='#CCCCCC' ; # background color for commands $ParameterBgColor ='#CCCCCC' ; # background color for command parameters $CommentBgColor ='#DDDDDD' ; # background color for comments $ErrorBgColor ='RED' ; # background color for errors $UserInputBgColor ='#CCCCCC' ; # background color for user input commandsNote the use of dollar signs at the beginning of the variables, the quotation marks around string values and the semicolons at the end of lines. The comments starting with # are optional. The customization file has to have correct Perl language syntax to work properly.
Other then changing colors and width of table columns, the configuration file can be used to work around a bug in the Safari browser. The bug causes the browser to jump to the wrong place in the left frame. Set
$DoSafariJumpFix = 1; # work around the Safari bugin the configuration file to activate the work-around: first the browser jumps to a jump.html file that has a JavaScript that directs it to the proper part of the param.html file. As a result there is a little bit of blinking in the left frame, but still better than not seeing the selected items and scrolling all the time.
One can also change the proportions of the three frames by e.g. setting the variables
$FrameHeights = '18%,82%'; # heights of top frame and lower frames $FrameWidths = '50%,50%'; # widths of the left and right framesto diffferent values. Note that the sum should be 100% in both cases.
If the frame sizes or the Safari jump fix is modified in the configuration file while the editor, set
$RedoFrames = 1; # rewrite index.php (jump.html)so that the changes take effect without restarting the editor. Note, however, that this setting should be removed from the configuration file once the settings are permanent.