Do not open a second editor for the same input [message #1117331] |
Thu, 26 September 2013 06:17  |
Eclipse User |
|
|
|
Hi,
in e3 the editor framework ensures that if you open the same input
again, no new editor is opened, but the old one is focused. It is pretty
simple to implement this in e4, I just wanted to ask, if there is
already a generic implementation of this somewhere? Might be a little
bit difficult to do, as we don't have a defined input format we can call
..equals on...
Regards
Jonas
|
|
|
Re: Do not open a second editor for the same input [message #1131681 is a reply to message #1117331] |
Thu, 10 October 2013 14:34  |
Eclipse User |
|
|
|
Jonas, if you're talking a pure e4 app then first we'll have to come up with some concept of an 'editor' with an input. Note that we're deprecating the MInputPart, possibly adding the 'inputSpec' into the MPart class. Even then just matching on the 'inputSpec' wouldn't be enough, if you create a second 'editor' onto the same resource presumably the 'inputSpec' would be the same but the actual 'input' derived from the spec would be different.
E4 editors really do need some specification...
|
|
|
Powered by
FUDForum. Page generated in 0.23033 seconds