PluginProjectPyramid.py

changeset 110
15cfc3c1dd1b
parent 108
0ba128760f1e
child 112
916727bdff4d
equal deleted inserted replaced
109:ecda8c0ab281 110:15cfc3c1dd1b
26 # Start-of-Header 26 # Start-of-Header
27 name = "Pyramid Project Plugin" 27 name = "Pyramid Project Plugin"
28 author = "Detlev Offenbach <detlev@die-offenbachs.de>" 28 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
29 autoactivate = True 29 autoactivate = True
30 deactivateable = True 30 deactivateable = True
31 version = "2.3.4" 31 version = "2.3.5"
32 className = "ProjectPyramidPlugin" 32 className = "ProjectPyramidPlugin"
33 packageName = "ProjectPyramid" 33 packageName = "ProjectPyramid"
34 shortDescription = "Project support for Pyramid projects." 34 shortDescription = "Project support for Pyramid projects."
35 longDescription = \ 35 longDescription = \
36 """This plugin implements project support for Pyramid projects.""" 36 """This plugin implements project support for Pyramid projects."""
61 """ 61 """
62 Module function returning data as required by the configuration dialog. 62 Module function returning data as required by the configuration dialog.
63 63
64 @return dictionary containing the relevant data 64 @return dictionary containing the relevant data
65 """ 65 """
66 if e5App().getObject("UserInterface").versionIsNewer('5.0.99', '20120101'): 66 return {
67 return { 67 "pyramidPage": [
68 "pyramidPage": [ 68 QCoreApplication.translate("ProjectPyramidPlugin", "Pyramid"),
69 QCoreApplication.translate("ProjectPyramidPlugin", "Pyramid"), 69 os.path.join("ProjectPyramid", "icons", "pyramid.png"),
70 os.path.join("ProjectPyramid", "icons", "pyramid.png"), 70 createPyramidPage, None, None],
71 createPyramidPage, None, None], 71 }
72 }
73 else:
74 return {}
75 72
76 73
77 def apiFiles(language): 74 def apiFiles(language):
78 """ 75 """
79 Module function to return the API files made available by this plugin. 76 Module function to return the API files made available by this plugin.

eric ide

mercurial