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
Philippe Favrais is currently offline Philippe FavraisFriend
Messages: 23
Registered: April 2011
Junior Member
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: Thu Apr 25 15:04:14 GMT 2024

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

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

Back to the top