Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to make different file name in common navigator?
How to make different file name in common navigator? [message #489802] Tue, 06 October 2009 03:11
Eclipse UserFriend
Originally posted by:

Hi all,

I am using Common Navigator Framework. I hook my own content provider and
label provider to files with certain extension to build hierarchy tree
under this file in common navigator. My question is how to change the name
of the file itself? I defined IResource in my triggerPoints and my content
provider getChildren is called for IProjects as well as IFiles but my
label provider never gets called for IFiles so I can provide different
name (based on the file content) to this file. How can I make my label
provider be called by CNF for IFile objects? I need to remove file
extension from the view and have the file name be derived from the file

Thank you,
Previous Topic:how to change/hide the borders for a ViewPart
Next Topic:How to receive events for ViewPart
Goto Forum:

Current Time: Thu May 24 02:27:17 GMT 2018

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

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

Back to the top