Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 27093 Details for
Bug 109468
get rid of subclasses of StructuredTextEditor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
org.eclipse.wst.wsdl.ui.patch
org.eclipse.wst.wsdl.ui.patch (text/plain), 4.85 KB, created by
Amy Wu
on 2005-09-14 02:20:20 EDT
(
hide
)
Description:
org.eclipse.wst.wsdl.ui.patch
Filename:
MIME Type:
Creator:
Amy Wu
Created:
2005-09-14 02:20:20 EDT
Size:
4.85 KB
patch
obsolete
>Index: src/org/eclipse/wst/wsdl/ui/internal/WSDLMultiPageEditorPart.java >=================================================================== >RCS file: /home/webtools/wst/components/wsdl/plugins/org.eclipse.wst.wsdl.ui/src/org/eclipse/wst/wsdl/ui/internal/WSDLMultiPageEditorPart.java,v >retrieving revision 1.10 >diff -u -r1.10 WSDLMultiPageEditorPart.java >--- src/org/eclipse/wst/wsdl/ui/internal/WSDLMultiPageEditorPart.java 13 Sep 2005 18:18:38 -0000 1.10 >+++ src/org/eclipse/wst/wsdl/ui/internal/WSDLMultiPageEditorPart.java 14 Sep 2005 06:18:25 -0000 >@@ -49,8 +49,8 @@ > import org.eclipse.wst.sse.core.internal.provisional.exceptions.SourceEditingRuntimeException; > import org.eclipse.wst.sse.ui.internal.StructuredTextEditor; > import org.eclipse.wst.xml.core.internal.provisional.IXMLPreferenceNames; >+import org.eclipse.wst.xml.core.internal.provisional.contenttype.ContentTypeIdForXML; > import org.eclipse.wst.xml.ui.internal.Logger; >-import org.eclipse.wst.xml.ui.internal.provisional.StructuredTextEditorXML; > import org.eclipse.wst.xml.ui.internal.tabletree.XMLEditorMessages; > > public class WSDLMultiPageEditorPart extends PostSelectionMultiPageEditorPart implements IPropertyListener >@@ -216,6 +216,12 @@ > // } > return contributor; > } >+ >+ public String getId() { >+ // sets this id so nested editor is considered xml source >+ // page >+ return ContentTypeIdForXML.ContentTypeID_XML + ".source"; //$NON-NLS-1$; >+ } > }; > } > else { >@@ -246,7 +252,7 @@ > * @return StructuredTextEditor > */ > protected StructuredTextEditor createTextEditor() { >- return new StructuredTextEditorXML(); >+ return new StructuredTextEditor(); > } > > public void dispose() >Index: src/org/eclipse/wst/wsdl/ui/internal/WSDLTextEditor.java >=================================================================== >RCS file: /home/webtools/wst/components/wsdl/plugins/org.eclipse.wst.wsdl.ui/src/org/eclipse/wst/wsdl/ui/internal/WSDLTextEditor.java,v >retrieving revision 1.17 >diff -u -r1.17 WSDLTextEditor.java >--- src/org/eclipse/wst/wsdl/ui/internal/WSDLTextEditor.java 31 Aug 2005 21:26:11 -0000 1.17 >+++ src/org/eclipse/wst/wsdl/ui/internal/WSDLTextEditor.java 14 Sep 2005 06:18:25 -0000 >@@ -13,8 +13,6 @@ > import java.util.Iterator; > import java.util.List; > >-import javax.xml.namespace.QName; >- > import org.eclipse.core.runtime.IProgressMonitor; > import org.eclipse.jface.viewers.ISelectionChangedListener; > import org.eclipse.jface.viewers.SelectionChangedEvent; >@@ -28,6 +26,7 @@ > import org.eclipse.ui.views.contentoutline.IContentOutlinePage; > import org.eclipse.ui.views.properties.IPropertySheetPage; > import org.eclipse.wst.common.ui.properties.internal.provisional.ITabbedPropertySheetPageContributor; >+import org.eclipse.wst.sse.ui.internal.StructuredTextEditor; > import org.eclipse.wst.sse.ui.internal.view.events.INodeSelectionListener; > import org.eclipse.wst.sse.ui.internal.view.events.NodeSelectionChangedEvent; > import org.eclipse.wst.wsdl.Binding; >@@ -39,13 +38,12 @@ > import org.eclipse.wst.wsdl.ui.internal.util.SelectionAdapter; > import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil; > import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode; >-import org.eclipse.wst.xml.ui.internal.provisional.StructuredTextEditorXML; > import org.w3c.dom.Attr; > import org.w3c.dom.Element; > import org.w3c.dom.Node; > > >-public class WSDLTextEditor extends StructuredTextEditorXML implements INodeSelectionListener, ISelectionChangedListener, ITabbedPropertySheetPageContributor >+public class WSDLTextEditor extends StructuredTextEditor implements INodeSelectionListener, ISelectionChangedListener, ITabbedPropertySheetPageContributor > { > protected WSDLEditor wsdlEditor; > protected WSDLContentOutlinePage outlinePage; >Index: src/org/eclipse/wst/wsdl/ui/internal/actions/WSDLActionBarContributor.java >=================================================================== >RCS file: /home/webtools/wst/components/wsdl/plugins/org.eclipse.wst.wsdl.ui/src/org/eclipse/wst/wsdl/ui/internal/actions/WSDLActionBarContributor.java,v >retrieving revision 1.1 >diff -u -r1.1 WSDLActionBarContributor.java >--- src/org/eclipse/wst/wsdl/ui/internal/actions/WSDLActionBarContributor.java 24 Nov 2004 21:10:32 -0000 1.1 >+++ src/org/eclipse/wst/wsdl/ui/internal/actions/WSDLActionBarContributor.java 14 Sep 2005 06:18:25 -0000 >@@ -19,11 +19,10 @@ > import org.eclipse.ui.texteditor.ITextEditor; > import org.eclipse.ui.texteditor.ITextEditorActionConstants; > import org.eclipse.wst.wsdl.ui.internal.WSDLEditor; >-import org.eclipse.wst.wsdl.ui.internal.WSDLTextEditor; > > public class WSDLActionBarContributor extends SourceEditorActionBarContributor > { >- protected WSDLTextEditor textEditor; >+ protected ITextEditor textEditor; > > /** > * Constructor for WSDLActionBarContributor.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 109468
:
27089
|
27090
|
27091
|
27092
| 27093 |
27094
|
27095
|
27128