home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
stxprom.tcl
< prev
next >
Wrap
Text File
|
1997-10-09
|
3KB
|
116 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)stxprom.tcl /main/titanic/1
# Author: mahe
# Description: extra selfpromoters for DB classes in Smalltalk
#---------------------------------------------------------------------------
# @(#)stxprom.tcl /main/titanic/1 9 Oct 1997 Copyright 1997 Cayenne Software Inc.
global mostDerivedOOPL
if [isCommand CMDatabaseClass] {
Class STGDatabaseClassD : {STGClass CMDatabaseClass} {
}
} else {
Class STGDatabaseClassD : {STGClass OPDatabaseClass} {
}
}
set mostDerivedOOPL(OPDatabaseClass) STGDatabaseClassD
selfPromoter OPDatabaseClass {this} {
STGDatabaseClassD promote $this
}
if [isCommand CMDBLinkClass] {
Class STGDBLinkClassD : {STGLinkClass CMDBLinkClass} {
}
} else {
Class STGDBLinkClassD : {STGLinkClass OPDBLinkClass} {
}
}
set mostDerivedOOPL(OPDBLinkClass) STGDBLinkClassD
selfPromoter OPDBLinkClass {this} {
STGDBLinkClassD promote $this
}
if [isCommand CMDBDataAttr] {
Class STGDBDataAttrD : {STGDataAttr CMDBDataAttr} {
}
} else {
Class STGDBDataAttrD : {STGDataAttr OPDBDataAttr} {
}
}
set mostDerivedOOPL(OPDBDataAttr) STGDBDataAttrD
selfPromoter OPDBDataAttr {this} {
STGDBDataAttrD promote $this
}
if [isCommand CMDBAssocAttr] {
Class STGDBAssocAttrD : {STGAssocAttr CMDBAssocAttr} {
}
} else {
Class STGDBAssocAttrD : {STGAssocAttr OPDBAssocAttr} {
}
}
set mostDerivedOOPL(OPDBAssocAttr) STGDBAssocAttrD
selfPromoter OPDBAssocAttr {this} {
STGDBAssocAttrD promote $this
}
if [isCommand CMDBLinkAttr] {
Class STGDBLinkAttrD : {STGLinkAttr CMDBLinkAttr} {
}
} else {
Class STGDBLinkAttrD : {STGLinkAttr OPDBLinkAttr} {
}
}
set mostDerivedOOPL(OPDBLinkAttr) STGDBLinkAttrD
selfPromoter OPDBLinkAttr {this} {
STGDBLinkAttrD promote $this
}
if [isCommand CMDBReverseLinkAttr] {
Class STGDBReverseLinkAttrD : {STGReverseLinkAttr CMDBReverseLinkAttr} {
}
} else {
Class STGDBReverseLinkAttrD : {STGReverseLinkAttr OPDBReverseLinkAttr} {
}
}
set mostDerivedOOPL(OPDBReverseLinkAttr) STGDBReverseLinkAttrD
selfPromoter OPDBReverseLinkAttr {this} {
STGDBReverseLinkAttrD promote $this
}
if [isCommand CMDBQualAssocAttr] {
Class STGDBQualAssocAttrD : {STGQualAssocAttr CMDBQualAssocAttr} {
}
} else {
Class STGDBQualAssocAttrD : {STGQualAssocAttr OPDBQualAssocAttr} {
}
}
set mostDerivedOOPL(OPDBQualAssocAttr) STGDBQualAssocAttrD
selfPromoter OPDBQualAssocAttr {this} {
STGDBQualAssocAttrD promote $this
}
if [isCommand CMDBQualLinkAttr] {
Class STGDBQualLinkAttrD : {STGQualLinkAttr CMDBQualLinkAttr} {
}
} else {
Class STGDBQualLinkAttrD : {STGQualLinkAttr OPDBQualLinkAttr} {
}
}
set mostDerivedOOPL(OPDBQualLinkAttr) STGDBQualLinkAttrD
selfPromoter OPDBQualLinkAttr {this} {
STGDBQualLinkAttrD promote $this
}