home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)ccdestroyb.tcl /main/titanic/2
- # Author: <generated>
- # Description: VCM integration file
- #---------------------------------------------------------------------------
- # SccsId = @(#)ccdestroyb.tcl /main/titanic/2 17 Apr 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require_module_file "vssysdialo.tcl" vcm
-
- Class CCDestroyBranchDialog : {VSSysDialog YesNoWarningDialog} {
- method destructor
- constructor
- method createInterface
- method popUp
- attribute branch
- }
-
- method CCDestroyBranchDialog::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this VSSysDialog::destructor
- }
-
- constructor CCDestroyBranchDialog {class this name} {
- set this [YesNoWarningDialog::constructor $class $this $name]
- $this createInterface
- return $this
- }
-
- method CCDestroyBranchDialog::createInterface {this} {
- $this title "Destroy Branch"
- $this delHelpButton
-
- $this yesPressed {
- %this processFiles
- }
- }
-
- method CCDestroyBranchDialog::popUp {this} {
- $this selectedFiles [.main selectedObjSet]
-
- $this vsMethod {
- $file destroyBranch [$this branch]
- }
-
- $this needsUpdate 1
- $this YesNoWarningDialog::popUp
- }
-
- # Do not delete this line -- regeneration end marker
-
-