home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
fmdocedito.tcl
< prev
next >
Wrap
Text File
|
1996-06-12
|
2KB
|
64 lines
#---------------------------------------------------------------------------
#
# (c) Cadre Technologies Inc. 1996
#
# File: @(#)fmdocedito.tcl /main/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)fmdocedito.tcl /main/3 12 Jun 1996 Copyright 1996 Cadre Technologies Inc.
# Start user added include file section
# End user added include file section
require "doceditor.tcl"
Class FmDocEditor : {DocEditor} {
constructor
method destructor
method edit
method show
method print
}
constructor FmDocEditor {class this name_1} {
set this [DocEditor::constructor $class $this $name_1]
# Start constructor user section
$this printsIncluded y
$this name Fm
$this localSectionTypes \
"[$this localSectionTypes] Book Doc Mif Mml Toc"
# End constructor user section
return $this
}
method FmDocEditor::destructor {this} {
# Start destructor user section
# End destructor user section
$this DocEditor::destructor
}
method FmDocEditor::edit {this docSection} {
set cmd "[m4_path_name bin fmcomm] -e [$docSection docLocation]"
$docSection execute "$cmd" xtool
}
method FmDocEditor::show {this docSection} {
set cmd "[m4_path_name bin fmcomm] -s [$docSection docLocation]"
$docSection execute "$cmd" xtool
}
method FmDocEditor::print {this docSection} {
set cmd [list \
"[m4_path_name bin fmcomm] -p [$docSection docLocation]" \
[$docSection uiName] \
]
$docSection execute "$cmd"
}
# Do not delete this line -- regeneration end marker