home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cadre Technologies Inc. 1996
- #
- # File: @(#)doceditor.tcl /main/hindenburg/1
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)doceditor.tcl /main/hindenburg/1 10 Oct 1996 Copyright 1996 Cadre Technologies Inc.
-
- # Start user added include file section
- require "c++section.tcl"
- require "doctextsec.tcl"
- require "datasectio.tcl"
- require "epsfsectio.tcl"
- require "epsisectio.tcl"
- require "epssection.tcl"
- require "esqlc++sec.tcl"
- require "h++section.tcl"
- require "lex++secti.tcl"
- require "makefilese.tcl"
- require "maketempla.tcl"
- require "pssection.tcl"
- require "tclsection.tcl"
- require "ximagesect.tcl"
- require "yacc++sect.tcl"
- require "sql_script.tcl"
- require "itempropse.tcl"
- require "filepropse.tcl"
- # 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 ""
- set crntPath [pwd]
- if [catch {cd $directory}] {
- catch {mkdir -path [list $directory]} error
- } else {
- cd $crntPath
- }
- 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
-
-