Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Project Explorer in Eclipse e4(Mars) RCP( Project Explorer in Eclipse e4(Mars) RCP)
Project Explorer in Eclipse e4(Mars) RCP [message #1702437] Wed, 22 July 2015 10:37 Go to next message
kirankumar B S is currently offline kirankumar B SFriend
Messages: 36
Registered: July 2015
Member
Hello,

We created a new application using Eclipse RCP 4(Mars).
We are able to bring Project Explorer View using 3.x plugin with CompatiblityView.

Is there any way to bring "Project Explorer" in eclipse e4 without using 3.x/CompatiblityView ?

Thanks,
Kiran.
Re: Project Explorer in Eclipse e4(Mars) RCP [message #1702446 is a reply to message #1702437] Wed, 22 July 2015 11:53 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2526
Registered: July 2012
Senior Member
In short, no. The project explorer is written in Eclipse 3 API
Re: Project Explorer in Eclipse e4(Mars) RCP [message #1702454 is a reply to message #1702446] Wed, 22 July 2015 12:43 Go to previous messageGo to next message
kirankumar B S is currently offline kirankumar B SFriend
Messages: 36
Registered: July 2015
Member
Thanks for quick reply Dirk.

We are trying to develop new application with the help of e4 RCP(mars). We need Project Explorer as a part of our work bench.
Can you explain correct way to render Project Explorer in e4 RCP(mars) application.

We have tried adding project explorer as a placeholder referring Shared Element(Project Explorer) but we are unable to see Explorer area.

We have used ID as org.eclipse.ui.navigator.ProjectExplorer .

Thanks in advance.
Re: Project Explorer in Eclipse e4(Mars) RCP [message #1702455 is a reply to message #1702454] Wed, 22 July 2015 12:48 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2526
Registered: July 2012
Senior Member
AFAIK you need to set ClassURI to org.eclipse.ui.internal.e4.compatibility.CompatibilityView and ID to org.eclipse.ui.navigator.ProjectExplorer
Re: Project Explorer in Eclipse e4(Mars) RCP [message #1702456 is a reply to message #1702455] Wed, 22 July 2015 12:51 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2526
Registered: July 2012
Senior Member
Or use the following information: http://www.vogella.com/tutorials/Eclipse4MigrationGuide/article.html#usageof3xcomponentsin4x
Re: Project Explorer in Eclipse e4(Mars) RCP [message #1702462 is a reply to message #1702456] Wed, 22 July 2015 13:24 Go to previous message
kirankumar B S is currently offline kirankumar B SFriend
Messages: 36
Registered: July 2015
Member
Thanks again for quick reply.
We have tried this approach "set ClassURI to org.eclipse.ui.internal.e4.compatibility.CompatibilityView and ID to org.eclipse.ui.navigator.ProjectExplorer"

But got below issue.

!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-07-22 18:37:15.579
!MESSAGE Unable to create class 'org.eclipse.ui.internal.e4.compatibility.CompatibilityView' from bundle '46'
!STACK 0
org.eclipse.e4.core.di.InjectionException: Could not find satisfiable constructor in org.eclipse.ui.internal.e4.compatibility.CompatibilityView

about the second approach --> we do have Application.e4xmi in our project already created by eclipse 4 wizard. how can i extend this model to render Project Exlorer.

Thanks in advance.
Previous Topic:e4 RCP Dependency Injection Hierarchy Problems?
Next Topic:How to use live editor to debug Eclipse IDE
Goto Forum:
  


Current Time: Thu Nov 23 20:41:26 GMT 2017

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

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