home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)mergedialo.tcl /main/titanic/2
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)mergedialo.tcl /main/titanic/2 14 Nov 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
-
- Class MergeDialog : {EntryDialog} {
- constructor
- method destructor
- method handleOK
- attribute from
- attribute to
- }
-
- constructor MergeDialog {class this name} {
- set this [EntryDialog::constructor $class $this $name]
- # Start constructor user section
- $this modal yes
- $this message "Comment: "
- $this okPressed {%this handleOK}
- $this title "Merge Version"
- # End constructor user section
- return $this
- }
-
- method MergeDialog::destructor {this} {
- # Start destructor user section
- # End destructor user section
- }
-
- method MergeDialog::handleOK {this} {
-
- [[$this to] version] createMergeLink [[$this from] version] [$this entry]
- set curSet [[.main infoView] mergeArrowSet]
- append curSet " [$this from] [$this to] "
- [$this to] update
- [.main infoView] mergeArrowSet $curSet
-
- }
-
- # Do not delete this line -- regeneration end marker
-
-