Graphics/UMLItem.py

changeset 5587
ea526b78ee6c
parent 5389
9b1c800daff3
child 6048
82ad8ec9548c
equal deleted inserted replaced
5586:0e5421d679e7 5587:ea526b78ee6c
194 painter.setPen(pen) 194 painter.setPen(pen)
195 painter.setBrush(self.brush()) 195 painter.setBrush(self.brush())
196 painter.drawRect(self.rect()) 196 painter.drawRect(self.rect())
197 self.adjustAssociations() 197 self.adjustAssociations()
198 198
199 def setId(self, id): 199 def setId(self, itemId):
200 """ 200 """
201 Public method to assign an ID to the item. 201 Public method to assign an ID to the item.
202 202
203 @param id assigned ID (integer) 203 @param itemId assigned ID (integer)
204 """ 204 """
205 self.__id = id 205 self.__id = itemId
206 206
207 def getId(self): 207 def getId(self):
208 """ 208 """
209 Public method to get the item ID. 209 Public method to get the item ID.
210 210

eric ide

mercurial