home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
doceditor.tcl
< prev
next >
Wrap
Text File
|
1997-09-25
|
3KB
|
106 lines
#---------------------------------------------------------------------------
#
# (c) Cadre Technologies Inc. 1996
#
# File: @(#)doceditor.tcl /main/titanic/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)doceditor.tcl /main/titanic/3 25 Sep 1997 Copyright 1996 Cadre Technologies Inc.
# Start user added include file section
require_module_file "c++section.tcl" docwriter
require_module_file "doctextsec.tcl" docwriter
require_module_file "datasectio.tcl" docwriter
require_module_file "epsfsectio.tcl" docwriter
require_module_file "epsisectio.tcl" docwriter
require_module_file "epssection.tcl" docwriter
require_module_file "esqlc++sec.tcl" docwriter
require_module_file "h++section.tcl" docwriter
require_module_file "lex++secti.tcl" docwriter
require_module_file "makefilese.tcl" docwriter
require_module_file "maketempla.tcl" docwriter
require_module_file "pssection.tcl" docwriter
require_module_file "tclsection.tcl" docwriter
require_module_file "ximagesect.tcl" docwriter
require_module_file "yacc++sect.tcl" docwriter
require_module_file "sql_script.tcl" docwriter
require_module_file "itempropse.tcl" docwriter
require_module_file "filepropse.tcl" docwriter
# End user added include file section
Class DocEditor : {Object} {
constructor
method destructor
method configDirectory
method edit
method show
method print
method preview
method connect
method disconnect
attribute name
attribute version
attribute printsIncluded
attribute localSectionTypes
attribute dirExtension
}
constructor DocEditor {class this name_1} {
set this [Object::constructor $class $this $name_1]
# Start constructor user section
$this localSectionTypes {Doctext Ps Eps Epsf Epsi Data Ximage}
# End constructor user section
return $this
}
method DocEditor::destructor {this} {
# Start destructor user section
# End destructor user section
}
method DocEditor::configDirectory {this directory} {
# check if directory exists
set error ""
if {![catch {set ret [BasicFS::makeDirAll $directory]} error]} {
set error ""
}
return $error
}
method DocEditor::edit {this docSection} {
# default no edit possible
wmtkerror "No edit possible with this editor"
}
method DocEditor::show {this docSection} {
# default no show possible
wmtkerror "No show possible with this editor"
}
method DocEditor::print {this docSection} {
# default no print possible
wmtkerror "No print possible with this editor"
}
method DocEditor::preview {this docSection} {
# default no preview possible
wmtkerror "No preview possible with this editor"
}
method DocEditor::connect {this} {
# empty
}
method DocEditor::disconnect {this} {
# empty
}
# Do not delete this line -- regeneration end marker