Hi. Is it's prossible to listent events from UI?
I created listener class, and added it as listener to crated StaticTreeDocument
class TreeListener(IEventListener):
def onEvent(self, e):
print e
StaticTreeDocument(self.model.getNodes()).addListener(TreeListener())
But don't receive any event. When I do it for unit, it works, I receive to log messages like this:
type=UnitProcessed,data=null,from=Unit:name={abc_primary_text_material_light.xml},type={xml}
Is it possible to listen events from UI and why it is'nt covered by documentation?