home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)mtmergedia.tcl /main/titanic/5
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)mtmergedia.tcl /main/titanic/5 27 Nov 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "mergedialo.tcl"
-
- Class MTMergeDialog : {MergeDialog} {
- constructor
- method destructor
- method handleOK
- attribute mtVersion
- attribute browsObject
- }
-
- constructor MTMergeDialog {class this name} {
- set this [MergeDialog::constructor $class $this $name]
- # Start constructor user section
- $this helpPressed {.main helpOnName createMergeLink}
- # End constructor user section
- return $this
- }
-
- method MTMergeDialog::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this MergeDialog::destructor
- }
-
- method MTMergeDialog::handleOK {this} {
- busy {
- foreach mtVersion [$this mtVersion] {
- MTProcs::createMergeLink $mtVersion [.main mergeLinkComment]
- $mtVersion delete
- }
-
- set reload 0
- foreach browsObject [$this browsObject] {
- if [isCommand $browsObject] {
- $browsObject delete
- set reload 1
- }
- }
-
- if {$reload == 1} {
- MTFileMenuProcs::reload
- }
- }
- }
-
- # Do not delete this line -- regeneration end marker
-
-