This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 66483 - Cannot make PackageChooserPanel finishable
Summary: Cannot make PackageChooserPanel finishable
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 44242
  Show dependency tree
 
Reported: 2005-10-11 14:01 UTC by Milan Kuchtiak
Modified: 2011-08-31 14:06 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kuchtiak 2005-10-11 14:01:00 UTC
We use the following construction :
JavaTemplates.createPackageChooser(project,sourceGroups,customPanel)

to create the second panel for servlets, filters etc.
There is no way to make this panel finishable since these wizards have also the
"next" panel(s).

IMO, the reasonable solution would be to make this panel finishable if
customPanel is finishable or vice versa.
Comment 1 Tomas Zezula 2005-10-12 16:56:51 UTC
It is not needed.
The JavaTemplates.createPackageChooser (...) returns WizardDescriptor.Panel,
so it is easy for the wizard to decorate the returned WD.Panel by
WD.FinishablePanel delegating all the methods except of the isFinishable () to
the returned WD.Panel and implement the isFinishable to return true.