home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
fortexprom.tcl
< prev
next >
Wrap
Text File
|
1997-09-11
|
3KB
|
116 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)fortexprom.tcl /main/titanic/1
# Author: heli
# Description: extra selfpromoters for DB classes in Forte
#---------------------------------------------------------------------------
# @(#)fortexprom.tcl /main/titanic/1 11 Sep 1997 Copyright 1997 Cayenne Software Inc.
global mostDerivedOOPL
if [isCommand CMDatabaseClass] {
Class FTGDatabaseClassD : {FTGClass CMDatabaseClass} {
}
} else {
Class FTGDatabaseClassD : {FTGClass OPDatabaseClass} {
}
}
set mostDerivedOOPL(OPDatabaseClass) FTGDatabaseClassD
selfPromoter OPDatabaseClass {this} {
FTGDatabaseClassD promote $this
}
if [isCommand CMDBLinkClass] {
Class FTGDBLinkClassD : {FTGLinkClass CMDBLinkClass} {
}
} else {
Class FTGDBLinkClassD : {FTGLinkClass OPDBLinkClass} {
}
}
set mostDerivedOOPL(OPDBLinkClass) FTGDBLinkClassD
selfPromoter OPDBLinkClass {this} {
FTGDBLinkClassD promote $this
}
if [isCommand CMDBDataAttr] {
Class FTGDBDataAttrD : {FTGDataAttr CMDBDataAttr} {
}
} else {
Class FTGDBDataAttrD : {FTGDataAttr OPDBDataAttr} {
}
}
set mostDerivedOOPL(OPDBDataAttr) FTGDBDataAttrD
selfPromoter OPDBDataAttr {this} {
FTGDBDataAttrD promote $this
}
if [isCommand CMDBAssocAttr] {
Class FTGDBAssocAttrD : {FTGAssocAttr CMDBAssocAttr} {
}
} else {
Class FTGDBAssocAttrD : {FTGAssocAttr OPDBAssocAttr} {
}
}
set mostDerivedOOPL(OPDBAssocAttr) FTGDBAssocAttrD
selfPromoter OPDBAssocAttr {this} {
FTGDBAssocAttrD promote $this
}
if [isCommand CMDBLinkAttr] {
Class FTGDBLinkAttrD : {FTGLinkAttr CMDBLinkAttr} {
}
} else {
Class FTGDBLinkAttrD : {FTGLinkAttr OPDBLinkAttr} {
}
}
set mostDerivedOOPL(OPDBLinkAttr) FTGDBLinkAttrD
selfPromoter OPDBLinkAttr {this} {
FTGDBLinkAttrD promote $this
}
if [isCommand CMDBReverseLinkAttr] {
Class FTGDBReverseLinkAttrD : {FTGReverseLinkAttr CMDBReverseLinkAttr} {
}
} else {
Class FTGDBReverseLinkAttrD : {FTGReverseLinkAttr OPDBReverseLinkAttr} {
}
}
set mostDerivedOOPL(OPDBReverseLinkAttr) FTGDBReverseLinkAttrD
selfPromoter OPDBReverseLinkAttr {this} {
FTGDBReverseLinkAttrD promote $this
}
if [isCommand CMDBQualAssocAttr] {
Class FTGDBQualAssocAttrD : {FTGQualAssocAttr CMDBQualAssocAttr} {
}
} else {
Class FTGDBQualAssocAttrD : {FTGQualAssocAttr OPDBQualAssocAttr} {
}
}
set mostDerivedOOPL(OPDBQualAssocAttr) FTGDBQualAssocAttrD
selfPromoter OPDBQualAssocAttr {this} {
FTGDBQualAssocAttrD promote $this
}
if [isCommand CMDBQualLinkAttr] {
Class FTGDBQualLinkAttrD : {FTGQualLinkAttr CMDBQualLinkAttr} {
}
} else {
Class FTGDBQualLinkAttrD : {FTGQualLinkAttr OPDBQualLinkAttr} {
}
}
set mostDerivedOOPL(OPDBQualLinkAttr) FTGDBQualLinkAttrD
selfPromoter OPDBQualLinkAttr {this} {
FTGDBQualLinkAttrD promote $this
}