home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
dragtreeno.tcl
< prev
next >
Wrap
Text File
|
1997-04-22
|
2KB
|
74 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)dragtreeno.tcl /main/titanic/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)dragtreeno.tcl /main/titanic/1 22 Apr 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "treenode.tcl"
# Draggable TreeNode.
Class DragTreeNode : {TreeNode} {
constructor
method destructor
method contextList
method promoter
}
constructor DragTreeNode {class this name browsUiObj} {
set this [TreeNode::constructor $class $this $name $browsUiObj]
# Start constructor user section
# End constructor user section
return $this
}
method DragTreeNode::destructor {this} {
# Start destructor user section
# End destructor user section
$this TreeNode::destructor
}
method DragTreeNode::contextList {this} {
set context ""
set uiObj [$this browsUiObj]
set proj [$this getParent Project]
if {"$proj" != ""} {
lappend context [$proj getInfo Identity]
set confV [$this getParent ConfigVersion]
if {"$confV" != ""} {
lappend context [$confV getInfo Identity]
set phaseV [$this getParent PhaseVersion]
if {"$phaseV" != ""} {
lappend context [$phaseV getInfo Identity]
set sysV [$this getParent SystemVersion]
if {"$sysV" != ""} {
lappend context [$sysV getInfo Identity]
}
}
}
}
lappend context [$uiObj getInfo Identity]
lappend context [$uiObj browserType]
lappend context [$uiObj uiClass]
return [list $context]
}
# Call promoter of DragObject.
#
method DragTreeNode::promoter {this} {
$this conversionSet "BROWSUIOBJ contextList"
}
# Do not delete this line -- regeneration end marker