Bug 134188 - [Wizards] Wizard API Documentation regarding canFinish()
Summary: [Wizards] Wizard API Documentation regarding canFinish()
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-30 18:56 EST by Michael Schmidt CLA
Modified: 2019-09-06 16:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schmidt CLA 2006-03-30 18:56:52 EST
On the discussion groups, there was mention that when you override canFinish(), internally it checks isPageComplete.  In fact, I have been working on a wizard the past two days that included an override of canFinish().  The wizard pages pages did not include any setPageComplete() statements.  I included in canFinish() and it provided proper boolean values.  However, even when the result was "true", the wizard Finish button would not activate.  I then included setPageComplete() statements in the pages and canFinish then worked properly.  My request is to update the API documentation, noting that canFinish() works in conjunction with setPageComplete().
Comment 1 Eric Moffatt CLA 2006-03-31 11:49:10 EST
The dependency between the 'canFinish' and the IWizardPage's 'isPageComplete' is an aspect of the -implementation- of org.eclipse.jface.Wizard rather than something that is part of the IWizard API.

Perhaps we could update the Wizard's jdocs to more clearly indicate the dependency here.

(Susan, did I come close?...;-)
Comment 2 Susan McCourt CLA 2006-03-31 15:45:35 EST
Reassigning to Karice, I'm pretty sure she owns wizard bugs (the CVS server is hosed right now so I can't see the component owner list)
Comment 3 Boris Bokowski CLA 2009-02-26 16:48:56 EST
Michael, do you have a suggestion for where we should add JavaDoc clarification, and which words would have helped you?
Comment 4 Boris Bokowski CLA 2009-11-26 16:20:07 EST
Prakash is now responsible for watching bugs in the [Wizards] component area.
Comment 5 Eclipse Webmaster CLA 2019-09-06 16:13:33 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.