home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)ccsetconfi.tcl /main/hindenburg/3
- # Author: <generated>
- # Description: VCM integration file
- #---------------------------------------------------------------------------
- # SccsId = @(#)ccsetconfi.tcl /main/hindenburg/3 18 Mar 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
-
- # This dialog asks whether the config spec
- # in file should be set for view. It performs the action
- # if yes is pressed.
-
- Class CCSetConfigSpecDialog : {QuestionDialog} {
- constructor
- method destructor
- method createInterface
- attribute view
- attribute file
- }
-
- constructor CCSetConfigSpecDialog {class this name} {
- set this [QuestionDialog::constructor $class $this $name]
- # Start constructor user section
- $this createInterface
- # End constructor user section
- return $this
- }
-
- method CCSetConfigSpecDialog::destructor {this} {
- # Start destructor user section
- # End destructor user section
- }
-
- method CCSetConfigSpecDialog::createInterface {this} {
- $this title "Set Config Spec"
- $this message "Set Config Spec for view [$this view]?"
- $this cancelPressed {
- BasicFS::removeFile [%this file]
- %this delete
- }
-
- $this okPressed {
- CCCommand::setConfigSpec [%this view] [%this file]
- BasicFS::removeFile [%this file]
- %this delete
- .main updateView
- }
-
- $this delHelpButton
- }
-
- # Do not delete this line -- regeneration end marker
-
-