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 17:44
Hemant Singh is currently offline Hemant Singh
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: Wed Aug 27 11:17:03 EDT 2014

Powered by FUDForum. Page generated in 0.02621 seconds