home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)copyspecse.tcl /main/titanic/2
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)copyspecse.tcl /main/titanic/2 15 May 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- require config.tcl
- require "copyeditor.tcl"
- require "newcopydef.tcl"
- # End user added include file section
-
- require "custeditor.tcl"
-
- # This is the copy specs editor. It
- # presents a browse view with file types, assigned
- # gdr files and descriptions. Double clicking
- # allows modifying the gdr file.
-
- Class CopySpecsEditor : {CustEditor} {
- constructor
- method destructor
- }
-
- constructor CopySpecsEditor {class this name} {
- set this [CustEditor::constructor $class $this $name]
- # Start constructor user section
- # init object type information to determine available file types
- $this initObjTypeInformation
- $this menuHdlr [CustBrMenuHandler new defsced [$this moduleHdlr]]
- $this setToolBarPresence uce
- [$this menuHdlr] setCurrentContext
- $this setContextAreaPresence uce
- $this editorArea [CopyEditorArea new [$this editorArea].editorArea]
- [$this editorArea] selectionChanged "$this selectionChanged"
- $this setMessageAreaPresence uce
- NewCopyDefDialog new $this.newObject
- $this setWindowGeometry copyspecs
- # End constructor user section
- return $this
- }
-
- method CopySpecsEditor::destructor {this} {
- # Start destructor user section
- $this saveToolBarPresence uce
- $this saveContextAreaPresence uce
- $this saveMessageAreaPresence uce
- $this saveWindowGeometry copyspecs
- [$this menuHdlr] delete
- # End destructor user section
- $this CustEditor::destructor
- }
-
- # Do not delete this line -- regeneration end marker
-
-