Graphics/PackageDiagramBuilder.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2433
f580320cd0aa
child 2602
affc66a603c7
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog showing a UML like class diagram of a package. 7 Module implementing a dialog showing a UML like class diagram of a package.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import glob 12 import glob
11 import os.path 13 import os.path
12 import itertools 14 import itertools
13 15
31 @param view reference to the view object (UMLGraphicsView) 33 @param view reference to the view object (UMLGraphicsView)
32 @param project reference to the project object (Project) 34 @param project reference to the project object (Project)
33 @param package name of a python package to be shown (string) 35 @param package name of a python package to be shown (string)
34 @keyparam noAttrs flag indicating, that no attributes should be shown (boolean) 36 @keyparam noAttrs flag indicating, that no attributes should be shown (boolean)
35 """ 37 """
36 super().__init__(dialog, view, project) 38 super(PackageDiagramBuilder, self).__init__(dialog, view, project)
37 self.setObjectName("PackageDiagram") 39 self.setObjectName("PackageDiagram")
38 40
39 self.package = Utilities.normabspath(package) 41 self.package = Utilities.normabspath(package)
40 self.noAttrs = noAttrs 42 self.noAttrs = noAttrs
41 43

eric ide

mercurial