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:AIX7.1/Eclipse4.4.2 X Window System Error
Goto Forum:
  


Current Time: Fri Dec 15 04:51:53 GMT 2017

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

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