Skip to main content



      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 06:17 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend

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: Wed Jul 16 02:41:25 EDT 2025

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

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

Back to the top