We are trying to integrate with the Maia-specific task management feature (we use com.intellij.tasks.TaskManager and its impl class for this). What we would like to do is get notified when tasks are added/removed/switched. There is no obvious way to do it though. We have found a workaround, whwre we listen to changes to the active changeset. But it is possibel to create tasks without a changeset, so it is not 100% reliable.
Is there a better way?