2000-08-17 19:15:41 -03:00
|
|
|
"""
|
2003-06-13 11:31:19 -03:00
|
|
|
Package generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
|
2000-08-17 19:15:41 -03:00
|
|
|
"""
|
2008-05-12 18:42:13 -03:00
|
|
|
|
|
|
|
from warnings import warnpy3k
|
|
|
|
warnpy3k("In 3.x, the Netscape package is removed.")
|
|
|
|
|
2000-08-17 19:15:41 -03:00
|
|
|
import aetools
|
2002-04-23 18:08:54 -03:00
|
|
|
Error = aetools.Error
|
2000-08-17 19:15:41 -03:00
|
|
|
import Standard_Suite
|
|
|
|
import Standard_URL_suite
|
|
|
|
import Mozilla_suite
|
|
|
|
import Text
|
2003-03-28 18:07:22 -04:00
|
|
|
import WorldWideWeb_suite
|
|
|
|
import PowerPlant
|
|
|
|
import Required_suite
|
2000-08-17 19:15:41 -03:00
|
|
|
|
|
|
|
|
|
|
|
_code_to_module = {
|
2003-04-12 19:27:11 -03:00
|
|
|
'CoRe' : Standard_Suite,
|
|
|
|
'GURL' : Standard_URL_suite,
|
|
|
|
'MOSS' : Mozilla_suite,
|
|
|
|
'TEXT' : Text,
|
|
|
|
'WWW!' : WorldWideWeb_suite,
|
|
|
|
'ppnt' : PowerPlant,
|
|
|
|
'reqd' : Required_suite,
|
2000-08-17 19:15:41 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_code_to_fullname = {
|
2003-04-12 19:27:11 -03:00
|
|
|
'CoRe' : ('Netscape.Standard_Suite', 'Standard_Suite'),
|
|
|
|
'GURL' : ('Netscape.Standard_URL_suite', 'Standard_URL_suite'),
|
|
|
|
'MOSS' : ('Netscape.Mozilla_suite', 'Mozilla_suite'),
|
|
|
|
'TEXT' : ('Netscape.Text', 'Text'),
|
|
|
|
'WWW!' : ('Netscape.WorldWideWeb_suite', 'WorldWideWeb_suite'),
|
|
|
|
'ppnt' : ('Netscape.PowerPlant', 'PowerPlant'),
|
|
|
|
'reqd' : ('Netscape.Required_suite', 'Required_suite'),
|
2000-08-17 19:15:41 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
from Standard_Suite import *
|
|
|
|
from Standard_URL_suite import *
|
|
|
|
from Mozilla_suite import *
|
|
|
|
from Text import *
|
2003-03-28 18:07:22 -04:00
|
|
|
from WorldWideWeb_suite import *
|
|
|
|
from PowerPlant import *
|
|
|
|
from Required_suite import *
|
2003-03-23 18:07:28 -04:00
|
|
|
|
2002-08-07 12:53:42 -03:00
|
|
|
def getbaseclasses(v):
|
2003-04-12 19:27:11 -03:00
|
|
|
if not getattr(v, '_propdict', None):
|
|
|
|
v._propdict = {}
|
|
|
|
v._elemdict = {}
|
|
|
|
for superclassname in getattr(v, '_superclassnames', []):
|
|
|
|
superclass = eval(superclassname)
|
|
|
|
getbaseclasses(superclass)
|
|
|
|
v._propdict.update(getattr(superclass, '_propdict', {}))
|
|
|
|
v._elemdict.update(getattr(superclass, '_elemdict', {}))
|
|
|
|
v._propdict.update(getattr(v, '_privpropdict', {}))
|
|
|
|
v._elemdict.update(getattr(v, '_privelemdict', {}))
|
2002-08-07 12:53:42 -03:00
|
|
|
|
|
|
|
import StdSuites
|
|
|
|
|
|
|
|
#
|
|
|
|
# Set property and element dictionaries now that all classes have been defined
|
|
|
|
#
|
2003-06-13 11:31:19 -03:00
|
|
|
getbaseclasses(text)
|
|
|
|
getbaseclasses(styleset)
|
2002-08-07 12:53:42 -03:00
|
|
|
getbaseclasses(StdSuites.Text_Suite.character)
|
2003-06-13 11:31:19 -03:00
|
|
|
getbaseclasses(StdSuites.Text_Suite.text_flow)
|
2003-03-28 20:13:17 -04:00
|
|
|
getbaseclasses(StdSuites.Text_Suite.word)
|
|
|
|
getbaseclasses(StdSuites.Text_Suite.paragraph)
|
2003-06-13 11:31:19 -03:00
|
|
|
getbaseclasses(StdSuites.Text_Suite.text_style_info)
|
|
|
|
getbaseclasses(StdSuites.Text_Suite.line)
|
2002-08-07 12:53:42 -03:00
|
|
|
getbaseclasses(StdSuites.Text_Suite.text)
|
2003-06-13 11:31:19 -03:00
|
|
|
getbaseclasses(window)
|
|
|
|
getbaseclasses(application)
|
2002-08-07 12:53:42 -03:00
|
|
|
|
|
|
|
#
|
|
|
|
# Indices of types declared in this module
|
|
|
|
#
|
|
|
|
_classdeclarations = {
|
2003-06-13 11:31:19 -03:00
|
|
|
'ctxt' : text,
|
|
|
|
'stys' : styleset,
|
2003-04-12 19:27:11 -03:00
|
|
|
'cha ' : StdSuites.Text_Suite.character,
|
2003-06-13 11:31:19 -03:00
|
|
|
'cflo' : StdSuites.Text_Suite.text_flow,
|
2003-04-12 19:27:11 -03:00
|
|
|
'cwor' : StdSuites.Text_Suite.word,
|
|
|
|
'cpar' : StdSuites.Text_Suite.paragraph,
|
2003-06-13 11:31:19 -03:00
|
|
|
'tsty' : StdSuites.Text_Suite.text_style_info,
|
|
|
|
'clin' : StdSuites.Text_Suite.line,
|
2003-04-12 19:27:11 -03:00
|
|
|
'ctxt' : StdSuites.Text_Suite.text,
|
2003-06-13 11:31:19 -03:00
|
|
|
'cwin' : window,
|
|
|
|
'capp' : application,
|
2002-08-07 12:53:42 -03:00
|
|
|
}
|
2000-08-17 19:15:41 -03:00
|
|
|
|
|
|
|
|
2003-03-28 18:07:22 -04:00
|
|
|
class Netscape(Standard_Suite_Events,
|
2003-04-12 19:27:11 -03:00
|
|
|
Standard_URL_suite_Events,
|
|
|
|
Mozilla_suite_Events,
|
|
|
|
Text_Events,
|
|
|
|
WorldWideWeb_suite_Events,
|
|
|
|
PowerPlant_Events,
|
|
|
|
Required_suite_Events,
|
|
|
|
aetools.TalkTo):
|
|
|
|
_signature = 'MOSS'
|
2000-08-17 19:15:41 -03:00
|
|
|
|
2003-04-12 19:27:11 -03:00
|
|
|
_moduleName = 'Netscape'
|
2002-08-07 12:53:42 -03:00
|
|
|
|
2003-06-13 11:31:19 -03:00
|
|
|
_elemdict = application._elemdict
|
|
|
|
_propdict = application._propdict
|