Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to provide custom IWorkbenchAdapter for IProject instead of default WorkbenchProject
How to provide custom IWorkbenchAdapter for IProject instead of default WorkbenchProject [message #655000] Thu, 17 February 2011 22:44
Hemant Singh is currently offline Hemant SinghFriend
Messages: 24
Registered: January 2010
Junior Member
I want to provide custom IWorkbenchAdapter for the IProject, So that I have ability to show custom project name, depending on various other attributes. I can easily do this for one view like Project Explorer by providing my own navigatorContent which provides label for IProject, but there are many other places like clean projects dialog(org.eclipse.ui.internal.ide.dialogs.CleanDialog) which uses WorkbenchLabelProvider to find the label of project, so to change the project name in complete IDE, I have to provide my own IWorkbenchAdapter for IProject, but since platform already declares that, I am not able to override this behavior.

Any thought or pointer will be appreciated.
Previous Topic:extending actionfilters for existing resources
Next Topic:File-based Sub-projects on Eclipse
Goto Forum:
  


Current Time: Mon Nov 24 14:22:10 GMT 2014

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

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