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

Bug 367320

Summary: R4E navigator view should not open when adjusting the preferences
Product: z_Archived Reporter: Jacques Bouthillier <lmcbout>
Component: MylynAssignee: Sebastien Dubois <sebastien.dubois>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: alvaro.sanchez-leon, lmcbout, sebastien.dubois
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Jacques Bouthillier CLA 2011-12-21 08:56:10 EST
When creating participant list in the R4E preference, selecting the "Add" button to add participants to this alias open the "R4E Navigator view". The navigator view should not open if I only modify the preferences. This issue comes with the re-use of the "Enter Participant Details" dialogue. The parent of this dialogue is the navigator view when  in fact, it can also be the preference page.
Here the code sample using the navigator view:
Class: R4EUIDialogFactory

	/**
	 * Method getParticipantInputDialog.
	 * 
	 * @return IParticipantInputDialog
	 */
	public IParticipantInputDialog getParticipantInputDialog(boolean aShowExtraParams) {
		if (!UIUtils.TEST_MODE) {
			fParticipantInputDialog = new ParticipantInputDialog(R4EUIModelController.getNavigatorView()
					.getSite()
					.getWorkbenchWindow()
					.getShell(), aShowExtraParams);
			return fParticipantInputDialog;
		}
		return fParticipantInputDialog;
Comment 1 Sebastien Dubois CLA 2012-01-16 16:08:47 EST
Fix implemented and merged in