Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 258327 - Possible to get an empty template wizard page
Summary: Possible to get an empty template wizard page
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.5 M5   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-10 12:52 EST by Curtis Windatt CLA
Modified: 2008-12-30 14:40 EST (History)
1 user (show)

See Also:


Attachments
Patch to hide the empty template wizard page (2.08 KB, patch)
2008-12-24 03:55 EST, Ankur Sharma CLA
curtis.windatt.public: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Windatt CLA 2008-12-10 12:52:29 EST
Open the new plug-in project wizard.  If you turn off 'create a java project' and choose OSGi as the type, then continue to hit next, the template wizard page opens up, with no options to select.  It would be best to not have this page at all if there are no applicable templates.
Comment 1 Ankur Sharma CLA 2008-12-24 03:55:42 EST
Created attachment 121202 [details]
Patch to hide the empty template wizard page

The fix adds a check (canFlipToNextPage) on the PluginContentPage. If TemplateListSelectionPage is empty, set canFlipToNextPage to false.
Comment 2 Curtis Windatt CLA 2008-12-30 14:40:25 EST
Applied patch to HEAD.  Thanks Ankur.