Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Customize Package- or Project Explorer on a per-project base
Customize Package- or Project Explorer on a per-project base [message #1400620] Mon, 14 July 2014 13:20 Go to next message
Till F. is currently offline Till F.Friend
Messages: 58
Registered: August 2012
Member
Hello,

I thought this would be a common problem, but oddly I couldn't find anything helpful.

I'm developing an Eclipse plugin with a custom nature. Projects having this nature should be visualized differently in the Package/Project Explorers by default, i.e. certain folders should be hidden when the nature is added (e.g. src-gen, META-INF).

I had hoped the Package- and/or Project Explorer would provide a decent mechanism to programmatically add filters for a certain project, but I couldn't find something like this. But it must be possible to customize at least the Project Explorer somehow, as some plugins like the C/C++ Development Tools even introduce non-standard icons for specific folders (or even show "virtual" folders)...

Could someone point me into the right direction? The regular filters that are accessible via the GUI always affect all projects in the whole workspace, thus I need a different approach.

Cheers,
Till

/edit: i searched a little bit more... please don't tell me that I have to write a custom navigator for my intend... this would be rather disproportional, wouldn't it?

[Updated on: Mon, 14 July 2014 14:09]

Report message to a moderator

Re: Customize Package- or Project Explorer on a per-project base [message #1860781 is a reply to message #1400620] Sun, 03 September 2023 09:29 Go to previous message
Vasili Gulevich is currently offline Vasili GulevichFriend
Messages: 28
Registered: July 2009
Junior Member
To hide elements from a CNF view, contribute an extension to org.eclipse.ui.navigator.navigatorContent/commonFilter and org.eclipse.ui.navigator.viewer/viewerContentBinding
Previous Topic:Eclipse ui development guide
Next Topic:Cross tab with large data set
Goto Forum:
  


Current Time: Fri Apr 26 19:31:37 GMT 2024

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

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

Back to the top