home *** CD-ROM | disk | FTP | other *** search
/ PC World 1997 November / PCWorld_1997-11_cd.bin / software / programy / komix / DATA.Z / drsdefs.tcl < prev    next >
Text File  |  1997-05-20  |  9KB  |  324 lines

  1. # Copyright (c) 1997 by Cayenne Software Inc.
  2. #
  3. # This software is furnished under a license and may be used only in
  4. # accordance with the terms of such license and with the inclusion of
  5. # the above copyright notice. This software or any other copies thereof
  6. # may not be provided or otherwise made available to any other person.
  7. # No title to and ownership of the software is hereby transferred.
  8. #
  9. # The information in this software is subject to change without notice
  10. # and should not be construed as a commitment by Cayenne Software Inc
  11. #
  12. #---------------------------------------------------------------------------
  13. #
  14. #       File            : @(#)drsdefs.tcl    /main/hindenburg/17 23 Jan 1997
  15. #       Author          : H. Broeze
  16. #       Original date   : 14 Januari 1997
  17. #       Description     : DOORS integration class definitions
  18. #
  19. #---------------------------------------------------------------------------
  20. #
  21.  
  22.  
  23. global FORMALMODULE
  24. global DxlError
  25. set  DxlError 0
  26. global frozenFiles
  27. set frozenFiles ""
  28. global notIntQualFiles
  29. set notIntQualFiles ""
  30.  
  31. set formMod [m4_var get M4_doors_formal_module]
  32. if ![llength $formMod] {
  33.     m4_var set M4_doors_formal_module ObjectTeam
  34.  
  35. set linkMod [m4_var get M4_doors_trace_link_module]
  36. if ![llength $linkMod] {
  37.     m4_var set M4_doors_trace_link_module OTTrace
  38. }
  39.  
  40. set linkMod [m4_var get M4_doors_connections_link_module]
  41. if ![llength $linkMod] {
  42.     m4_var set M4_doors_connections_link_module OTConnections
  43. }
  44.  
  45. set doorsSections [m4_var get M4_doors_section_mapping]
  46. if ![llength $doorsSections] {
  47.     m4_var set M4_doors_section_mapping {\
  48.         etd "Event Trace Diagram" \
  49.         ucd "Use Case Diagram" \
  50.         std "State Transition Diagrams" \
  51.         cad "Class Association Diagram"\
  52.         dfd "Data Flow Diagram"\
  53.         ccd "Class Communication Diagram"\
  54.         mgd "Message Generalization Diagram"\
  55.         c++ "C++-Source File"\
  56.         h++ "C++-Header File"\
  57.         UseCase "Use Case"\
  58.         lex++ "Lex File Section"\
  59.     }
  60. }
  61.  
  62.  
  63. set intProp [m4_var get M4_doors_integrated_properties]
  64. if ![llength $intProp] {
  65.     m4_var set M4_doors_integrated_properties freeText
  66.  
  67. set objText [m4_var get M4_doors_objecttext_property]
  68. if ![llength $objText] {
  69.     m4_var set M4_doors_objecttext_property freeText
  70.  
  71. source [m4_path_name tcl platform.tcl]
  72.  
  73. Class DrsDxlCommand : {GCObject} {
  74.         constructor
  75.         method destructor
  76.         method execute
  77.         method newCommand
  78.         method command
  79.         method doorsInitialize
  80.         method doorsObjectTypeCreate
  81.     method doorsViewSave
  82.         method doorsObjectAttributeCreate
  83.         method doorsProjConfigure
  84.     method doorsModuleConfigure
  85.         method doorsModuleEdit
  86.         method doorsObjectFind
  87.         method doorsObjectSetCurrent
  88.         method doorsObjectDelete
  89.         method doorsObjectAttrSetValue
  90.         method doorsObjectAttrAppendValue
  91.         method doorsObjectCreateTopObject
  92.         method doorsObjectCreateChild
  93.         method doorsObjectAttrSave
  94.         method doorsObjectDeleteLinks
  95.         method doorsObjectCreateLink
  96.         method doorsResultSave
  97.         method doorsModuleSave
  98.         method doorsFilterOn
  99.         method doorsFilterOff
  100.         method doorsObjectShow
  101.         method doorsObjectHide
  102.         attribute channel
  103.         attribute firstOut
  104.         attribute varCounter
  105.         attribute mustBeDone
  106.         attribute commandSection
  107.         attribute oleObject
  108. }
  109.  
  110.  
  111.  
  112. Class DrsObject : {GCObject} {
  113.         constructor
  114.         method destructor
  115.         method levelName
  116.         method levelType
  117.         method newDxlCommand
  118.         method getDxlCommand
  119.         method sendDxlCommand
  120.         method removeDoorsRefFromCorp
  121.         method addDoorsRefToCorp
  122.         method filter
  123.         attribute level
  124.         attribute doorsModule
  125.         attribute corporate
  126.         attribute dxlCommand
  127. }
  128.  
  129. Class DrsTreeObject : {DrsObject} {
  130.         constructor
  131.         method destructor
  132.         method getParentPropertyObject
  133.         method getPropertyObject
  134.         method synObjects
  135.     method getChildLevels
  136.         method saveReference
  137.         method deleteObsolete
  138.         method show
  139.         method filter
  140.         method getLevelV
  141.     method getTimeStampObject
  142.         attribute childLevels
  143.         attribute propertyObject
  144. }
  145.  
  146. Class DrsLevelObject : {DrsTreeObject} {
  147.         method destructor
  148.         constructor
  149.         method install
  150.         method lock
  151.         method isIntegrated
  152.         method updateObject
  153.     method getEditorTypes
  154.         method copyProperties
  155.         method createLevel
  156.         method saveReference
  157.         method deleteObject
  158.         method deleteLevel
  159.         method removeReference
  160.         method removeRefObject
  161.         method getDoorsParObjId
  162.         method getLevelV
  163.         method isAvailable
  164.     method getConfigVersion
  165.         attribute levelId
  166.         attribute configV
  167.         attribute versionId
  168.         attribute levelVersions
  169.         attribute parentLevel
  170.         attribute parentLevelId
  171. }
  172.  
  173. Class DrsLinkableObject : {DrsLevelObject} {
  174.         constructor
  175.         method destructor
  176.         method lock
  177.         method isIntegrated
  178.         method saveReference
  179.         method linkToPrevPhase
  180.         attribute locked
  181. }
  182.  
  183.  
  184. Class DrsSMModelObject : {Object} {
  185.         method destructor
  186.         constructor
  187.         method initializeSM
  188.         method getItemDefs
  189.         method getSMObjects
  190.         method getChildObjects
  191.         method installRefs
  192.     method localDefined
  193.         method showClassFeatures
  194.         method showSMObjects
  195.     method getSMModel
  196.         attribute childObjects
  197.         attribute smObjects
  198.         attribute itemDefs
  199.         attribute initializedSM
  200.         attribute smModel
  201. }
  202.  
  203. Class DrsSystemObject : {DrsLinkableObject DrsSMModelObject} {
  204.         method destructor
  205.         constructor
  206.         method childLevelVersions
  207.         method getClassFeatures
  208.         method getLocalFileVersions
  209.     method getMatrices
  210.         method getPhase
  211.     method getChildLevels
  212.         method installClassFeatures
  213.         attribute classFeatures
  214.         attribute localFileVersions
  215.         attribute matrices
  216. }
  217.  
  218. Class DrsPhaseObject : {DrsSMModelObject DrsLevelObject} {
  219.         method destructor
  220.         constructor
  221.         method childLevelVersions
  222.         method getPhase
  223. }
  224.  
  225.  
  226. Class DrsProjObject : {DrsTreeObject} {
  227.         method destructor
  228.         constructor
  229.         method install
  230.         method synObjects
  231.         method deleteObject
  232.         method childLevelVersions
  233.         attribute parentLevel
  234. }
  235.  
  236.  
  237. Class DrsCorpObject : {DrsLevelObject} {
  238.         method destructor
  239.         constructor
  240.         method install
  241.         method synObjects
  242.         method deleteObject
  243.         method filter
  244. }
  245.  
  246.  
  247. Class DrsGroupedObject : {DrsLinkableObject} {
  248.         constructor
  249.         method destructor
  250.         method deleteLevel
  251.         method getDoorsParObjId
  252.         method removeRefObject
  253.         method saveReference
  254.         method show
  255.         method synObjects
  256. }
  257.  
  258.  
  259. Class DrsFileObject : {DrsGroupedObject DrsSMModelObject} {
  260.         method destructor
  261.         constructor
  262.         method getPhase
  263.         method levelName
  264.         method levelType
  265.     method getEditorTypes
  266.         method show
  267.     method getClassIdInPrevPhase
  268. }
  269.  
  270.  
  271. Class DrsQObject : {Object} {
  272.         constructor
  273.         method destructor
  274.         method getDoorsParObjId
  275.         method saveReference
  276.         method show
  277.         attribute qualifier
  278.         method getParentPropertyObject
  279. }
  280.  
  281.  
  282. Class DrsQFileObject : {DrsQObject DrsFileObject} {
  283.         constructor
  284.         method destructor
  285.         method promoter
  286.         method saveReference
  287.         method show
  288. }
  289.  
  290. Class DrsItemObject : {DrsGroupedObject} {
  291.         method destructor
  292.         constructor
  293.         method getLevelV
  294.         method getPhase
  295.         method getPropertyObject
  296.     method getTimeStampObject
  297.         method isAvailable
  298.     attribute item
  299. }
  300.  
  301. Class DrsSMItemObject : {DrsItemObject} {
  302.         method destructor
  303.         constructor
  304.     method linkComponents
  305.         method levelName
  306.     method getEditorTypes
  307.         method levelType
  308.         attribute smObject
  309.     attribute semTypeName
  310. }
  311.  
  312. Class DrsQItemObject : {DrsQObject DrsItemObject} {
  313.         constructor
  314.         method destructor
  315.         method saveReference
  316.     method show
  317.         method levelName
  318.     method getEditorTypes
  319.         method levelType
  320. }
  321.