[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Plugin.xml split editor is not synchronous

Hi,

I accept the fact that there is no split editor in Eclipse. We can use "New 
editor" option instead when right-clicking on the header of an editor. And I 
also accept that I can not disable it or make it invisible without writing a 
whole presentation of my own.

But the behaviour of "New Editor" option is not consistent. If you use Java 
Editor or Text Editor, it works perfectly. It is synchronous. When you write 
something on any one of the editors, it is immediately written in the other 
one. And when you change something and close one of the editors it does not 
pop a "Save Resource Coýnfirmation" dialog because the other editor is still 
open.

But when you double-click on the plugin.xml file to use Plug-In Manifest 
Editor things are different. In the Overview tab when you write something it 
is not seen in the other editor until you save it. (Just try the ID Text 
widget in your Overview tab under the General Information section.) It is 
NOT synchronous for the Plug-In Manifest Editor.

I was curious, so I tried it with the plugin.xml tab which seems like a Text 
Editor. I wrote something in it and saw that it is synchronous (I can see 
what I write in the other editor) But when I wanted to close one of the 
editors it popped up the "Save Resource Coýnfirmation" dialog. It is not 
consistent with the Java Editor's or Text Editor's behavior.

When coding a new type of Editor in a plugin or in an RCP application, is 
New Editor option's behavior settable somewhere?
Is there a way to synchronize all the widgets (texts,combos and even the 
tables) without writing code for all widget instances in my form in a plugin 
or in an RCP application?

Thanks,
Kerem