| Summary: | Get rid of XSDTextEditor (no subclassing of StructuredTextEditor allowed) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Amy Wu <for.work.things> | ||||||
| Component: | wst.xsd | Assignee: | Keith Chong <keith.chong.ca> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | jgowder | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 103556, 112885 | ||||||||
| Attachments: |
|
||||||||
|
Description
Amy Wu
Created attachment 28524 [details]
Attempted fix for this bug.
Still need to add text editor and content outline configuration
Resolve issue with open on and the refactor actions that were added via the
XSDTextEditor.
Thanks a bunch Amy
Created attachment 28810 [details]
org.eclipse.wst.xsd.ui.patch
This patch includes the previously attached patch.
I added the code to use the editorconfiguration framework
(contentoutlineconfiguration, sourceviewerconfiguration) and the hyperlink
navigation framework.
Files added:
-StructuredTextViewerConfigurationXSD
-XSDContentOutlineConfiguration
-XSDHyperlink
-XSDHyperlinkDetector
Several files modified.
Files deprecated (and should be deleted if no one is using):
XSDContentOutlinePage - replaced by ConfigurableOutlinePage &
XSDContentOutlineConfiguration
XSDTextEditor - replaced by StructuredTextEditor
Assigning to Keith to apply patches if he sees fit. Thanks. Remaining TODOs: -Delete XSDTextEditor & XSDContentOutlinePage if no one else is referencing them (Keith, maybe just check in once with deprecation in CVS history, then delete) -Get refactor actions back into source page. I ran into some issues with this. I'll open a new bug for this since I don't want to hold up the rest of this bug. And post the bug number back in this bug. Bug 113864 was open for adding refactor actions back into xsd source page. Amy, the patch looks good. There were some outline view selection problems that I fixed. (ie. For add action, we want the newly added item to be selected) I also added back the filter actions on the drop down menu of the outline. This was checked in yesterday. I'll add the remaining TODO's to the other bug. *** Bug 112720 has been marked as a duplicate of this bug. *** verified in wtp 1.0 rc3 code that xsdtexteditor no longer exists. This is part of a mass update to close out all stale WTP defects already verified by the reporter but awaiting closure by the assignee. If you feel this defect was closed inappropriately, please reopen. Thanks, John Lanuti |