Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » Question about adding docshare to custom editor
Question about adding docshare to custom editor [message #624674] Tue, 06 January 2009 12:42 Go to next message
Marc Esher is currently offline Marc Esher
Messages: 14
Registered: July 2009
Junior Member
Greetings all,
I've got a custom editor and I'd like to implement DocShare support.
I've added the appropriate xml to the plugin.xml file as described here:
http://wiki.eclipse.org/Extending_Real-Time_Shared_Editing_f or_Use_with_Other_Editors

My editor extends TextEditor but does not currently implement
IDocumentListener. however, when I tried sharing, it did in fact work
correctly.

So my question is: why do I need to implement IDocumentListener, and what
should I put into the two function overrides? I tried looking at the php
example linked in that wiki page, but it returns a 404 error.

Thanks.

marc
Re: Question about adding docshare to custom editor [message #624676 is a reply to message #624674] Tue, 06 January 2009 14:02 Go to previous messageGo to next message
Scott Lewis is currently offline Scott Lewis
Messages: 966
Registered: July 2009
Senior Member
Hi Marc,

Marc Esher wrote:
> Greetings all,
> I've got a custom editor and I'd like to implement DocShare support.
> I've added the appropriate xml to the plugin.xml file as described here:
> http://wiki.eclipse.org/Extending_Real-Time_Shared_Editing_f or_Use_with_Other_Editors
>
>
> My editor extends TextEditor but does not currently implement
> IDocumentListener. however, when I tried sharing, it did in fact work
> correctly.
>
> So my question is: why do I need to implement IDocumentListener, and
> what should I put into the two function overrides?


No, this was an error in the documentation. I've fixed it...thanks!

I tried looking at
> the php example linked in that wiki page, but it returns a 404 error.

This was also an error in the documentation caused by our moving from
Technology to runtime project. I've removed this as well.

Scott
Re: Question about adding docshare to custom editor [message #624677 is a reply to message #624676] Tue, 06 January 2009 16:14 Go to previous messageGo to next message
Eclipse User
Originally posted by: marc.esher.comcast.net

sweet, thanks a lot Scott.

One other question: have you ever seen or heard of a scenario where, once a
file is shared over DocShare, it becomes read-only?

I had a report of this today and haven't gotten any more information on it,
but was wondering if this is a known issue, or at least if there are known
causes.

thanks!

marc


"Scott Lewis" <slewis@composent.com> wrote in message
news:4963AACE.3050405@composent.com...
> Hi Marc,
>
> Marc Esher wrote:
>> Greetings all,
>> I've got a custom editor and I'd like to implement DocShare support.
>> I've added the appropriate xml to the plugin.xml file as described here:
>> http://wiki.eclipse.org/Extending_Real-Time_Shared_Editing_f or_Use_with_Other_Editors
>> My editor extends TextEditor but does not currently implement
>> IDocumentListener. however, when I tried sharing, it did in fact work
>> correctly.
>>
>> So my question is: why do I need to implement IDocumentListener, and what
>> should I put into the two function overrides?
>
>
> No, this was an error in the documentation. I've fixed it...thanks!
>
> I tried looking at
>> the php example linked in that wiki page, but it returns a 404 error.
>
> This was also an error in the documentation caused by our moving from
> Technology to runtime project. I've removed this as well.
>
> Scott
Re: Question about adding docshare to custom editor [message #624679 is a reply to message #624677] Wed, 07 January 2009 11:15 Go to previous message
Scott Lewis is currently offline Scott Lewis
Messages: 966
Registered: July 2009
Senior Member
Hi Marc,

Marc E wrote:
> sweet, thanks a lot Scott.
>
> One other question: have you ever seen or heard of a scenario where,
> once a file is shared over DocShare, it becomes read-only?


No...I haven't heard of this happening that I can recall. Does this
happen on the initiator, receiver, or both? Please open a bug report if
you can reproduce.


>
> I had a report of this today and haven't gotten any more information on
> it, but was wondering if this is a known issue, or at least if there are
> known causes.

No, not from me.

Thanks,

Scott


>
> thanks!
>
> marc
>
>
> "Scott Lewis" <slewis@composent.com> wrote in message
> news:4963AACE.3050405@composent.com...
>> Hi Marc,
>>
>> Marc Esher wrote:
>>> Greetings all,
>>> I've got a custom editor and I'd like to implement DocShare support.
>>> I've added the appropriate xml to the plugin.xml file as described
>>> here:
>>> http://wiki.eclipse.org/Extending_Real-Time_Shared_Editing_f or_Use_with_Other_Editors
>>> My editor extends TextEditor but does not currently implement
>>> IDocumentListener. however, when I tried sharing, it did in fact work
>>> correctly.
>>>
>>> So my question is: why do I need to implement IDocumentListener, and
>>> what should I put into the two function overrides?
>>
>>
>> No, this was an error in the documentation. I've fixed it...thanks!
>>
>> I tried looking at
>>> the php example linked in that wiki page, but it returns a 404 error.
>>
>> This was also an error in the documentation caused by our moving from
>> Technology to runtime project. I've removed this as well.
>>
>> Scott
>
Previous Topic:file sharing in ECF
Next Topic:Activated APITooling for _all_ ECF
Goto Forum:
  


Current Time: Tue Jul 29 16:58:33 EDT 2014

Powered by FUDForum. Page generated in 0.04441 seconds