home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)newmoduled.tcl /main/titanic/11
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)newmoduled.tcl /main/titanic/11 23 Sep 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "selectmodu.tcl"
-
- Class NewModuleDialog : {SelectModuleDialog} {
- constructor
- method destructor
- method handleSuppModsStateChanged
- }
-
- constructor NewModuleDialog {class this name} {
- set this [SelectModuleDialog::constructor $class $this $name]
- # Start constructor user section
-
- CheckButton new $this.c.suppMods \
- -state 0 \
- -label "Show Supporting Modules" \
- -stateChanged "$this handleSuppModsStateChanged"
- [$this filter] isSupportingModule 1
-
- # End constructor user section
- return $this
- }
-
- method NewModuleDialog::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this SelectModuleDialog::destructor
- }
-
- method NewModuleDialog::handleSuppModsStateChanged {this} {
- [$this filter] isSupportingModule \
- [expr {[$this.c.suppMods state] ? 0 : 1}]
- set dir [[$this modulesSelDlg] directory]
-
- $this updateView $dir
- }
-
- # Do not delete this line -- regeneration end marker
-
-