home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)shctrlclas.tcl /main/titanic/2
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)shctrlclas.tcl /main/titanic/2 22 Apr 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require_module_file "showroleri.tcl" security
-
- Class ShCtrlClassRoleRightDlg : {ShowRoleRightsDlg} {
- constructor
- method destructor
- method getObjectList
- method initObjectSet
- }
-
- constructor ShCtrlClassRoleRightDlg {class this name} {
- set this [ShowRoleRightsDlg::constructor $class $this $name]
- # Start constructor user section
- $this initObjectSet
- # End constructor user section
- return $this
- }
-
- method ShCtrlClassRoleRightDlg::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this ShowRoleRightsDlg::destructor
- }
-
- method ShCtrlClassRoleRightDlg::getObjectList {this} {
- set list {}
- [$this selectedSet] foreach obj {
- lappend list "\"[$obj name]\" ControlledClass"
- }
- return $list
- }
-
- method ShCtrlClassRoleRightDlg::initObjectSet {this} {
-
- set browserObject [lindex [.main selectedObjSet] 0]
- [$this selectedSet] contents [$browserObject controlledClasses]
- }
-
- # Do not delete this line -- regeneration end marker
-
-