Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Simple RCP application with one Resource navigator view not working?
Simple RCP application with one Resource navigator view not working? [message #437548] Thu, 29 September 2005 21:27 Go to next message
Mehdi is currently offline MehdiFriend
Messages: 4
Registered: July 2009
Junior Member
I have create a basic RCP application with one perspective. In that
perspective I am adding a resource navigator view:
IFolderLayout folder = layout.createFolder("my folder",
IPageLayout.TOP, 0.5f, editorArea);
folder.addView(IPageLayout.ID_RES_NAV);

When I run the application, I can see the resource navigator view. On right
click on the resource navigator view
(On pop up menu) you can pick new project|simple| call it whatever you
want...and then on finish...the resource navigator view does not show the
newly created project. Instead it shows something weird (some sort of ghost
or empty project name...)
I can't get anything to appear on that resource navigator view. Am I missing
something?

Thanks.
Re: Simple RCP application with one Resource navigator view not working? [message #437628 is a reply to message #437548] Fri, 30 September 2005 11:32 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Mehdi wrote:
> I can't get anything to appear on that resource navigator view. Am I missing
> something?

Did you run your RCP with -data <worksapce>? And there might be
something where you have to ask for some data location, there have been
newsgroups articles on this recently.

Later,
PW


Re: Simple RCP application with one Resource navigator view not working? [message #437663 is a reply to message #437628] Fri, 30 September 2005 16:34 Go to previous message
Mehdi is currently offline MehdiFriend
Messages: 4
Registered: July 2009
Junior Member
Thanks Paul for the inside...

I indeed found couple of postings related to this (I didn't see them before,
because I did not dig all the way to 2004).
So, I managed to run the resource navigator in my RCP. The problem that I am
still having is that you need to import the ui.ide package (which is pretty
much in contrast what an RCP application should import). Importing the
org.eclipse.ui.ide package into my project brings tons of other stuff with
it (undesired menu item,etc..). Among others, I get some invalid menu
extensions errors.
Invalid Menu Extension (Path is invalid): org.eclipse.update.ui.updateMenu

Invalid Menu Extension (Path is invalid):
org.eclipse.update.ui.configManager

Invalid Menu Extension (Path is invalid): org.eclipse.update.ui.newUpdates

!ENTRY org.eclipse.ui 4 4 2005-09-30 11:00:38.26

!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.ui.actions.showKeyAssistHandler

Invalid Menu Extension (Path is invalid):
org.eclipse.ui.actions.showKeyAssistHandler


Was anyone able to run that General Purpose Navigator on eclipse 3.1.
(Cross reference to bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=36961) Does anyone know when
the navigator will be extracted from the ide package?

Thanks.


"Paul Webster" <pwebster@ca.ibm.com> wrote in message
news:dhj7o8$uas$3@news.eclipse.org...
> Mehdi wrote:
> > I can't get anything to appear on that resource navigator view. Am I
missing
> > something?
>
> Did you run your RCP with -data <worksapce>? And there might be
> something where you have to ask for some data location, there have been
> newsgroups articles on this recently.
>
> Later,
> PW
Previous Topic:[PDE] Building OSGi bundle plugins for 3rd party jars?
Next Topic:setting drop adapters on Window
Goto Forum:
  


Current Time: Mon Dec 02 22:41:33 GMT 2024

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

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

Back to the top