home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)ccdeditor.tcl /main/titanic/6
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)ccdeditor.tcl /main/titanic/6 14 Jul 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
-
- require edcontrolp.tcl
- require dropccdare.tcl
-
- # End user added include file section
-
- require "diagramedi.tcl"
-
- Class CCDEditor : {DiagramEditor} {
- constructor
- method destructor
- }
-
- constructor CCDEditor {class this name} {
- set this [DiagramEditor::constructor $class $this $name]
- # Start constructor user section
-
- # take care of the ccd-specific entries
- $this menuHdlr [CustEdMenuHandler new {diagram ccd} [$this moduleHdlr]]
- [$this options] syntaxEntries {class process}
-
- $this title "Class Communication Diagram Editor"
- EdControlPanel new $this.c.r.panel
- $this panel $this.c.r.panel
- [$this panel] initialize ccd
-
- DropCCDArea new $this.c.r.ccd -panX 0 -panY 0 \
- -currentSymbol Select \
- -doubleClicked "$this open" \
- -destinationSet "CCDDRAGOBJECT drop STRING dummy"
- $this.c.r.ccd ed $this
- $this editorArea $this.c.r.ccd
- [$this editorArea] setSize 600 400
- [$this editorArea] possibleOperationsChanged \
- "$this enDisableMenuEntries"
-
- [$this panel] area [$this editorArea]
- $this createEdAreaPopUpMenu
- $this setWindowGeometry ccd
-
- # End constructor user section
- return $this
- }
-
- method CCDEditor::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this DiagramEditor::destructor
- }
-
- # Do not delete this line -- regeneration end marker
-
-