home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)edctrlclas.tcl /main/titanic/2
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)edctrlclas.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 "editroleri.tcl" security
-
- Class EdCtrlClassRoleRightDlg : {EditRoleRightsDlg} {
- constructor
- method destructor
- method getObjectList
- method initObjectSet
- }
-
- constructor EdCtrlClassRoleRightDlg {class this name} {
- set this [EditRoleRightsDlg::constructor $class $this $name]
- # Start constructor user section
- $this initObjectSet
- $this init
- # End constructor user section
- return $this
- }
-
- method EdCtrlClassRoleRightDlg::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this EditRoleRightsDlg::destructor
- }
-
- method EdCtrlClassRoleRightDlg::getObjectList {this} {
-
- set list {}
- [$this selectedSet] foreach obj {
- lappend list "\"[$obj name]\" ControlledClass"
- }
- return $list
- }
-
- method EdCtrlClassRoleRightDlg::initObjectSet {this} {
-
- set browserObject [lindex [.main selectedObjSet] 0]
- [$this selectedSet] contents [$browserObject controlledClasses]
- }
-
- # Do not delete this line -- regeneration end marker
-
-