| Summary: | AbstractSimpleNavigationNodeProvider should provide a way to build nodes asynchronous | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] Riena | Reporter: | Nobody - feel free to take it <nobody> | ||||||||
| Component: | navigation | Assignee: | Nobody - feel free to take it <nobody> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | christian.campo, holger.hoch, steffen.kriese | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 3.0.0.M7 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Nobody - feel free to take it
Created attachment 189255 [details]
Patch for async-buildNode(..)
Patch for async-buildNode(..) + Example
The patch can lead to a high cpu cycle consumtion for at least one processor. It should be modified as follows:
while (!shell.isDisposed()) {
if (!display.readAndDispatch()) {
display.sleep();
}
}
Sending an explicit
display.wake();
should not be required as #isFinished is set at the end of the #runJob() method and #finalUpdateUI() is executed on the display thread afterwards thus quitting the above dispatch loop.
Created attachment 189675 [details]
New patch for async navigation support
- adds NavigationNode.createNodeAsync() method
- reduces the performance problem, while dispatching the ui-events
Created attachment 189788 [details]
Updated patch with fix for LnfUpdater
Patch applied |