Definition at line 17 of file allparses.tcl.
Public Member Functions | |
addParse (Parse parse) | |
addParsesOfNet (TclString netId) | |
deleteparse (TclList args) | |
getAllAnnoIds () | |
getAllparseIds () | |
getCData (TclString id) | |
getParseForAnno (TclString anno) | |
getParseForLattice (TclString id) | |
getSelection () | |
handleICinteraction () | |
handlePartialResult (Parse parse_pointer) | |
refreshid (TclString id) | |
refreshrow (TclNumber row, Parse parse) | |
reset () | |
selectIdsOfLattice (TclString netId) | |
selectIdsOfNet (TclString netId) | |
setIndexedSelection (TclList args) | |
setManyWindows (TclNumber x) | |
setSelection (TclList args) | |
showparse (TclList args) | |
verifyparse (TclList args) | |
Public Attributes | |
TclString | autoshow = "valid" |
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) | |
AllParses (TclList args) | |
init_data () | |
refreshrow (TclNumber row, TclString item) | |
Protected Attributes | |
TclString | _idColumnIndex = "" |
TclString | _selection = "" |
Private Member Functions | |
deletebutton_action () | |
treebutton_action () | |
verifybutton_action () | |
Private Attributes | |
TclArray | allparses |
TclNumber | manyWindows = 0 |
|
constructor Definition at line 70 of file allparses.tcl. |
|
browse slot. This method adjusts the selected file in AllFiles::_selection.
|
|
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. |
|
Default motion slot.
Reimplemented in AllFiles. Definition at line 390 of file databrowser.tcl. References DataBrowser::refreshid(). |
|
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. |
|
display the count-label. This number should reflect the number of items selected
|
|
add parse Definition at line 501 of file allparses.tcl. |
|
add all parses of a given net Definition at line 480 of file allparses.tcl. |
|
action taking place when pressing the deletebutton Definition at line 210 of file allparses.tcl. Referenced by verifybutton_action(). |
|
delete given parses Definition at line 219 of file allparses.tcl. |
|
get names of all known annotations Definition at line 265 of file allparses.tcl. Referenced by getAllparseIds(). |
|
get all parseIds Definition at line 258 of file allparses.tcl. References getAllAnnoIds(). |
|
Get parse of a given id by looking it up in allparses(). If no such Parse exists, try to create one from the annotation with the same name and store it there, then return it. Reimplemented from DataBrowser. Definition at line 307 of file allparses.tcl. |
|
Return a parse created from the C annotation ANNO. Definition at line 280 of file allparses.tcl. |
|
Get a parse from an annotation of lattice ID. This is the more deperate version of getParseForAnno: instead of annotations with the name ID, it accepts annotations whose lattice's name is ID. You should have tried getParseForAnno first. Definition at line 345 of file allparses.tcl. |
|
return a list of selected ids Definition at line 292 of file databrowser.tcl. References DataBrowser::setSelection(). |
|
This function is called through the hook "IC interaction". It returns another word typed by the user, or "" to denote "stop processing". Definition at line 585 of file allparses.tcl. |
|
This function is called whenever a solution method has yielded another partial result. Definition at line 522 of file allparses.tcl. |
|
initialize with all available Parses
Reimplemented from DataBrowser. Definition at line 140 of file allparses.tcl. |
|
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.
|
|
refresh a row with a specified parse. Definition at line 120 of file allparses.tcl. |
|
Called when the CDG grammar changes and all nets, parses etc. become invalid. It deletes all Tcl parses, their VisParses, the corresponding ParseTrees, etc. If Tcl ever decides to provide graphical representations of constraint nets or lexicon entries, these must be cleared here as well. Definition at line 626 of file allparses.tcl. Referenced by setManyWindows(). |
|
select parses of a specified Lattice previous selections are cleared Definition at line 384 of file allparses.tcl. |
|
select parses of a specified netId. previous selections are cleared Definition at line 363 of file allparses.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. |
|
Switch display of parses in one/many windows. Definition at line 614 of file allparses.tcl. References reset(). |
|
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(). |
|
Display parses graphically. All parameters are interpreted as the names of parses. If no parse of the given name exists, one is constructed if possible, preferably from an annotation with the same name, or if that fails, from an annotation of the lattice of the same name. If a parameter has the form parse0:1,2,3 or similar, then not only is parse0 displayed, but the edges 1, 2, and 3 are immediately highlighted. Definition at line 414 of file allparses.tcl. |
|
actions to take place on pressing the detailsbutton Definition at line 196 of file allparses.tcl. References verifybutton_action(). |
|
actions to take place on pressing the detailsbutton Definition at line 203 of file allparses.tcl. References deletebutton_action(). Referenced by treebutton_action(). |
|
delete given parses Definition at line 242 of file allparses.tcl. |
|
column index of table that contains selectable ids (used in _browse_action) Definition at line 87 of file databrowser.tcl. |
|
string of current selected row ids Definition at line 84 of file databrowser.tcl. |