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