Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Status of Forms in Eclipse 4?(Opening a FormEditor seems impossible in Eclipse4)
Status of Forms in Eclipse 4? [message #1021293] Tue, 19 March 2013 20:35 Go to next message
Jay Billings is currently offline Jay BillingsFriend
Messages: 54
Registered: July 2011
Member
Hello everyone!

I have an Eclipse 3.7.2 RCP application that I am migrating to Eclipse 4 and I have run into a road block. My application makes extensive use of Eclipse Forms and, in particular, in SharedHeaderFormEditor. There are many instances of the SharedHeaderFormEditor running at anytime in a way similar to having a number of Manifest files open for editing.

It appears that Eclipse Juno uses all of the old 3.x Forms (Manifests, etc.) but it is absolutely unclear to me how it does it. I think there are a few fundamental things I am missing here:

1.) How does Juno dynamically load a Form? In 3.x something like "page.openEditor(input,id)" would be called to open a FormEditor, but is the Part added to the Editor "Area" in Juno?
2.) Given that there is no longer a distinction between Parts, how do "Editors" (formerly IEditorParts) get their input? Is the process roughly "a handler creates the Editor POJO, calls an input setter on the POJO and *magically* contributes the Editor to a PartStack?" (I say magically in jest, but it does seem like magic. Wink)
3.) If a Handler is used as described in 2., how can the POJOs it creates consume EAP services?
4.) Is Juno even running as a pure Eclipse 4 application or is it running through the RCP->EAP bridge?

Thank you very much for your time and help!

Jay



Jay Jay Billings
Oak Ridge National Laboratory
Twitter: @jayjaybillings
Re: Status of Forms in Eclipse 4? [message #1021296 is a reply to message #1021293] Tue, 19 March 2013 20:41 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

Hi Jay,

>> 4.) .. or is it running through the RCP->EAP bridge?

Yes it does and I guess that answers all your other questions as well. All of the form code is not (yet) ported.

Best regards,

Wim

Re: Status of Forms in Eclipse 4? [message #1021299 is a reply to message #1021296] Tue, 19 March 2013 20:47 Go to previous messageGo to next message
Jay Billings is currently offline Jay BillingsFriend
Messages: 54
Registered: July 2011
Member
Thanks Wim! That certainly does answer all of the others! Smile

Do you know of a good tutorial on using the bridge? I found this one by Tom Schindl, but it is more for using 4.x pieces in 3.8:

http://tomsondev.bestsolution.at/2011/06/10/how-to-apply-the-e4-programming-model-to-3-x/

Jay


Jay Jay Billings
Oak Ridge National Laboratory
Twitter: @jayjaybillings
Re: Status of Forms in Eclipse 4? [message #1021301 is a reply to message #1021299] Tue, 19 March 2013 20:50 Go to previous messageGo to next message
Jay Billings is currently offline Jay BillingsFriend
Messages: 54
Registered: July 2011
Member
This ones seems to describe what I am looking for:

http://tomsondev.bestsolution.at/2011/07/01/eclipse-4-1-run-your-3-x-rcp-in-4-1/

Jay


Jay Jay Billings
Oak Ridge National Laboratory
Twitter: @jayjaybillings
Re: Status of Forms in Eclipse 4? [message #1021307 is a reply to message #1021301] Tue, 19 March 2013 21:10 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

I found and tested this method today:

http://dirksmetric.wordpress.com/2012/08/01/tutorial-eclipse-rcp-e4-with-3-x-views-like-project-explorer-properties-etc/


Best regards,

Wim
Re: Status of Forms in Eclipse 4? [message #1021312 is a reply to message #1021307] Tue, 19 March 2013 21:20 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

here is an example project, courtesy of the author:

https://dl.dropbox.com/u/5004102/bridge.3.and.4.zip
Previous Topic:What is your 2013 environment configuration for an RCP project development?
Next Topic:Common Navigation Framework under E4
Goto Forum:
  


Current Time: Thu Apr 25 17:20:13 GMT 2024

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

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

Back to the top