| Summary: | [Wizards] PageTransition classes may need rename/reorg | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Karice McIntyre <Karice_McIntyre> | ||||||||||||||
| Component: | UI | Assignee: | Karice McIntyre <Karice_McIntyre> | ||||||||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||||||||
| Severity: | normal | ||||||||||||||||
| Priority: | P3 | CC: | bokowski, bradleyjames, dejan, Tod_Creasey | ||||||||||||||
| Version: | 3.3 | Keywords: | api | ||||||||||||||
| Target Milestone: | 3.3 M6 | ||||||||||||||||
| Hardware: | PC | ||||||||||||||||
| OS: | Windows XP | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Karice McIntyre
Boris, what would you like to do for this one? Created attachment 58151 [details] proposed patch to replace fix for bug 16179 These are the proposed changes Boris suggested. It eliminates the ITransitionProvider interface (good), and renames the event and listener types from "transition" to "changing" (also good). The only reservation I have with this change is that every listener is fired each time showPage() is called, even when that page (with the listener) is neither the current page or the page to be shown (the next/previous page). The way the patch is written, the client must check the event to see if the event is applicable to that page. Are we ok with that? I will attach a plugin that has a new wizard as a sample usage. Feedback welcome. Created attachment 58152 [details] sample plugin see instructions how how to run in bug 16179#c20 Created attachment 60561 [details]
sample plugin with source
Import project to obtain sample plugin with source. The previous sample was a plugin jar without source (same code).
Created attachment 60627 [details]
apply patch to org.eclipse.jface
some polish to original patch posted in this bug.
Created attachment 60628 [details]
plugin project containing new wizard to test patch
updated sample plugin
+1 Released to HEAD for build > 20070315. I will update bug 16179 with a pointer to this one, since the original patch from that bug has changed. Created attachment 60962 [details] test plugin (with source) Use this test plugin to get a new wizard to verify this fix. A new wizard will appear in category named "Bug 168888" Verified with test example in I20070322-1800 |