Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] About illegally instantiation of ModelChangedEvent

Hi guys, my name is João Brunet and I'm a PhD student at UFCG - Brazil, currently visiting professor Gail Murphy at University of British Columbia.

In my PhD, I'm analyzing the API Tools Verification Reports of Eclipse project. I'm collecting some interesting observations from this data. However, I need some of specialists' opinion about these tests results. Would mind to answer me a quick question about this warning?

org.eclipse.pde.internal.ui.editor.plugin.PluginInputContextManager illegally instantiates org.eclipse.pde.core.ModelChangedEvent generated by the following code:

private void transferListeners(IModel source, IModel target) {
...
     smodel.fireModelChanged(new ModelChangedEvent(smodel, IModelChangedEvent.WORLD_CHANGED, null, null));
    
...
}


My question is: Why did the developer break the rule?


Thank you in advance!  I would be very grateful if you help me. Your opinion will improve a lot my results.


João

Back to the top