Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352408

Summary: No global model listener API
Product: [Eclipse Project] PDE Reporter: Stefan Dimov <stefan.dimov>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, kaloyan, Michael_Rennie
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Stefan Dimov CLA 2011-07-19 03:53:31 EDT
I'm working on Libra project and I need model listeners for synchronizing PDE and WTP models. IPluginModelListener works fine, but it's an internal class. 

IModelChangedListener is exposed as API, but it has two problems:

   1. It's not a global model listener, so in order to achieve what I want, I have to add a listener instance to every single bundle, which is a bit too much.

   2. When the listener gets an event it contains no info about the change - the changedObjects member is an empty array and changedProperty, newValue and oldValue are null.

It would be nice to have global model listener exposed as API and to fix IModelChangedListener to return info about the change.
Comment 1 Curtis Windatt CLA 2011-07-19 11:44:49 EDT
If we move forward with bug 159072 we may have a good opportunity to improve the model event handling.
Comment 2 Eclipse Genie CLA 2018-11-30 13:24:43 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Lars Vogel CLA 2019-09-02 15:03:58 EDT
This bug has been marked as stalebug a while ago without any further interaction.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard flag.
Comment 4 Lars Vogel CLA 2019-09-02 15:06:45 EDT
This bug was marked as stalebug a while ago. Marking as worksforme.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.