Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Do not open a second editor for the same input
Do not open a second editor for the same input [message #1117331] Thu, 26 September 2013 10:17 Go to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
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 18:34 Go to previous message
Eric Moffatt is currently offline Eric MoffattFriend
Messages: 118
Registered: July 2009
Senior Member

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...

Previous Topic:Xml GUI is very slow in juno
Next Topic:errors when move eclipse from 32 to 64 bits system
Goto Forum:
  


Current Time: Fri Mar 29 07:35:16 GMT 2024

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

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

Back to the top