home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)ucdpanel.tcl /main/titanic/2
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)ucdpanel.tcl /main/titanic/2 21 Aug 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "extendedco.tcl"
-
- Class UCDPanel : {ExtendedControlPanel} {
- constructor
- method destructor
- method updateArea
- method createPanelExtension
- attribute stereoPanel
- }
-
- constructor UCDPanel {class this name} {
- set this [ExtendedControlPanel::constructor $class $this $name]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method UCDPanel::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this ExtendedControlPanel::destructor
- }
-
- method UCDPanel::updateArea {this args} {
- set stereoType [[$this stereoPanel] selected]
- if { $stereoType == "none" } {
- set stereoType ""
- }
-
- [$this _area] currentStereoType $stereoType
- }
-
- method UCDPanel::createPanelExtension {this} {
- $this stereoPanel [VerControlPanel new $this.stereo \
- -entrySet { none uses extends } \
- -tipSet { "No Generalization Stereotype" \
- "Generalization Stereotype ½uses╗" \
- "Generalization Stereotype ½extends╗" } \
- -selected none \
- -selectionChanged "$this updateArea"
- ]
- }
-
- # Do not delete this line -- regeneration end marker
-
-