Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327596 - [CommonNavigator] Common filter with filter expression stopped working in eclipse 3.6
Summary: [CommonNavigator] Common filter with filter expression stopped working in ecl...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Francis Upton IV CLA
QA Contact: Francis Upton IV CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 13:51 EDT by Garry Sager CLA
Modified: 2011-04-21 00:03 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 Garry Sager CLA 2010-10-12 13:51:15 EDT
Build Identifier: I20100608-0911

This filter works fine in eclipse 3.4 and 3.5 but is not displayed under available customizations in eclipse 3.6 Project explorer.

<commonFilter
            activeByDefault="true"
            description="%Filter.factory.temp.description"
            id="com.bowstreet.designer.eclipse.navigator.filters.hideTempFolders"
            name="%Filter.factory.temp">
         <filterExpression>
            <instanceof value="org.eclipse.core.resources.IFolder"/>
            <test
                  forcePluginActivation="true"
                  property="org.eclipse.core.resources.name"
                  value="~temp"/>
         </filterExpression>
      </commonFilter>

Reproducible: Always

Steps to Reproduce:
1.Add this filter into a org.eclipse.ui.navigator.navigatorContent
2.open project explorer Customize view 
3.You will see this filter in eclipse 3.4 and 3.5 but it doesn't show in 3.6.0
Comment 1 Francis Upton IV CLA 2011-04-21 00:03:45 EDT
This works fine for me in 3.7 (and I have not tested it in 3.6, the CNF for 3.7 and 3.6 is pretty much identical).

Can I suggest that you make sure you have the id of your filter in the viewerContentBinding for the Project Explorer (please note that these are regular expressions and not wildcards, so for example com.bowstreet.* worked for me.

I'm going to close this, if there is any additional information that indicates this is a problem, please provide it and reopen it.