Skip to main content



      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 16:35 Go to next message
Eclipse UserFriend
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

Re: Status of Forms in Eclipse 4? [message #1021296 is a reply to message #1021293] Tue, 19 March 2013 16:41 Go to previous messageGo to next message
Eclipse UserFriend
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 16:47 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Status of Forms in Eclipse 4? [message #1021301 is a reply to message #1021299] Tue, 19 March 2013 16:50 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Status of Forms in Eclipse 4? [message #1021307 is a reply to message #1021301] Tue, 19 March 2013 17:10 Go to previous messageGo to next message
Eclipse UserFriend
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 17:20 Go to previous message
Eclipse UserFriend
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: Fri Jul 25 18:32:46 EDT 2025

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

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

Back to the top