home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
separatord.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
2KB
|
69 lines
#---------------------------------------------------------------------------
#
# (c) Cadre Technologies Inc. 1996
#
# File: @(#)separatord.tcl 1.4
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)separatord.tcl 1.4 12 Mar 1996 Copyright 1996 Cadre Technologies Inc.
# Start user added include file section
# End user added include file section
require "menudefine.tcl"
Class SeparatorDialog : {MenuDefineDialog} {
constructor
method destructor
method objName
method save
}
constructor SeparatorDialog {class this name} {
set this [MenuDefineDialog::constructor $class $this $name]
# Start constructor user section
# End constructor user section
return $this
}
method SeparatorDialog::destructor {this} {
# Start destructor user section
# End destructor user section
$this MenuDefineDialog::destructor
}
method SeparatorDialog::objName {this args} {
if {$args == ""} {
return Separator
} else {
# set nothing (is always 'Separator'
}
}
method SeparatorDialog::save {this popDown} {
set obj [$this curObject]
$obj scope [$this objScope]
$obj visible [$this objVisible]
$obj readOnly [$this objReadOnly]
$obj displayName [$this objName]
$obj updateView
[.main editorArea] isChanged 1
if {$popDown == 1} {
$this popDown
}
# reset redefined attribute
[$this curObject] redefined 0
return 1
}
# Do not delete this line -- regeneration end marker