[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Common Navigator + RCP

Hi there,

I have integrated a few CNF-based views in my RCP app, including the standard Project Explorer view.

The problem I had is getting the proper icons/labels when using the Project Explorer view directly in my RCP app.
(Please not that I faced the other common problem with custom navigators to supply my own input, but solved it by inheriting from CommonViewer).


I have found a solution detailed here: http://www.cpuidle.de/blog/?p=48

It worked but is a kind of a hack I'd like to avoid. I found this problem dates back to 2005 (when the answer was given on Eclipse newsgroups). I am using RCP with 3.5 and I would have hoped a cleaner solution would be available. Maybe I am missing something.

But without the workaround, I get no images / label ! (actually, no labels if I don't call org.eclipse.ui.ide.IDE.registerAdapters(); and no images if I don't call the declareWorkbenchImages hack)

This bug marked it as fixed:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=153933
.. but I couldn't find the "new" way to do it.

Is there any new, better solution ?

Thanks for your help,

--
Simon Chemouil