equal
deleted
inserted
replaced
33 import util.paths as paths |
33 import util.paths as paths |
34 from POULibrary import POULibrary |
34 from POULibrary import POULibrary |
35 from docutil import open_svg |
35 from docutil import open_svg |
36 from py_ext import PythonFileCTNMixin |
36 from py_ext import PythonFileCTNMixin |
37 |
37 |
|
38 |
38 class SVGUILibrary(POULibrary): |
39 class SVGUILibrary(POULibrary): |
39 def GetLibraryPath(self): |
40 def GetLibraryPath(self): |
40 return paths.AbsNeighbourFile(__file__, "pous.xml") |
41 return paths.AbsNeighbourFile(__file__, "pous.xml") |
|
42 |
41 |
43 |
42 class SVGUI(PythonFileCTNMixin): |
44 class SVGUI(PythonFileCTNMixin): |
43 |
45 |
44 ConfNodeMethods = [ |
46 ConfNodeMethods = [ |
45 {"bitmap" : "ImportSVG", |
47 {"bitmap" : "ImportSVG", |