Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(51)  |  Call(51)  |  Derive(0)  |  Import(0)

src/a/r/archgenxml-2.6/src/archgenxml/atumlprofile.py   archgenxml(Download)
 
at_uml_profile.addStereoType(
    'portal_tool', ['XMIClass'],
    description='Turns the class into a portal tool.')
 
at_uml_profile.addStereoType(
    'stub', ['XMIClass', 'XMIModel', 'XMIPackage', 'XMIInterface'],
 
at_uml_profile.addStereoType(
    'odStub', ['XMIClass', 'XMIModel', 'XMIPackage'],
    description='Prevents a class/package/model from being generated. '
    "Same as '<<stub>>'.")
 
at_uml_profile.addStereoType(
    'content_class', ['XMIClass'],
 
at_uml_profile.addStereoType(
    'flavor', ['XMIClass'],
    dispatching=1,
    generator='generateFlavor',

src/a/r/archgenxml-2.6/src/archgenxml/BaseGenerator.py   archgenxml(Download)
 
base_uml_profile = UMLProfile()
base_uml_profile.addStereoType('z3', ['XMIInterface'],
    dispatching=1,
    generator='generateZope3Interface',
    template='zope3_interface.pydtml',
    description='Generate this interface class as zope 3 interface. This '
                'will inherit from zope.interface.Interface.')
 
base_uml_profile.addStereoType('python_class', ['XMIClass'],
                'instead of as an Archetypes class.')
 
base_uml_profile.addStereoType('view_class', ['XMIClass'],
    dispatching=1,
    generator='generateViewClass',
    template=['view_class.pydtml'],
    description='Generate this class as a zope3 view class '
                'instead of as an Archetypes class.')
 
base_uml_profile.addStereoType('portlet_class', ['XMIClass'],
 
 
base_uml_profile.addStereoType('zope_class', ['XMIClass'],
    dispatching=1,
    generator='generateZopeClass',