Definition at line 20 of file allfiles.tcl.
Public Member Functions | |
AllFiles (TclList args) | |
getCData (TclString id) | |
getSelection () | |
init_data () | |
load (TclList args) | |
load_dir (TclList args) | |
loadXml (TclString filename) | |
refreshid (TclString id) | |
reload () | |
selectIdsOfFile (TclString filename) | |
setIndexedSelection (TclList args) | |
setSelection (TclList args) | |
Protected Member Functions | |
_browse_action (TclWidget w) | |
_keypress_action (TclWidget w, TclKeyBinding k) | |
_motion_action (TclWidget w, TclNumber x, TclNumber y) | |
_return_action () | |
_rowtag (TclNumber row) | |
_setCount (TclNumber n) | |
refreshrow (TclNumber row, TclString item) | |
Protected Attributes | |
TclString | _idColumnIndex = "" |
TclString | _selection = "" |
Private Member Functions | |
_dom2anno (DomNode document) | |
_edit_action () | |
_load (TclList args) | |
_load_action () | |
_reload_action () | |
_reset_action () | |
_run_action () | |
Private Attributes | |
TclArray | _filenames |
TclString | _lastLoaded = "" |
|
An AllFiles constructor.
|
|
browse slot. This method adjusts the selected file in AllFiles::_selection.
|
|
analyse a dom document and convert it to an annotation.
|
|
edit slot. This method is called on and edit button press and starts an editor on the selected filenames. Definition at line 329 of file allfiles.tcl. |
|
React to a keypress into the table. Keys typed by the user are collected into a string, and the row whose id matches that string is selected. Definition at line 421 of file databrowser.tcl. |
|
internal load method. This method is called while the CdgBusy box is shown.
|
|
load slot. This command is executed whenever the load button is pressed. It loads the selected files in AllFiles::_selection and sets the selection accordingly. Definition at line 287 of file allfiles.tcl. |
|
motion slot. Moving the mouse over the table extracts displays a help string in the status line of the main window.
Reimplemented from DataBrowser. Definition at line 360 of file allfiles.tcl. |
|
reload slot. This command is executed whenever the load button is pressed. It resets the cdg system before loading the files in AllFiles::_lastLoaded. Definition at line 298 of file allfiles.tcl. |
|
reset slot. This method simply calls ::cmd::Reset. Definition at line 347 of file allfiles.tcl. |
|
actions to take place on pressing return in the entryfield. Definition at line 244 of file databrowser.tcl. |
|
colorize the table rows This method is a callback configured to the table in order to colorize the rows. Definition at line 361 of file databrowser.tcl. |
|
select a file and run it as a tcl-cdg-script Definition at line 307 of file allfiles.tcl. |
|
display the count-label. This number should reflect the number of items selected
|
|
abstract methods for retrieving the relevant C or Tcl data values for a given ID
Reimplemented in AllConstraints, AllLexemes, AllNetworks, AllParses, and AllWordgraphs.
|
|
return a list of selected ids Definition at line 292 of file databrowser.tcl. References DataBrowser::setSelection(). |
|
initialization of the data managed by this class. This method refreshes the data which could have been changed elsewhere, that is consult the C layer and squeeze out the relevant information. Reimplemented from DataBrowser. Definition at line 242 of file allfiles.tcl. |
|
load files and store additional information which could be acquired Definition at line 146 of file allfiles.tcl. |
|
load all files in a directory.
|
|
read in an xml annotation.
|
|
refresh the displayed data for a specific ID Definition at line 398 of file databrowser.tcl. Referenced by DataBrowser::_motion_action(). |
|
abstract method called in refreshid
Reimplemented in AllWordgraphs.
|
|
load the last loaded file again Definition at line 232 of file allfiles.tcl. |
|
select row of a file. previous selections are cleared Definition at line 124 of file allfiles.tcl. |
|
Select one or more rows. A previous selection is cleared; without arguemnts, removes all selections. ARGS is a list of row indices. Definition at line 332 of file databrowser.tcl. |
|
Select one or more rows. A previous selection is cleared; without arguemnts, removes all selections. ARGS must be a list of strings without spaces in them. Definition at line 304 of file databrowser.tcl. Referenced by DataBrowser::getSelection(). |
|
array holding all loaded files. Definition at line 51 of file allfiles.tcl. |
|
column index of table that contains selectable ids (used in _browse_action) Definition at line 87 of file databrowser.tcl. |
|
list if recently loaded files Definition at line 54 of file allfiles.tcl. |
|
string of current selected row ids Definition at line 84 of file databrowser.tcl. |