Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsEditor Questions - multiple editors / Form Editor in e4
https://www.eclipse.org/forums/index.php/mv/msg/641845/1237087/#msg_1237087
I am going to migrate an existing Eclipse 3 RCP application to a pure e4 application (more work than I thought). The editors seems to be tricky.
A small problem :
After clicking on a table row the editor opens:
PartDescriptor defined, createPart called and then: part.getTransientData().put(DATA, person);
In the class editor @PostConstruct I can then through the DATA entry represent the label (part.setLabel (...)) and display the editor data.
Now I have to avoid that the editor for one person will not be opened several times. In Eclipse 3 this was the task of the IEditorInput implementation (equals , ..).
Is there something similar in e4 or do I need to manually implement it?
A bigger problem :
The editor was in Eclipse3 a form editor (such as for the plugin.xml) with two pages.
Is this now possible with Kepler or Luna or do I have to implement it myself (create an implementation for FormEditor and FormPage).
Does anyone have experience with it already?
I am grateful for any help.
Regards
Sebastian]]>Sebastian Lehmann2014-01-28T20:47:28-00:00Re: Editor Questions - multiple editors / Form Editor in e4
https://www.eclipse.org/forums/index.php/mv/msg/641845/1237262/#msg_1237262
Also for the bigger one, your editor can not be more than an MPart at the moment. No support for multiple-pages editors yet.
]]>2014-01-29T09:06:56-00:00Re: Editor Questions - multiple editors / Form Editor in e4
https://www.eclipse.org/forums/index.php/mv/msg/641845/1237308/#msg_1237308
I would try to implement your new solution in a way, that it is
independant of the concrete usage in the workbench. This way, you can
reuse it much easier in the future (e.g. in a wizard). To create a
form-based UI, maybe this can help: http://eclipsesource.com/blogs/tutorials/emf-client-platform-how-to-customize-the-editor-layout/
Cheers
Jonas
Am 29.01.2014 09:45, schrieb Sebastian Lehmann:
> Hello,
>
> I am going to migrate an existing Eclipse 3 RCP application to a pure e4
> application (more work than I thought). The editors seems to be tricky.
>
> A small problem :
> After clicking on a table row the editor opens:
> PartDescriptor defined, createPart called and then:
> part.getTransientData().put(DATA, person); In the class editor
> @PostConstruct I can then through the DATA entry represent the label
> (part.setLabel (...)) and display the editor data.
> Now I have to avoid that the editor for one person will not be opened
> several times. In Eclipse 3 this was the task of the IEditorInput
> implementation (equals , ..). Is there something similar in e4 or do I
> need to manually implement it?
>
> A bigger problem :
> The editor was in Eclipse3 a form editor (such as for the plugin.xml)
> with two pages.
> Is this now possible with Kepler or Luna or do I have to implement it
> myself (create an implementation for FormEditor and FormPage).
> Does anyone have experience with it already?
>
> I am grateful for any help.
>
> Regards
> Sebastian]]>Jonas Helming2014-01-29T11:01:51-00:00Re: Editor Questions - multiple editors / Form Editor in e4
https://www.eclipse.org/forums/index.php/mv/msg/641845/1692654/#msg_1692654
Sopot Cela wrote on Wed, 29 January 2014 09:06
For the small problem yes you have to take care of that yourself if you want to stay pure e4. It's not available yet. Editor handling is in the pipe.
What's the status of the pipe? Is there a bug to track the progress?
It would be really nice to have an enhanced editor handling with things like content types, comparing editor inputs, and restoring UI states with the same convenience as in E3.]]>Uwe San2015-04-17T09:13:58-00:00Re: Editor Questions - multiple editors / Form Editor in e4
https://www.eclipse.org/forums/index.php/mv/msg/641845/1692657/#msg_1692657
naturally that's pure JavaFX & e4.
Tom
On 17.04.15 11:13, Uwe San wrote:
> Sopot Cela wrote on Wed, 29 January 2014 09:06
>> For the small problem yes you have to take care of that yourself if
>> you want to stay pure e4. It's not available yet. Editor handling is
>> in the pipe.
>
>
>
> What's the status of the pipe? :) Is there a bug to track the progress?
>
> It would be really nice to have an enhanced editor handling with things
> like content types, comparing editor inputs, and restoring UI states
> with the same convenience as in E3.]]>Thomas Schindl2015-04-17T09:17:01-00:00Re: Editor Questions - multiple editors / Form Editor in e4
https://www.eclipse.org/forums/index.php/mv/msg/641845/1692677/#msg_1692677
Thomas Schindl wrote on Fri, 17 April 2015 09:17
I've implemented something like that in e(fx)clipse compensator but naturally that's pure JavaFX & e4.
Yes, a toolkit-independent solution which is not restricted to code editors would be very much appreciated. Apart from that, Compensator is a nice project. ]]>Uwe San2015-04-17T10:33:40-00:00