Changeset 025a6ef in tol
- Timestamp:
- Feb 24, 2012, 8:43:47 AM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 6eef720
- Parents:
- 9750667
- File:
-
- 1 edited
-
tolbase/lib/toltk/tolinspe.tcl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/lib/toltk/tolinspe.tcl
r9750667 r025a6ef 703 703 NameBlock - 704 704 Set { 705 #puts "HTItem, ref = '$ref' '$args'"705 puts "HTItem, ref = '$ref' '$args'" 706 706 # args[5] is the index of the set object 707 707 # args[6] is the flag file … … 808 808 set data [lreplace $data 9 9 $objRef] 809 809 #(pgea) se utiliza la informacon de instancia 810 puts "Tol_ClassOfFromReference $objRef" 810 811 set classOf [Tol_ClassOfFromReference $objRef] 812 puts "Tol_InstanceContentFromReference $objRef" 811 813 set insCont [Tol_InstanceContentFromReference $objRef] 812 814 if {$insCont ne ""} { … … 1378 1380 variable node_prefix "" 1379 1381 variable data 1382 variable knownReference "" 1380 1383 1381 1384 set index [$ht_tree index anchor] … … 1488 1491 variable item_id 1 1489 1492 variable w_tabset 1490 1493 variable knownReference "" 1494 1491 1495 ClearHiertables 1492 1496 $w_tabset tab configure Variables -text [mc Files] … … 1494 1498 $w_tabset select 0 1495 1499 foreach f [lreverse [::tol::info included]] { 1496 set fi [::tol::info included $f] 1500 # this catch is needed because info include could return files not 1501 # realy included. 1502 if { [ catch { ::tol::info included $f } fi ] } continue 1497 1503 # tener en cuenta el subtype cuando lo retorne 1504 set knownReference [ list "File" $f ] 1498 1505 InsertChild Set $f \ 1499 [lindex $fi 0] [lindex $fi 1] [list [lindex $fi 2]] $item_id 1 [lindex $fi 3] [lindex $fi 4] 1506 [lindex $fi 0] [lindex $fi 1] [list [lindex $fi 2]] $item_id 1 [lindex $fi 3] [lindex $fi 4] 1500 1507 } 1501 1508 } … … 2029 2036 2030 2037 proc Tol_StructOfFromReference { objReference } { 2038 if { [ llength $objReference ] == 2 && 2039 [ lindex $objReference 0 ] eq "File" } { 2040 return "" 2041 } 2031 2042 set addr [ ::tol::info address $objReference ] 2032 2043 return [ Tol_StructOf $addr ]
Note: See TracChangeset
for help on using the changeset viewer.
