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 158792 Details for
Bug 259503
[Viewers] Make PatternFilter useable for TableViewers
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]
patch
clipboard.txt (text/plain), 1.30 KB, created by
Shawn Minto
on 2010-02-10 17:33:16 EST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Shawn Minto
Created:
2010-02-10 17:33:16 EST
Size:
1.30 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.workbench >Index: Eclipse UI/org/eclipse/ui/dialogs/PatternFilter.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/PatternFilter.java,v >retrieving revision 1.14 >diff -u -r1.14 PatternFilter.java >--- Eclipse UI/org/eclipse/ui/dialogs/PatternFilter.java 25 May 2009 20:52:15 -0000 1.14 >+++ Eclipse UI/org/eclipse/ui/dialogs/PatternFilter.java 10 Feb 2010 22:31:40 -0000 >@@ -252,12 +252,14 @@ > * @return true if the given element has children that matches the filter text > */ > protected boolean isParentMatch(Viewer viewer, Object element){ >- Object[] children = ((ITreeContentProvider) ((AbstractTreeViewer) viewer) >- .getContentProvider()).getChildren(element); >+ if (viewer instanceof AbstractTreeViewer) { >+ Object[] children = ((ITreeContentProvider) ((AbstractTreeViewer) viewer) >+ .getContentProvider()).getChildren(element); > >- if ((children != null) && (children.length > 0)) { >- return isAnyVisible(viewer, element, children); >- } >+ if ((children != null) && (children.length > 0)) { >+ return isAnyVisible(viewer, element, children); >+ } >+ } > return false; > } >
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 259503
: 158792