Bug 226474

Summary: [xslt] A 'New Wizard' for XSL files
Product: [WebTools] WTP Source Editing Reporter: Doug <doug.satchwell>
Component: wst.xslAssignee: Doug <doug.satchwell>
Status: RESOLVED FIXED QA Contact: David Williams <david_williams>
Severity: enhancement    
Priority: P3 CC: d_a_carver
Version: unspecifiedKeywords: noteworthy
Target Milestone: 3.1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Doug CLA 2008-04-10 06:36:13 EDT
It would be nice to have XSL available from the new file menu. For this we need a simple new wizard which allows the user to select an XSL template (as opposed to an XML one).
Comment 1 Doug CLA 2008-04-10 10:56:14 EDT
Have performed the following changes:

- created a New XSL file wizard
- added copy stylesheet template for XSL
- split xpath and xsl template into two parts, XSL and XPath
- created toolbar actions and menu shortcuts for XML and XSL file new wizards
- added a separate template preference page for XSL templates

Still need to improve the New XSL file wizard a little to add colouring to preview.
Comment 2 David Carver CLA 2008-04-10 11:53:01 EDT
A couple of additional items you want to do:

Remove the XSL Template contributions from the XML Templates page.  This is done by an extension point, so should be a matter of just updating it to add to the correct file.

Also, we need some standardized templates for various file formats.  I can think of several for Docbook editing, but just standard templates that can be used during the editor.   This may entail enhancing the XML content assist so that it gets the templates as appropriate.   I'll look into adding that support, and open a new bug for it.
Comment 3 Doug CLA 2008-04-10 12:00:36 EDT
I think the first part has naturally fallen out of the refactoring I did (I can't seen the XSL templates in the XML preference page any more). 

We should probably declare Docbook templates in the docbook plugin rather than xsl.ui?
Comment 4 David Carver CLA 2008-04-10 12:39:22 EDT
(In reply to comment #3)
> I think the first part has naturally fallen out of the refactoring I did (I
> can't seen the XSL templates in the XML preference page any more). 
> 
> We should probably declare Docbook templates in the docbook plugin rather than
> xsl.ui?
> 

We will need a new plugin that will be in an optional feature set eventually.

org.eclipse.wst.xsl.docbook.ui

That contributes the docbook specific templates to the XSL templates section.

This will also be where some additional docbook specific functionality like any Wizards or anything we come up with will go as well.
Comment 5 Doug CLA 2008-04-30 10:30:47 EDT
The New XSL wizard is now in glorious technicolor.

This task is done.
Comment 6 David Carver CLA 2008-06-05 21:42:08 EDT
Mass Migration to wtp.inc.xsl
Comment 7 David Carver CLA 2009-04-30 14:25:16 EDT
mass update to 3.1 target due to movement from wtp incubator to wtp source editing lost the original milestones.