[
https://issues.jboss.org/browse/JBIDE-7848?page=com.atlassian.jira.plugin...
]
Andre Dietisheim edited comment on JBIDE-7848 at 12/9/10 1:00 PM:
------------------------------------------------------------------
I now separated the 2 usecases:
- active data fetching: a view gets the data it wants to display
- passive data fetching: a view gets notified if its data was changed
The former implementation did treat both cases in the same way. So If the CloudView hat
its tree filled with images and the ImageView then fetched data, the CloudView was
notified of new data and refreshed its images. The CloudView therefore collapsed the
images branch and lost its selection.
I solved this by separating those 2 usecases. Views are now only notified if their data
changes. They now get their data and block until the data is available and returned to
them. Its in their own responsability to use jobs/threads to fetch the data and update
their widgets accordingly.
was (Author: adietish):
I now separated the 2 usecases:
- active data fetching: a view gets the data it wants to display
- passive data fetching: a view gets notified if its data was changed
The former implementation did treat both cases in the same way. So If the CloudView hat
its tree filled with images and the ImageView then fetched data, the CloudView was
notified of new data and refreshed its images. The CloudView therefore collapsed the
images branch and lost its selection.
I solved this by separating those 2 usecases. Views are now only notified if their data
changes. They now get their data and block until the data is available and returned to
them. Its in their own responsability to use jobs/threads to fetch the data and update
their widgets accordingly.
Committed to TRUNK (CR1)
Image view, cloud view: images are duplicated
---------------------------------------------
Key: JBIDE-7848
URL:
https://issues.jboss.org/browse/JBIDE-7848
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: deltacloud
Affects Versions: 3.2.0.CR1
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.2.0.CR1
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira