home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
unregister.tcl
< prev
next >
Wrap
Text File
|
1997-03-14
|
2KB
|
61 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)unregister.tcl /main/titanic/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)unregister.tcl /main/titanic/3 14 Mar 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "separatord.tcl"
Class UnregisterDialog : {SeparatorDialog} {
constructor
method destructor
method objName
method load
}
constructor UnregisterDialog {class this name} {
set this [SeparatorDialog::constructor $class $this $name]
# Start constructor user section
# End constructor user section
return $this
}
method UnregisterDialog::destructor {this} {
# Start destructor user section
# End destructor user section
$this SeparatorDialog::destructor
}
method UnregisterDialog::objName {this args} {
# in this dialog the name cannot change
# so return the original name
if {$args == ""} {
return [[$this curObject] _displayName]
} else {
# nothing to set
}
}
method UnregisterDialog::load {this object} {
SeparatorDialog::load $this $object
set obj [$this curObject]
set type [$obj type]
$this title "Clear $type `[$obj _displayName]'"
if [$object editable] {
$this sensitive 1
} else {
$this sensitive 0
}
}
# Do not delete this line -- regeneration end marker