HandleUDDEvents
This optional method is the event handler for all link events
set by the SetEventLink() method on a IUDDText. Refer to the definition
of the IUDDText object in the Document Generator Interface. The tags associated with the event are received
by plugin using this abstract class.
| UI Access
|
NA
|
| Parameters
|
|
|
|
|
| <eventTags> |
List<string> |
Event tags. |
|
| Return Value
|
Boolean. If true, the event was handled successfully. If false, it was not. |
| Python Syntax
|
HandleUDDEvents(<eventTags>)
|
| Python Example
|
def HandleUDDEvents(self, uddLinks):
if uddLinks[0] == "Open Report":
# Get Design Name
oDesign = self.GetUDDDesignContext()
if oDesign != None:
oDesign.OpenReport(uddLinks[1])
return True
|