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() + ")"
def getSourceShortTypeName(self): return StringUtil.getShortTypeName(self.getSource())