Esempio n. 1
0
    def __displayTheInterfaces(self, oglInterfaces: OglInterfaces,
                               umlFrame: UmlDiagramsFrame):

        for oglInterface in oglInterfaces:

            attachmentAnchor = oglInterface.destinationAnchor
            x, y = attachmentAnchor.GetPosition()

            umlFrame.addShape(oglInterface, x, y, withModelUpdate=True)
Esempio n. 2
0
 def __displayAnOglObject(self, oglObject: OglObject,
                          umlFrame: UmlDiagramsFrame):
     x, y = oglObject.GetPosition()
     umlFrame.addShape(oglObject, x, y)