home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)vbviewmenu.tcl /main/titanic/5
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)vbviewmenu.tcl /main/titanic/5 27 Nov 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
-
- Class VBViewMenuProcs : {Object} {
- constructor
- method destructor
- }
-
- constructor VBViewMenuProcs {class this name} {
- set this [Object::constructor $class $this $name]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method VBViewMenuProcs::destructor {this} {
- # Start destructor user section
- # End destructor user section
- }
-
- proc VBViewMenuProcs::updateView {} {
-
- busy {
- foreach root [[.main infoView] root] {
- $root delete
- }
- [[.main infoView] node] contents ""
-
- [.main infoView] setVersionInfo [.main currentVersion]
-
- # workaround for update scrollbars
- [.main infoView] scale [[.main infoView] scale]
- }
- }
-
- proc VBViewMenuProcs::toggleToolbar {} {
- .main toolBarPresent [[.main menuBar].view.menu.toolbar state]
- }
-
- proc VBViewMenuProcs::toggleContextArea {} {
- .main contextAreaPresent [[.main menuBar].view.menu.contextarea state]
- }
-
- proc VBViewMenuProcs::toggleMessageArea {} {
- .main messageAreaPresent [[.main menuBar].view.menu.messagearea state]
-
- }
-
- # Do not delete this line -- regeneration end marker
-
-