|Re: Editor Questions - multiple editors / Form Editor in e4 [message #1237308 is a reply to message #1237087]
||Wed, 29 January 2014 11:01
| Jonas Helming
Registered: July 2009
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:
Am 29.01.2014 09:45, schrieb Sebastian Lehmann:
> 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.
Powered by FUDForum
. Page generated in 0.02410 seconds