Questions to MessageBus
I try to use FileEditorManagerListener and ModuleListener notifications over MessageBus, but the listener events do not seem to be propagated down to my listeners.
When do i need to subscribe to the corresponding topics? Can i do this in the constructor of a project component or should i use projectOpened or initComponent?
Can i subscribe more than one topic to a MessageBusConnection?
Do i need to check whether the project is matching in the implementation of the listeners?
Please sign in to leave a comment.
Just found the answers to my questions. I was not aware that there is a project level message bus. I was using the application level bus. File editor listener and module listener events are subscribed to the project bus.