Hi there:
I have implements in from our widget ,ResourceModelListener
and ,PropertyChangeListener..
It is funny that if I click on the JPA view,on
any fields The PropertyChangeListener is never invoked but it always go to ResourceModelListener.
However in the method resourceModelChanged() ,
there is no indication as what changes trigger the events,.
Is there any other listeners I can use or there
is something we can do in the resourceModelChanged to find out what the
change is ?
Thanks so much!
public void resourceModelChanged() {
// TODO Auto-generated method stub
System.out.println("resourceModelChanged...");
}
=== some how the following was never invoked.== don''t know
why.====
public void propertyChanged(
org.eclipse.jpt.utility.model.event.PropertyChangeEvent arg0) {
// TODO Auto-generated method stub
System.out.println("org.eclipse.jpt.utility.model.event.PropertyChangeEvent");
if (arg0!=null)
{
System.out.println("property name="+arg0.getPropertyName());
System.out.println("source="+arg0.getSource());
System.out.println("new value="+arg0.getNewValue()+":
old="+arg0.getOldValue());
}
System.out.println("end
org.eclipse.jpt.utility.model.event.PropertyChangeEvent");
}
l
_______________________________________________
dali-dev mailing list
dali-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dali-dev