home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cadre Technologies Inc. 1996
- #
- # File: @(#)graphvdbob.tcl 1.11
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)graphvdbob.tcl 1.11 12 Feb 1996 Copyright 1996 Cadre Technologies Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "filevobj.tcl"
-
- Class GraphVDbObj : {FileVObj Graph} {
- method destructor
- constructor
- method browserObjType
- method editFile
- method showFile
- }
-
- method GraphVDbObj::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this FileVObj::destructor
- }
-
- constructor GraphVDbObj {class this name} {
- set this [Graph::constructor $class $this $name]
- set this [FileVObj::constructor $class $this $name]
- return $this
- }
-
- selfPromoter Graph {this} {
- GraphVDbObj promote $this
- }
-
- proc GraphVDbObj::associations {} {
- return "[FileVObj::associations]"
- }
-
- method GraphVDbObj::browserObjType {this} {
- return "GraphVDbObj"
- }
-
- proc GraphVDbObj::childTypes {assoc} {
- if {[lsearch -exact "[GraphVDbObj::associations]" "$assoc"] == -1} {
- return ""
- }
- return "[BrowserProcs::childTypes $assoc]"
- }
-
- proc GraphVDbObj::controlledLists {} {
- return "[FileVObj::controlledLists]"
- }
-
- proc GraphVDbObj::infoProperties {} {
- return "[FileVObj::infoProperties]"
- }
-
- method GraphVDbObj::editFile {this {confV ""} {phaseV ""} {sysV ""}} {
- set file [$this file]
- set fileVId [$this identity]
- if {"$sysV" == ""} {
- set sysV [$this getParent SystemVersion]
- }
- set sysVId [$sysV identity]
- if {"$confV" == ""} {
- set confV [$this getParent ConfigVersion]
- }
- set confVId [$confV identity]
- set script "SystemUtilities::fork otk \
- ude -c [list [get_comm_name]] $fileVId $sysVId $confVId"
- $wmttoolObj startCommand tcl \
- "$script" "" \
- "Starting ude for '[$file qualifiedName :].[$file type]'" \
- {0 0} 1
- }
-
- method GraphVDbObj::showFile {this {confV ""} {phaseV ""} {sysV ""}} {
- set file [$this file]
- set fileVId [$this identity]
- if {"$sysV" == ""} {
- set sysV [$this getParent SystemVersion]
- }
- set sysVId [$sysV identity]
- if {"$confV" == ""} {
- set confV [$this getParent ConfigVersion]
- }
- set confVId [$confV identity]
- set script \
- "SystemUtilities::fork otk \
- ude -c [list [get_comm_name]] -r $fileVId $sysVId $confVId"
- $wmttoolObj startCommand tcl \
- "$script" "" \
- "Starting ude for '[$file qualifiedName :].[$file type]'" \
- {0 0} 1
- }
-
- # Do not delete this line -- regeneration end marker
-
-