home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
openlocedi.tcl
< prev
next >
Wrap
Text File
|
1997-04-24
|
2KB
|
53 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)openlocedi.tcl /main/titanic/2
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)openlocedi.tcl /main/titanic/2 24 Apr 1997 Copyright 1994 Westmount Technology
# Start user added include file section
require "openloceda.tcl"
require "newopenloc.tcl"
# End user added include file section
require "custeditor.tcl"
Class OpenLocEditor : {CustEditor} {
constructor
method destructor
}
constructor OpenLocEditor {class this name} {
set this [CustEditor::constructor $class $this $name]
# Start constructor user section
$this menuHdlr [CustBrMenuHandler new defsced [$this moduleHdlr]]
[$this menuHdlr] setCurrentContext
$this setToolBarPresence uce
$this setContextAreaPresence uce
$this editorArea [OpenLocEdArea new [$this editorArea].editorArea]
[$this editorArea] selectionChanged "$this selectionChanged"
$this setMessageAreaPresence uce
NewOpenLocDialog new $this.newObject
$this.newObject editorArea [$this editorArea]
$this setWindowGeometry openlocs
# End constructor user section
return $this
}
method OpenLocEditor::destructor {this} {
# Start destructor user section
$this saveToolBarPresence uce
$this saveContextAreaPresence uce
$this saveMessageAreaPresence uce
$this saveWindowGeometry openlocs
[$this menuHdlr] delete
# End destructor user section
$this CustEditor::destructor
}
# Do not delete this line -- regeneration end marker