16 from E5Gui.E5Application import e5App |
16 from E5Gui.E5Application import e5App |
17 |
17 |
18 import Preferences |
18 import Preferences |
19 |
19 |
20 from Globals import isWindowsPlatform, isMacPlatform |
20 from Globals import isWindowsPlatform, isMacPlatform |
21 |
|
22 from Project.ProjectBrowser import SourcesBrowserFlag, FormsBrowserFlag, \ |
|
23 TranslationsBrowserFlag, OthersBrowserFlag |
|
24 |
21 |
25 from ProjectPyramid.Project import Project |
22 from ProjectPyramid.Project import Project |
26 |
23 |
27 # Start-of-Header |
24 # Start-of-Header |
28 name = "Pyramid Project Plugin" |
25 name = "Pyramid Project Plugin" |
29 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
26 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
30 autoactivate = True |
27 autoactivate = True |
31 deactivateable = True |
28 deactivateable = True |
32 version = "1.0.0" |
29 version = "1.1.0" |
33 className = "ProjectPyramidPlugin" |
30 className = "ProjectPyramidPlugin" |
34 packageName = "ProjectPyramid" |
31 packageName = "ProjectPyramid" |
35 shortDescription = "Project support for Pyramid projects." |
32 shortDescription = "Project support for Pyramid projects." |
36 longDescription = """This plugin implements project support for Pyramid projects.""" |
33 longDescription = """This plugin implements project support for Pyramid projects.""" |
37 needsRestart = False |
34 needsRestart = False |
193 # for backward compatibility |
190 # for backward compatibility |
194 self.__e5project.registerProjectType("Pyramid", self.trUtf8("Pyramid"), |
191 self.__e5project.registerProjectType("Pyramid", self.trUtf8("Pyramid"), |
195 self.fileTypesCallback, |
192 self.fileTypesCallback, |
196 lexerAssociationCallback=self.lexerAssociationCallback, |
193 lexerAssociationCallback=self.lexerAssociationCallback, |
197 binaryTranslationsCallback=self.binaryTranslationsCallback) |
194 binaryTranslationsCallback=self.binaryTranslationsCallback) |
|
195 |
|
196 from Project.ProjectBrowser import SourcesBrowserFlag, FormsBrowserFlag, \ |
|
197 TranslationsBrowserFlag, OthersBrowserFlag |
198 Preferences.setProjectBrowserFlagsDefault("Pyramid", |
198 Preferences.setProjectBrowserFlagsDefault("Pyramid", |
199 SourcesBrowserFlag | \ |
199 SourcesBrowserFlag | \ |
200 FormsBrowserFlag | \ |
200 FormsBrowserFlag | \ |
201 TranslationsBrowserFlag | \ |
201 TranslationsBrowserFlag | \ |
202 OthersBrowserFlag, |
202 OthersBrowserFlag, |