My attribute changes are disappearing!   I'm not sure how I should implement 
the behavior that I want.  I have a TaskDataModelListener whose 
attributeChanged(TaskAttribute) method is called when the user modifies an 
attribute in my task editor page.  My listener needs to update other attributes 
that depend on the one that changed.  

What I'm unsure of is the threading.  Should I call 
editorPage.getModel().attributeChanged(TaskAttribute) in the same execution 
thread?  Should I call editorPage.refreshFormContent() in that same thread?  If 
I do them all in the same thread, I get an SWT Exception (widget is disposed).  
But when I perform them in a separate thread, I lose the changes I make in the 
listener.

Ideas?

Larry Edelstein
Senior Member of Technical Staff
Salesforce.com
[email protected]_______________________________________________
mylyn-integrators mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/mylyn-integrators

Reply via email to