Can Resource Navigator display files with specific extensions [message #235679] |
Thu, 14 June 2007 12:26 |
Eclipse User |
|
|
|
Originally posted by: rajmohanpk.hcl.in
Hi,
I'm developing an application using GEF and RCP. Currently the Resource
Navigator displays all the files in the workspace, is it possible to
provide a filter to list files with specific extensions. (for example,
xml, .jpg etc). I need this, because currently when i create a Project,
it creates a ".project" file, which i doesnt need to display in the
Navigator window, (i attempted to remove it, but when i refresh the
project, the ".project" file reappears). Please help. Thanks in advance.
Rajmohan
|
|
|
Re: Can Resource Navigator display files with specific extensions [message #235693 is a reply to message #235679] |
Thu, 14 June 2007 13:40 |
Anthony Hunter Messages: 446 Registered: July 2009 |
Senior Member |
|
|
Hi
The extension point to do this is org.eclipse.ui.ide.resourceFilters.
Cheers...
Anthony
"Rajmohan" <rajmohanpk@hcl.in> wrote in message
news:b5691c9ba8b7b179182e693c350d46f1$1@www.eclipse.org...
> Hi,
>
> I'm developing an application using GEF and RCP. Currently the Resource
> Navigator displays all the files in the workspace, is it possible to
> provide a filter to list files with specific extensions. (for example,
> xml, .jpg etc). I need this, because currently when i create a Project, it
> creates a ".project" file, which i doesnt need to display in the Navigator
> window, (i attempted to remove it, but when i refresh the project, the
> ".project" file reappears). Please help. Thanks in advance.
>
> Rajmohan
>
|
|
|
Re: Can Resource Navigator display files with specific extensions [message #235966 is a reply to message #235693] |
Tue, 19 June 2007 11:57 |
Eclipse User |
|
|
|
Originally posted by: rajmohanpk.hcl.in
My RCP product configuration includes two plugins (a GEF, and an RCP
workbench), in both the plugin.xml files, i have have included the
following extension, but still it *DOESN'T work*. The navigator window
still displays the ".project" file, when projects are created. Please help.
<extension
point="org.eclipse.ui.ide.resourceFilters">
<filter
pattern="*.project"
selected="false">
</filter>
</extension>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03527 seconds