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

Bug 356263

Summary: Convert New RUI Handler/Widget wizard to New Handler wizard
Product: z_Archived Reporter: Will Smythe <smythew>
Component: EDTAssignee: Huang Ji Yong <hjiyong>
Status: CLOSED FIXED QA Contact: Huang Ji Yong <hjiyong>
Severity: normal    
Priority: P3 CC: chenzhh, tdramsey, tww
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Finish new Handler wizard
lasher: iplog+
Respond to comment 3 lasher: iplog+

Description Will Smythe CLA 2011-08-30 20:33:01 EDT
Both RUIHandler and RUIwidget are specialized stereotypes for the classifier "Handler". Instead of providing wizards for these specific stereotypes, we should instead be consistent with the other New EGL <Classifier> wizards and create a New EGL Handler wizard that provides "Rich UI Handler" and "Rich UI widget" as templates that can be chosen by the developer. And because BasicHandler is a supported stereotype, it should be the first (and default) option in the wizard.

Although this adds a few mouse clicks for users creating RUI handlers (which will be common), it is more consistent with the rest of the wizards and helps better illustrate the architecture of EGL to new users.

Tim brought this up a week or so ago, and I agree with the thinking.
Comment 1 Will Smythe CLA 2011-08-30 20:34:57 EDT
I lean towards fixing this in 0.7 since it will be difficult to change later (w/o impacting users) and it's also "the right thing to do" (from a consistency perspective).
Comment 2 Huang Ji Yong CLA 2011-09-14 02:11:06 EDT
Created attachment 203315 [details]
Finish new Handler wizard

The new handler wizard is similar to new record wizard. It has a template selection page, template configuration page (optional) and preview page.
Please reopen this enhancement if you have any ideas about the wizard.
Comment 3 Tony Chen CLA 2011-09-14 03:52:50 EDT
I played with it and noticed some problems

1) if I hit "finish" in the first page, the default handler to be created is a basic handler. I hope it be a RUIHandler because it is not very often I want to create a basic handler. 

2) When I select RUI Widget and hit "next", i come to a page where I can not change anything. If there's nothing to do in this page, we should skip it.
Comment 4 Huang Ji Yong CLA 2011-09-15 02:26:42 EDT
Created attachment 203382 [details]
Respond to comment 3
Comment 5 Huang Ji Yong CLA 2011-09-15 02:28:43 EDT
Bug 356263 - Convert New RUI Handler/Widget wizard to New Handler wizard
Change RUIHandler to default, Remove Page2 of RUIWidget Creation
Code committed
Comment 6 Lisa Lasher CLA 2011-11-09 14:16:57 EST
This defect was fixed at least 2 months ago, so I am closing.