home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
dragbrowsv.tcl
< prev
next >
Wrap
Text File
|
1996-07-30
|
1KB
|
54 lines
#---------------------------------------------------------------------------
#
# (c) Cadre Technologies Inc. 1996
#
# File: @(#)dragbrowsv.tcl /main/hindenburg/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)dragbrowsv.tcl /main/hindenburg/1 30 Jul 1996 Copyright 1996 Cadre Technologies Inc.
# Start user added include file section
# End user added include file section
Class DragBrowsView : {BrowsView} {
constructor
method destructor
method contextList
method updateConversionSet
}
constructor DragBrowsView {class this name} {
set this [BrowsView::constructor $class $this $name]
# Start constructor user section
# End constructor user section
return $this
}
method DragBrowsView::destructor {this} {
# Start destructor user section
# End destructor user section
}
method DragBrowsView::contextList {this} {
set contextList ""
foreach flatObj [$this selectedSet] {
if [$flatObj isA DragInfoObj] {
lappend contextList [lindex [$flatObj contextList] 0]
}
}
return $contextList
}
method DragBrowsView::updateConversionSet {this} {
if [BrowserProcs::objectsReturn canBeDragged] {
$this conversionSet "BROWSUIOBJ contextList"
} else {
$this conversionSet ""
}
}
# Do not delete this line -- regeneration end marker