|
|
|
Re: Problem with events and lazy part rendering [message #946485 is a reply to message #946431] |
Tue, 16 October 2012 08:32 |
Eclipse User |
|
|
|
If I got this correctly the part B is not getting the event because the contributor (backing POJO) is not instantiated. That is a normal thing as it is lazy loading the part.
As Christoph said you can supply an addon which activates the part-B. You can do a quick show/hide just to create it from the addon and I would not consider it a publisher-receiver link as the publisher is a separate thing from the addon. The addon's job is just to circumvent the lazy loading of the part, not publish events. The publisher (part A) does not know and has no reference to part B so I don't see where the link is.
There are other alternatives as creating the contributions programmatically using contribution factories but it is better to stick to the services.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03991 seconds