Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » CommonNavigator Filters : how to shown only files (*.xmlprj) and parent folders ?
CommonNavigator Filters : how to shown only files (*.xmlprj) and parent folders ? [message #1427002] Fri, 19 September 2014 14:55
Eclipse UserFriend
Hello,

in a customized project explorer, i would like to have a filter to show only the files having extension *.xmlprj and the parent folders.

So far i did that expression which unfortunately show all folders as well .

<filterExpression>
<and>
<not>
<adapt
type="org.eclipse.core.resources.IFile">
<test
property="org.eclipse.core.resources.extension"
value="xmlprj">
</test>
</adapt>
</not>
<adapt
type="org.eclipse.core.resources.IFile">
</adapt>
</and>
</filterExpression>

Thank you in advance
Philippe
Previous Topic:How to reject popup menu contributed by other plugin?
Next Topic:[DataBinding] ListBinding issue with uni-directional ON_REQUEST update
Goto Forum:
  


Current Time: Wed Feb 12 08:58:34 GMT 2025

Powered by FUDForum. Page generated in 0.03558 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top