Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Resource Perspective diplays nothing...
Resource Perspective diplays nothing... [message #450313] Thu, 01 June 2006 11:24 Go to next message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

Hi everybody!I’m developing a RCP application which uses workspaces and I
have a problems: the clients may use the resources perspective (they used
it when we gave them the plug in version of the application…) and now, in
RCP mode, the resource perspective displays NOTHING!!!I don’t understand
why… LCould someone please help me?Thanks by advance!!!
Re: Resource Perspective diplays nothing... [message #450315 is a reply to message #450313] Thu, 01 June 2006 12:32 Go to previous messageGo to next message
Eclipse UserFriend
C. BOUDJENNAH wrote:
> Hi everybody!I�m developing a RCP application which uses workspaces and
> I have a problems: the clients may use the resources perspective (they
> used it when we gave them the plug in version of the application�) and
> now, in RCP mode, the resource perspective displays NOTHING!!!I don�t
> understand why� LCould someone please help me?Thanks by advance!!!
>

The resource perspective includes a lot of the org.eclipse.ui plugins,
include org.eclipse.ui.ide. Do you have any errors in your
<workspace>/.metadata/.log file?

Do you include org.eclipse.ui.views, org.eclipse.ui.ide, etc?

Later,
PW
Re: Resource Perspective diplays nothing... [message #450325 is a reply to message #450315] Fri, 02 June 2006 04:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

I included all those plugins...
But in the log file, I have those errors when I switch to the resources
perspective:

ENTRY org.eclipse.ui 4 4 2006-06-02 10:49:44.812
!MESSAGE Invalid Menu Extension (Path is invalid): goToResource

!ENTRY org.eclipse.ui 4 4 2006-06-02 10:49:44.828
!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.ui.OpenWorkspaceFile

But I think it comes from tha fact that some plugins are trying to add
actions to some menus which don't exist in my RCP product...don't you
think?
Re: Resource Perspective diplays nothing... [message #450397 is a reply to message #450325] Fri, 02 June 2006 08:36 Go to previous messageGo to next message
Eclipse UserFriend
C. BOUDJENNAH wrote:
> I included all those plugins...
> But in the log file, I have those errors when I switch to the resources
> perspective:
>
> ENTRY org.eclipse.ui 4 4 2006-06-02 10:49:44.812
> !MESSAGE Invalid Menu Extension (Path is invalid): goToResource
>
> !ENTRY org.eclipse.ui 4 4 2006-06-02 10:49:44.828
> !MESSAGE Invalid Menu Extension (Path is invalid):
> org.eclipse.ui.OpenWorkspaceFile
>
> But I think it comes from tha fact that some plugins are trying to add
> actions to some menus which don't exist in my RCP product...don't you
> think?

That is what those messages mean, but they are warnings and won't effect
the perspective. They are indicitive of the the fact that you are
missing some plugins, though.

The WorkbenchActionBuilder adds a menu manager for
IWorkbenchActionConstants.M_NAVIGATE ... adding that might get rid of
these warnings.

Later,
PW
Re: Resource Perspective diplays nothing... [message #450399 is a reply to message #450397] Fri, 02 June 2006 08:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

And about my resources perspective which displays nothing, do you have any
idea?
Re: Resource Perspective diplays nothing... [message #450401 is a reply to message #450399] Fri, 02 June 2006 09:07 Go to previous messageGo to next message
Eclipse UserFriend
What does a reset perspective on the resource perspective do? What if
you switch your RCP app to a new workspace? (or delete all of your
workspace contents, including the .metadata directory, although make a
backup first).

What are ALL the entries in your error log? Usually the errors at the
beginning lead to the errors at the end.

Later,
PW
Re: Resource Perspective diplays nothing... [message #450403 is a reply to message #450401] Fri, 02 June 2006 09:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

A reset perspective does nothing, but I think I didn't express myself very
well: my problem is not that the prespective displays nothing: I have all
the views well displayed...But in the Navigator View, I can't see
anything! It is totally empty!!!
My logs when I launch the application and switch to resources perspective
are those:

!SESSION 2006-06-02 15:53:49.531
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86 -clean

!ENTRY org.eclipse.core.resources 2 10035 2006-06-02 15:53:53.218
!MESSAGE A workspace crash was detected. The previous session did not exit
normally.

!ENTRY org.eclipse.ui 4 4 2006-06-02 15:53:55.843
!MESSAGE Invalid Menu Extension (Path is invalid): goToResource

!ENTRY org.eclipse.ui 4 4 2006-06-02 15:53:55.843
!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.ui.OpenWorkspaceFile

!ENTRY org.eclipse.ui 4 4 2006-06-02 15:53:55.843
!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.ui.edit.text.gotoLastEditPosition
Re: Resource Perspective diplays nothing... [message #450404 is a reply to message #450403] Fri, 02 June 2006 10:23 Go to previous messageGo to next message
Eclipse UserFriend
Ah, so first of all you have to make sure you have a workspace? Do you
have access to ResourcesPlugin.getWorkspace().getRoot()?

Secondly, you have to update your defaultPageInput() on one of the
advisors to return ResourcesPlugin.getWorkspace().getRoot()

I was told the default input to those kinds of navigators is the
page.getInput(), which is set upon workbench window/page creation time.

Later,
PW
Re: Resource Perspective diplays nothing... [message #450455 is a reply to message #450404] Fri, 02 June 2006 13:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: liana_bl.yahoo.com.br

Paul Webster wrote:

> Ah, so first of all you have to make sure you have a workspace? Do you
> have access to ResourcesPlugin.getWorkspace().getRoot()?

> Secondly, you have to update your defaultPageInput() on one of the
> advisors to return ResourcesPlugin.getWorkspace().getRoot()

> I was told the default input to those kinds of navigators is the
> page.getInput(), which is set upon workbench window/page creation time.

> Later,
> PW

Hi Paul,

I have this same problem... I did what you said, and now its appearing the
dots (...) in the navigator view, like when a folder would be visualized.
But instead of the folder I get the error "!MESSAGE Problems occurred when
invoking code from plug-in: "org.eclipse.jface".!STACK 0
org.eclipse.core.runtime.AssertionFailedException: null argument:", and no
image or text is shown.
the .log file is attached bellow.
Do you know why?

Thanks in advance,

Liana

!SESSION 2006-06-02 14:49:25.691
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
Framework arguments: -product org.rise.prototipo -pdelaunch
Command-line arguments: -product org.rise.prototipo -data
D:\eclipseRC6\workspace/../runtime-EclipseApplication -dev
file:D:/eclipseRC6/workspace/.metadata/.plugins/org.eclipse. pde.core/Eclipse
Application/dev.properties -pdelaunch -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.core.resources 2 10035 2006-06-02 14:49:29.598
!MESSAGE A workspace crash was detected. The previous session did not exit
normally.

!ENTRY org.eclipse.jface 4 2 2006-06-02 14:49:32.973
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72)
at
org.eclipse.ui.internal.navigator.extensions.NavigatorConten tExtension. <init>(NavigatorContentExtension.java:87)
at
org.eclipse.ui.internal.navigator.NavigatorContentService.ge tExtension(NavigatorContentService.java:842)
at
org.eclipse.ui.internal.navigator.NavigatorContentService.ge tExtension(NavigatorContentService.java:812)
at
org.eclipse.ui.internal.navigator.NavigatorContentServiceLab elProvider.findUpdateLabel(NavigatorContentServiceLabelProvi der.java:330)
at
org.eclipse.ui.internal.navigator.NavigatorContentServiceLab elProvider.updateLabel(NavigatorContentServiceLabelProvider. java:307)
at
org.eclipse.jface.viewers.DecoratingLabelProvider.updateLabe l(DecoratingLabelProvider.java:345)
at
org.eclipse.jface.viewers.StructuredViewer.buildLabel(Struct uredViewer.java:2077)
at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer .java:247)
at
org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeR unnable.run(AbstractTreeViewer.java:95)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
at
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(Ab stractTreeViewer.java:840)
at
org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRun nable.run(StructuredViewer.java:465)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
at
org.eclipse.jface.viewers.StructuredViewer.updateItem(Struct uredViewer.java:1955)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem( AbstractTreeViewer.java:744)
at
org.eclipse.ui.navigator.CommonViewer.createTreeItem(CommonV iewer.java:116)
at
org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:722)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:696)
at
org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:872)
at
org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractT reeViewer.java:1277)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1323)
at
org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:1266)
at
org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:250)
at
org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1542)
at
org.eclipse.ui.navigator.CommonNavigator.createPartControl(C ommonNavigator.java:156)
at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:332)
at
org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:197)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:566)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:29 0)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:52 5)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:140)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:394)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1144)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1097)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:13 11)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:601)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:532)
at
org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:562)
at
org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:244)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:815)
at
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:2429)
at
org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindo w.java:2616)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:2597)
at
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(Workben chWindow.java:658)
at
org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Wo rkbench.java:795)
at
org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Work bench.java:1437)
at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1388)
at
org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWin dow(WorkbenchConfigurer.java:190)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:708)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.rise.prototipo.toolday.intro.Application.run(Application .java:18)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.ui 4 4 2006-06-02 14:49:34.691
!MESSAGE Invalid Menu Extension (Path is invalid): converstLineDelimitersTo

!ENTRY org.eclipse.ui 4 4 2006-06-02 14:49:34.801
!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.ui.edit.text.delimiter.macOS9

!ENTRY org.eclipse.ui 4 4 2006-06-02 14:49:34.801
!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.ui.edit.text.delimiter.unix

!ENTRY org.eclipse.ui 4 4 2006-06-02 14:49:34.801
!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.ui.edit.text.delimiter.windows

!ENTRY org.eclipse.ui 4 4 2006-06-02 14:49:34.801
!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.ui.edit.text.openExternalFile

!ENTRY org.eclipse.ui 4 4 2006-06-02 14:49:34.816
!MESSAGE Invalid Menu Extension (Path is invalid): selectWorkingSets

!ENTRY org.eclipse.ui 4 4 2006-06-02 14:49:34.832
!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.ui.edit.text.gotoLastEditPosition
Re: Resource Perspective diplays nothing... [message #450463 is a reply to message #450397] Fri, 02 June 2006 20:02 Go to previous messageGo to next message
Eclipse UserFriend
Paul Webster wrote:
> C. BOUDJENNAH wrote:
>> I included all those plugins...
>> But in the log file, I have those errors when I switch to the
>> resources perspective:
>>
>> ENTRY org.eclipse.ui 4 4 2006-06-02 10:49:44.812
>> !MESSAGE Invalid Menu Extension (Path is invalid): goToResource
>>
>> !ENTRY org.eclipse.ui 4 4 2006-06-02 10:49:44.828
>> !MESSAGE Invalid Menu Extension (Path is invalid):
>> org.eclipse.ui.OpenWorkspaceFile
>>
>> But I think it comes from tha fact that some plugins are trying to add
>> actions to some menus which don't exist in my RCP product...don't you
>> think?
>
> That is what those messages mean, but they are warnings and won't effect
> the perspective. They are indicitive of the the fact that you are
> missing some plugins, though.
>
> The WorkbenchActionBuilder adds a menu manager for
> IWorkbenchActionConstants.M_NAVIGATE ... adding that might get rid of
> these warnings.
>
> Later,
> PW

There is also some adapter registering that needs to be included in your
RCP startup code to make the Navigator actually show item names. Or
there used to be. Here's a link to one old post about it.
http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg02902.html
You can find others searching this newsgroup for "Navigator"
Re: Resource Perspective diplays nothing... [message #450567 is a reply to message #450404] Mon, 05 June 2006 03:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

I have access to the ResourcesPlugin.getWorkspace().getRoot() method, but
it returns in my case "R/" which is a disk that doesn't exist...!
About the "defaultPageInput()" method, I don't know in which class you can
find it and overload it...
Thanks,
CB
Re: Resource Perspective diplays nothing... [message #450568 is a reply to message #450463] Mon, 05 June 2006 04:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

Steve Blass wrote:

> Paul Webster wrote:
>> C. BOUDJENNAH wrote:
>>> I included all those plugins...
>>> But in the log file, I have those errors when I switch to the
>>> resources perspective:
>>>
>>> ENTRY org.eclipse.ui 4 4 2006-06-02 10:49:44.812
>>> !MESSAGE Invalid Menu Extension (Path is invalid): goToResource
>>>
>>> !ENTRY org.eclipse.ui 4 4 2006-06-02 10:49:44.828
>>> !MESSAGE Invalid Menu Extension (Path is invalid):
>>> org.eclipse.ui.OpenWorkspaceFile
>>>
>>> But I think it comes from tha fact that some plugins are trying to add
>>> actions to some menus which don't exist in my RCP product...don't you
>>> think?
>>
>> That is what those messages mean, but they are warnings and won't effect
>> the perspective. They are indicitive of the the fact that you are
>> missing some plugins, though.
>>
>> The WorkbenchActionBuilder adds a menu manager for
>> IWorkbenchActionConstants.M_NAVIGATE ... adding that might get rid of
>> these warnings.
>>
>> Later,
>> PW

> There is also some adapter registering that needs to be included in your
> RCP startup code to make the Navigator actually show item names. Or
> there used to be. Here's a link to one old post about it.
> http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg02902.html
> You can find others searching this newsgroup for "Navigator"


Thanks!
I watched this and I found this solution: oveload prestartup in my
WokbenchAdvisor with this:

WorkbenchAdapterBuilder.registerAdapters();
super.preStartup();


The problem is that WorkbenchAdapterBuilder is an internal class of
Eclipse and using it is not very clean???:-(
I think I'm going to add a class to my product which does the same thing
and use it...
What do you think about it?
Re: Resource Perspective diplays nothing... [message #450569 is a reply to message #450568] Mon, 05 June 2006 04:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

C. BOUDJENNAH wrote:

> Steve Blass wrote:

>> Paul Webster wrote:
>>> C. BOUDJENNAH wrote:
>>>> I included all those plugins...
>>>> But in the log file, I have those errors when I switch to the
>>>> resources perspective:
>>>>
>>>> ENTRY org.eclipse.ui 4 4 2006-06-02 10:49:44.812
>>>> !MESSAGE Invalid Menu Extension (Path is invalid): goToResource
>>>>
>>>> !ENTRY org.eclipse.ui 4 4 2006-06-02 10:49:44.828
>>>> !MESSAGE Invalid Menu Extension (Path is invalid):
>>>> org.eclipse.ui.OpenWorkspaceFile
>>>>
>>>> But I think it comes from tha fact that some plugins are trying to add
>>>> actions to some menus which don't exist in my RCP product...don't you
>>>> think?
>>>
>>> That is what those messages mean, but they are warnings and won't effect
>>> the perspective. They are indicitive of the the fact that you are
>>> missing some plugins, though.
>>>
>>> The WorkbenchActionBuilder adds a menu manager for
>>> IWorkbenchActionConstants.M_NAVIGATE ... adding that might get rid of
>>> these warnings.
>>>
>>> Later,
>>> PW

>> There is also some adapter registering that needs to be included in your
>> RCP startup code to make the Navigator actually show item names. Or
>> there used to be. Here's a link to one old post about it.
>> http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg02902.html
>> You can find others searching this newsgroup for "Navigator"


> Thanks!
> I watched this and I found this solution: oveload prestartup in my
> WokbenchAdvisor with this:

>
> WorkbenchAdapterBuilder.registerAdapters();
> super.preStartup();
> 


> The problem is that WorkbenchAdapterBuilder is an internal class of
> Eclipse and using it is not very clean???:-(
> I think I'm going to add a class to my product which does the same thing
> and use it...
> What do you think about it?

I started to add classes to my product to do the same thing as internal
packages of Eclipse, but it seems that I will have to copy almost all of
the org.eclipse.ui.internal.ide.model package... :-(
Does anyone know if there is a "cleaner" way to do that??
Thanks,
C.B.
Re: Resource Perspective diplays nothing... [message #450570 is a reply to message #450455] Mon, 05 June 2006 08:23 Go to previous messageGo to next message
Eclipse UserFriend
you probably need to override WorkbenchAdvisor#initialize(*) and add:
WorkbenchAdapterBuilder.registerAdapters();

WorkbenchAdvisor is also where you override getDefaultPageInput().

Check out IDEWorkbenchAdvisor in the org.eclipse.ui.ide plugin.

Later,
PW
Re: Resource Perspective diplays nothing... [message #450571 is a reply to message #450567] Mon, 05 June 2006 08:24 Go to previous messageGo to next message
Eclipse UserFriend
C. BOUDJENNAH wrote:
> I have access to the ResourcesPlugin.getWorkspace().getRoot() method,
> but it returns in my case "R/" which is a disk that doesn't exist...!

That's OK, R/ is the root, and IWorkspaceRoot object, it's not a disk or
normal file.

> About the "defaultPageInput()" method, I don't know in which class you
> can find it and overload it...

It's on your WorkbenchAdvisor class.

Later,
PW
Re: Resource Perspective diplays nothing... [message #450664 is a reply to message #450570] Tue, 06 June 2006 15:43 Go to previous message
Eclipse UserFriend
Originally posted by: liana_bl.yahoo.com.br

Paul Webster wrote:

> you probably need to override WorkbenchAdvisor#initialize(*) and add:
> WorkbenchAdapterBuilder.registerAdapters();

> WorkbenchAdvisor is also where you override getDefaultPageInput().

> Check out IDEWorkbenchAdvisor in the org.eclipse.ui.ide plugin.

> Later,
> PW

Hi Paul,

Thanks it works...
however the project icon doesn't appear.
I looked the IDEWorkbenchAdvisor and tried to refer the same icon it does
for the project, but it is not possible because is a internal class.

Do know another way?

Thanks again,
Liana
Previous Topic:How to create empty workbench
Next Topic:About RCP launcher (Eclipse.exe)
Goto Forum:
  


Current Time: Tue Nov 04 12:39:01 EST 2025

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

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

Back to the top