XUL Explorer:UseCases/Extension Wizard
From MozillaWiki
Extension Wizard
Brief Description
Allows a user to create a skeleton extension using a multi-page wizard. The wizard should collect as much information as possible and generate the files required to create the extension.
Precondition
User launches wizard from menu or toolbar
Basic Flow
- Page 1 - General Meta-informaton
- Extension name
- Extension ID (email-ish or guid - button for auto guid)
- Description (multi-line?)
- Version
- Homepage URL
- Update URL
- Author
- Contributors (textbox + listbox and buttons to add/remove ?)
- Page 2 - Target
- Checkboxes for Firefox & XUL Explorer (for now - others later)
- Page 3 - UI Options (could be affected by targets)
- Toolbar button
- Context menu (webcontent menu for now - others later)
- Statusbar panel
- Sidebar
- Options & Preferences
- About
- Page 4 - Event Stubs (affected by targets)
- On Application Load
- On Browser Page Load
- On Browsr Tab Change
Design Notes
- Use template snippets to build extension files
- Templates should be in locale since they are localizable
- Code to build files should be separate JS script, not dependent on UI part.
- We could use the code in other tools
- Any control (feature) that is not valid based on target should be disabled, not hidden.