Simple RCP application with one Resource navigator view not working? [message #437548] |
Thu, 29 September 2005 17:27  |
Eclipse User |
|
|
|
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 #437663 is a reply to message #437628] |
Fri, 30 September 2005 12:34  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03558 seconds