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

Bug 360561

Summary: Creating new RUIHandler opens with EGL Editor rather than RUI Editor
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Song Fan <songfan>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: chenzhh, huozz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Out of sync
none
patch to fix this defect
lasher: iplog+
Patch Version 2 lasher: iplog+

Description broy2 CLA 2011-10-11 12:33:57 EDT
There are a couple of problems creating a new RUIHandler.
The complete sequence of wizards is the following, and Finish can be hit on any of the wizards:

1. EGL Handler - Create an EGL handler part.
2. Templates - Select a template to create EGL handlers from
3. New EGL Rich UI Handler - Create an EGL Rich UI handler part.
4. Summary - Review the handlers that will be created.

The problem depends on when I hit Finish.
Finish on 1, 2, or 3 above opens the RUIHandler with the EGL Editor displaying the source rather than the EGL Rich UI Editor.
Finish on 4 above opens the RUIHandler displaying the message: 
Resource is out of sync with the file system: '/myRUIproject/EGLSource/client/d.egl.  The source is not displayed.

But in all of the above cases, I can close the file and reopen it.  Then it opens correctly with the EGL Rich UI Editor.

I'm on the 201110110900 install build.
Comment 1 broy2 CLA 2011-10-11 12:40:05 EDT
Created attachment 204961 [details]
Out of sync
Comment 2 Huo Zhen Zhong CLA 2011-10-12 01:33:53 EDT
It is the new wizard to open the EGLEditor instead of VE. If you close the EGLEditor and reopen it again, it will be opened by VE. So change the owner to Fan
Comment 3 Song Fan CLA 2011-10-13 03:03:37 EDT
Fixed
Comment 4 Song Fan CLA 2011-10-13 03:09:21 EDT
Created attachment 205092 [details]
patch to fix this defect
Comment 5 broy2 CLA 2011-10-13 10:15:45 EDT
Not fixed in 201110130940 build.
Comment 6 Song Fan CLA 2011-10-13 22:24:25 EDT
Created attachment 205165 [details]
Patch Version 2
Comment 7 broy2 CLA 2011-10-17 11:06:46 EDT
Verified in 20111017 build.