Graphics/UMLDialog.py

changeset 2997
7f0ef975da9e
parent 2992
dbdf27746da5
child 3020
542e97d4ecb3
child 3057
10516539f238
equal deleted inserted replaced
2996:c6f16f1b9958 2997:7f0ef975da9e
175 from .ImportsDiagramBuilder import ImportsDiagramBuilder 175 from .ImportsDiagramBuilder import ImportsDiagramBuilder
176 return ImportsDiagramBuilder( 176 return ImportsDiagramBuilder(
177 self, self.umlView, self.__project, path, **kwargs) 177 self, self.umlView, self.__project, path, **kwargs)
178 elif diagramType == UMLDialog.ApplicationDiagram: 178 elif diagramType == UMLDialog.ApplicationDiagram:
179 from .ApplicationDiagramBuilder import ApplicationDiagramBuilder 179 from .ApplicationDiagramBuilder import ApplicationDiagramBuilder
180 return ApplicationDiagramBuilder(self, self.umlView, self.__project, 180 return ApplicationDiagramBuilder(
181 **kwargs) 181 self, self.umlView, self.__project, **kwargs)
182 elif diagramType == UMLDialog.NoDiagram: 182 elif diagramType == UMLDialog.NoDiagram:
183 return None 183 return None
184 else: 184 else:
185 raise ValueError(self.trUtf8( 185 raise ValueError(self.trUtf8(
186 "Illegal diagram type '{0}' given.").format(diagramType)) 186 "Illegal diagram type '{0}' given.").format(diagramType))

eric ide

mercurial