| Summary: | Missing a page change event in Wizard | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Michael Acker <michael.acker> |
| Component: | UI | Assignee: | Randy Giffen <Randy_Giffen> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Michael Acker
This is meant for JFace. The default implementation of canFlipToNextPage() calls getNextPage(). You can override it so that getNextPage is only called when the page is needed. You can override setVisible to know when an individual page becomes visible/invisible. Does this meet your need? We used to have a number of lifecycle methods but people found them confusing. Overwriting setVisible works. My problem is solved now. But I think a new method like pageChanged or only one call to getNextPage and getPreviousPage would be easier to understand for other users. Thanks Michael Acker |