Exemplo n.º 1
0
 def __str__(self):
     """
     Return a string representation of this event.
     
     @return string representation of this event
     """
     dropTargetText = None
     if self.context.finalDropController is not None:
         dropTargetText = "dropTarget=" + \
             StringUtil.getShortTypeName(self.context.finalDropController.getDropTarget())
     else:
         dropTargetText = "[cancelled]"
     return "DragEndEvent(" + dropTargetText + ", source=" + self.getSourceShortTypeName() + ")"
Exemplo n.º 2
0
 def getSourceShortTypeName(self):
     return StringUtil.getShortTypeName(self.getSource())