Bug 245550 - [editor] Templates View for XSL and XPath
Summary: [editor] Templates View for XSL and XPath
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xpath (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.1   Edit
Assignee: David Carver CLA
QA Contact: Doug CLA
URL:
Whiteboard:
Keywords: noteworthy
Depends on: 245547
Blocks:
  Show dependency tree
 
Reported: 2008-08-28 11:43 EDT by David Carver CLA
Modified: 2010-08-11 17:08 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 David Carver CLA 2008-08-28 11:43:51 EDT
XSL Tools 0.5

Eclipse provides a view for viewing templates.  Currently none of the XSL templates are contributed to this view.   WTP currently has not interface into this view, so it would need to be created.    The view allows for the categorization of the various templates, and a drag and drop support for populating the editor.    It looks like it is just a matter of hooking into the view's extension points.

More information on hooking into the view can be found here:

http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/texteditor/templates/TemplatesView.html
Comment 1 David Carver CLA 2008-11-24 15:35:08 EST
tentatively targeting for 1.0M4.
Comment 2 David Carver CLA 2008-11-25 18:22:10 EST
Will add the work around for now, until WTP adds the appropriate extension point configuration option.
Comment 3 David Carver CLA 2008-11-25 20:39:01 EST
Templates view is now added to the XSL Tools XML perspective.  When the XSL Editor is active, it will populate the view with the XPath templates.   These then can be dragged and dropped into the editor or inserted at the current cursor position.  The templates are inserted or replacing text if the text is selected.  Undo and Redo is available as well.

This will need to be revisted once SSE supports dynamically adding this view and the supporting class it needs.
Comment 4 David Carver CLA 2009-04-30 14:26:27 EDT
mass update to 3.1 target due to movement from wtp incubator to wtp source editing lost the original milestones.