home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
moduleedit.tcl
< prev
next >
Wrap
Text File
|
1997-10-03
|
2KB
|
61 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)moduleedit.tcl /main/titanic/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)moduleedit.tcl /main/titanic/3 3 Oct 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
require "moduleedar.tcl"
require "newmoduled.tcl"
# End user added include file section
require "custeditor.tcl"
Class ModuleEditor : {CustEditor} {
constructor
method destructor
method reload
}
constructor ModuleEditor {class this name} {
set this [CustEditor::constructor $class $this $name]
# Start constructor user section
$this menuHdlr [CustBrMenuHandler new modced [$this moduleHdlr]]
$this setToolBarPresence uce
[$this menuHdlr] setCurrentContext
$this setContextAreaPresence uce
$this editorArea [ModuleEdArea new [$this editorArea].editorArea]
[$this editorArea] selectionChanged "$this selectionChanged"
# create popup menu for view
ViewPopUpMenu new [$this editorArea].pop -poppedUp {
%this entrySet [[.main menuHdlr] validPopUpEntrySet]
}
$this setMessageAreaPresence uce
$this setWindowGeometry mod
# End constructor user section
return $this
}
method ModuleEditor::destructor {this} {
# Start destructor user section
$this saveToolBarPresence uce
$this saveContextAreaPresence uce
$this saveMessageAreaPresence uce
$this saveWindowGeometry mod
[$this menuHdlr] delete
# End destructor user section
$this CustEditor::destructor
}
method ModuleEditor::reload {this} {
ModuleDB::rehash
$this edit [$this object]
}
# Do not delete this line -- regeneration end marker