Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343553

Summary: Focus removed from navigation tree
Product: [RT] Riena Reporter: Frank Schepp <frank.schepp>
Component: UIAssignee: Frank Schepp <frank.schepp>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christian.campo
Version: unspecified   
Target Milestone: 3.0.0.M7   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Frank Schepp CLA 2011-04-21 10:32:00 EDT
If a Module of SubModule is blocked and also unblocked in method afterActivated() of the SubModule:

getNavigationNode().addListener(new SubModuleNodeListener() { 
@Override
public void afterActivated(ISubModuleNode source) {
ChoiceSubModuleController.this.getModuleController().setBlocked(true);
//do sth.
ChoiceSubModuleController.this.getModuleController().setBlocked(false);
}
})

then the focus is moved away from the navigation tree to some other control. This is especially annoying when navigating through the navigation tree by cursor keys. The focus can only gained back by shortcut F6.

This behavior can be reproduced in the playground.
Comment 1 Frank Schepp CLA 2011-04-26 05:49:44 EDT
Fixed in ModuleView