home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
vieweditor.tcl
< prev
next >
Wrap
Text File
|
1997-03-14
|
2KB
|
60 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)vieweditor.tcl /main/titanic/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)vieweditor.tcl /main/titanic/3 14 Mar 1997 Copyright 1994 Westmount Technology
# Start user added include file section
require "viewedarea.tcl"
# End user added include file section
require "custeditor.tcl"
Class ViewEditor : {CustEditor} {
constructor
method destructor
}
constructor ViewEditor {class this name} {
set this [CustEditor::constructor $class $this $name]
# Start constructor user section
$this menuHdlr [CustBrMenuHandler new viewced [$this moduleHdlr]]
[$this menuHdlr] setCurrentContext
$this initObjTypeInformation
$this setToolBarPresence uce
set arbiter [.main menuBar].view.menu.viewmodearbiter
if [isCommand $arbiter] {
$arbiter currentButton 2
}
$this setContextAreaPresence uce
$this editorArea [ViewEdArea new [$this editorArea].editorArea]
[$this editorArea] selectionChanged "$this selectionChanged"
$this setMessageAreaPresence uce
$this setWindowGeometry vie
# create popup menu for view
ViewPopUpMenu new [$this editorArea].pop -poppedUp {
%this entrySet [[.main menuHdlr] validPopUpEntrySet]
}
# End constructor user section
return $this
}
method ViewEditor::destructor {this} {
# Start destructor user section
$this saveToolBarPresence uce
$this saveContextAreaPresence uce
$this saveMessageAreaPresence uce
$this saveWindowGeometry vie
[$this menuHdlr] delete
# End destructor user section
$this CustEditor::destructor
}
# Do not delete this line -- regeneration end marker