Home | History | Annotate | Download | only in Explorer
      1 """
      2 Package generated from /Applications/Internet Explorer.app
      3 """
      4 
      5 from warnings import warnpy3k
      6 warnpy3k("In 3.x, the Explorer module is removed.", stacklevel=2)
      7 
      8 import aetools
      9 Error = aetools.Error
     10 import Standard_Suite
     11 import URL_Suite
     12 import Netscape_Suite
     13 import Microsoft_Internet_Explorer
     14 import Web_Browser_Suite
     15 import Required_Suite
     16 
     17 
     18 _code_to_module = {
     19     '****' : Standard_Suite,
     20     'GURL' : URL_Suite,
     21     'MOSS' : Netscape_Suite,
     22     'MSIE' : Microsoft_Internet_Explorer,
     23     'WWW!' : Web_Browser_Suite,
     24     'reqd' : Required_Suite,
     25 }
     26 
     27 
     28 
     29 _code_to_fullname = {
     30     '****' : ('Explorer.Standard_Suite', 'Standard_Suite'),
     31     'GURL' : ('Explorer.URL_Suite', 'URL_Suite'),
     32     'MOSS' : ('Explorer.Netscape_Suite', 'Netscape_Suite'),
     33     'MSIE' : ('Explorer.Microsoft_Internet_Explorer', 'Microsoft_Internet_Explorer'),
     34     'WWW!' : ('Explorer.Web_Browser_Suite', 'Web_Browser_Suite'),
     35     'reqd' : ('Explorer.Required_Suite', 'Required_Suite'),
     36 }
     37 
     38 from Standard_Suite import *
     39 from URL_Suite import *
     40 from Netscape_Suite import *
     41 from Microsoft_Internet_Explorer import *
     42 from Web_Browser_Suite import *
     43 from Required_Suite import *
     44 
     45 def getbaseclasses(v):
     46     if not getattr(v, '_propdict', None):
     47         v._propdict = {}
     48         v._elemdict = {}
     49         for superclassname in getattr(v, '_superclassnames', []):
     50             superclass = eval(superclassname)
     51             getbaseclasses(superclass)
     52             v._propdict.update(getattr(superclass, '_propdict', {}))
     53             v._elemdict.update(getattr(superclass, '_elemdict', {}))
     54         v._propdict.update(getattr(v, '_privpropdict', {}))
     55         v._elemdict.update(getattr(v, '_privelemdict', {}))
     56 
     57 import StdSuites
     58 
     59 #
     60 # Set property and element dictionaries now that all classes have been defined
     61 #
     62 getbaseclasses(application)
     63 
     64 #
     65 # Indices of types declared in this module
     66 #
     67 _classdeclarations = {
     68     'capp' : application,
     69 }
     70 
     71 
     72 class Explorer(Standard_Suite_Events,
     73         URL_Suite_Events,
     74         Netscape_Suite_Events,
     75         Microsoft_Internet_Explorer_Events,
     76         Web_Browser_Suite_Events,
     77         Required_Suite_Events,
     78         aetools.TalkTo):
     79     _signature = 'MSIE'
     80 
     81     _moduleName = 'Explorer'
     82 
     83     _elemdict = application._elemdict
     84     _propdict = application._propdict
     85