Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Plugin.xml split editor is not synchronous
Plugin.xml split editor is not synchronous [message #330212] Mon, 21 July 2008 13:49 Go to next message
lembas  is currently offline lembas Friend
Messages: 13
Registered: July 2009
Junior Member
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
Re: Plugin.xml split editor is not synchronous [message #330224 is a reply to message #330212] Mon, 21 July 2008 17:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Kerem wrote:
> 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?

I think you'd want to do something like that by having the two editors
share a model. Then, using the Data Binding framework would make it
pretty easy to have multiple views on that model. Your model will have
to fire change notification events (like a JavaBean or an EMF model) for
Data Binding to work that way.

Hope this helps,
Eric
Re: Plugin.xml split editor is not synchronous [message #330233 is a reply to message #330224] Tue, 22 July 2008 11:36 Go to previous message
lembas  is currently offline lembas Friend
Messages: 13
Registered: July 2009
Junior Member
Thanks Eric.

"Eric Rizzo" <eclipse-news@rizzoweb.com> wrote in message
news:g62g4e$9no$1@build.eclipse.org...
> Kerem wrote:
>> 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?
>
> I think you'd want to do something like that by having the two editors
> share a model. Then, using the Data Binding framework would make it pretty
> easy to have multiple views on that model. Your model will have to fire
> change notification events (like a JavaBean or an EMF model) for Data
> Binding to work that way.
>
> Hope this helps,
> Eric
Previous Topic:not to close parent dialog on cancel of child wizard
Next Topic:IContributionItems Access details
Goto Forum:
  


Current Time: Mon Aug 19 14:24:30 GMT 2024

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

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

Back to the top