Inserts a domTT tooltip for displaying a directory using the "NST Directory Browser".
The following parameters are recognized:
Directory path name.
Optional width in "pixels" for the tooltip (defaults to "400" if omitted).
Optional title override: "'Browse' the 'Contents' of this directory:".
Optional directory title override: "Directory".
Optional directory filter title override: "Directory Filter".
Optional directory filter value override: ".* *".
Optional file filter title override: "FILE Filter".
Optional file filter value override: ".* *".
Example of using the macro:
This is the NST system log file: <span@ttNSTFileViewer("/var/log/messages","300")>/var/log/messages</span>
Assuming the com.ccg.macros.at.All
class is within your CLASSPATH
and the
config/bash.at
macros file has been
generated (Hint: run make atmacros in the
wui
directory), a developer should be able to
run the above example by copy/pasting from below:
[root@probe root]#
java com.ccg.macros.at.All <<EOF
@include("config/bash.at",,"d")
This is the NST system log file: <span@ttNSTFileViewer("/var/log/messages","300")>/var/log/messages</span>
EOF
This macro is defined as:
@domTTAttr("@ifEqual("@param(2)","","@ttLine1px("@ttEmphasis("Browse","false") the @ttNote("Contents") of this directory:")","@param(2)")@tableTTBegin()@tableTTRow("@ifEqual("@param(3)","","Directory","@param(3)")","@param(0)","true")@tableTTRow("@ifEqual("@param(4)","","Directory Filter","@param(4)")","@fnb("@param(5)",".* *")","false")@tableTTRow("@ifEqual("@param(6)","","File Filter","@param(6)")","@fnb("@param(7)",".* *")","false")@tableTTEnd()","@param(1)")