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 50851 Details for
Bug 158118
Change ViewerSorter.getComparator?
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]
apply patch to org.eclipse.jface
oej-158118.txt (text/plain), 2.06 KB, created by
Karice McIntyre
on 2006-09-25 14:31:44 EDT
(
hide
)
Description:
apply patch to org.eclipse.jface
Filename:
MIME Type:
Creator:
Karice McIntyre
Created:
2006-09-25 14:31:44 EDT
Size:
2.06 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jface >Index: src/org/eclipse/jface/viewers/ViewerSorter.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jface/src/org/eclipse/jface/viewers/ViewerSorter.java,v >retrieving revision 1.17 >diff -u -r1.17 ViewerSorter.java >--- src/org/eclipse/jface/viewers/ViewerSorter.java 8 May 2006 20:56:56 -0000 1.17 >+++ src/org/eclipse/jface/viewers/ViewerSorter.java 25 Sep 2006 18:32:05 -0000 >@@ -11,7 +11,6 @@ > package org.eclipse.jface.viewers; > > import java.text.Collator; // can't use ICU - Collator used in public API >-import java.util.Comparator; > > /** > * A viewer sorter is used by a {@link StructuredViewer} to reorder the elements >@@ -29,15 +28,18 @@ > * categorization; and they may override the <code>compare</code> methods > * to provide a totally different way of sorting elements. > * </p> >- * <p> >- * It is recommended to use <code>ViewerComparator</code> instead. >- * </p> >+ * > * @see IStructuredContentProvider > * @see StructuredViewer >+ * >+ * @deprecated as of 3.3, use <code>ViewerComparator</code> instead. > */ > public class ViewerSorter extends ViewerComparator { > /** > * The collator used to sort strings. >+ * >+ * @deprecated as of 3.3 >+ * @see {@link ViewerComparator#getComparator()} > */ > protected Collator collator; > >@@ -56,6 +58,7 @@ > * @param collator the collator to use to sort strings > */ > public ViewerSorter(Collator collator) { >+ super(collator); > this.collator = collator; > } > >@@ -63,16 +66,11 @@ > * Returns the collator used to sort strings. > * > * @return the collator used to sort strings >+ * @deprecated as of 3.3 >+ * @see {@link ViewerComparator#getComparator()} > */ > public Collator getCollator() { > return collator; > } > >- >- /* (non-Javadoc) >- * @see org.eclipse.jface.viewers.ViewerComparator#getComparator() >- */ >- protected Comparator getComparator() { >- return getCollator(); >- } > }
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 158118
: 50851