Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Common Navigator In RCP
Common Navigator In RCP [message #685489] Fri, 17 June 2011 11:52 Go to next message
Eclipse UserFriend
Hello,

I am using CNF in my product. When running product using org.eclipse.ui.ide.workbench navigator works as expected - projects and folders show up and ViewerFilter works. However, when I run product as RCP the CN view has projects created, but no folder icon, and when I expand the project nothing shows up in there. In addition, when RCP first loads there is nothing in the view, but as soon as I right-click on the view projects show up. What am I doing wrong?

Thanks,
Alex
Re: Common Navigator In RCP [message #685555 is a reply to message #685489] Fri, 17 June 2011 14:24 Go to previous messageGo to next message
Eclipse UserFriend
You need to make sure you are calling org.eclipse.ui.ide.IDE.registerAdapters() in your WorkbenchAdvisor. Also make sure you are returning the workspace root from org.eclipse.ui.application.WorkbenchAdvisor.getDefaultPageInput()

PW
Re: Common Navigator In RCP [message #685572 is a reply to message #685555] Fri, 17 June 2011 15:13 Go to previous message
Eclipse UserFriend
Thanks Paul, that fixed it.
Previous Topic:Can't see classes from a JAR used in another plugin
Next Topic:Creating a file - What is wrong here?
Goto Forum:
  


Current Time: Sun Aug 31 09:51:42 EDT 2025

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

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

Back to the top