Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Non file based input to the Editor/Document
Non file based input to the Editor/Document [message #212235] Tue, 16 March 2004 23:32 Go to next message
Eclipse UserFriend
hi all,

I like to enter variable length of text into the Editor/Document through a
socket. I can enter text into the editor with IDocument.replace() but it
only enters a specified length of text that has to be predefined in the
method. I was thinking of using setInput() to enter text but I am not sure
if it would do the job.I like to know if there is any other way I can
enter text into the editor.

I would apprecaite you help

Regards

Syed
Re: Non file based input to the Editor/Document [message #212304 is a reply to message #212235] Wed, 17 March 2004 10:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eostroukhov.hotmail.com

Little self-advertising :)
http://jroller.com/page/zhou (I hope this'll answer your question - if you
need some more information - than just ask :) )

Eugene

"Syed" <sma_r@hotmail.com> wrote in message news:c38kci$luj$1@eclipse.org...
> hi all,
>
> I like to enter variable length of text into the Editor/Document through a
> socket. I can enter text into the editor with IDocument.replace() but it
> only enters a specified length of text that has to be predefined in the
> method. I was thinking of using setInput() to enter text but I am not sure
> if it would do the job.I like to know if there is any other way I can
> enter text into the editor.
>
> I would apprecaite you help
>
> Regards
>
> Syed
>
Re: Non file based input to the Editor/Document [message #212328 is a reply to message #212304] Wed, 17 March 2004 10:53 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Eugene
For replying to my question as lately my luck is not that good in getting
answers to my query. Now the serious stuff.
Correct me if I am wrong,you are using setInput to retrieve the input to
the editor and that input can be also through a socket also.So that means
I can use setInput() for it.

Like to know your take on this.

Syed


Eugene Ostroukhov wrote:

> Little self-advertising :)
> http://jroller.com/page/zhou (I hope this'll answer your question - if you
> need some more information - than just ask :) )

> Eugene

> "Syed" <sma_r@hotmail.com> wrote in message news:c38kci$luj$1@eclipse.org...
> > hi all,
> >
> > I like to enter variable length of text into the Editor/Document through a
> > socket. I can enter text into the editor with IDocument.replace() but it
> > only enters a specified length of text that has to be predefined in the
> > method. I was thinking of using setInput() to enter text but I am not sure
> > if it would do the job.I like to know if there is any other way I can
> > enter text into the editor.
> >
> > I would apprecaite you help
> >
> > Regards
> >
> > Syed
> >
Re: Non file based input to the Editor/Document [message #212640 is a reply to message #212235] Wed, 17 March 2004 18:25 Go to previous message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

Syed wrote:
> hi all,
>
> I like to enter variable length of text into the Editor/Document through a
> socket. I can enter text into the editor with IDocument.replace() but it
> only enters a specified length of text that has to be predefined in the
> method. I was thinking of using setInput() to enter text but I am not sure
> if it would do the job.I like to know if there is any other way I can
> enter text into the editor.
>
> I would apprecaite you help
>
> Regards
>
> Syed
>

into a live document, or opening into a new document? You can make
whatever IEditorInput you want. I have one that gets data from a database.

but be warned that the architecture holds onto old editor inputs for
some odd reason. At least the last 1 it holds onto.

--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Previous Topic:How to create a ViewPart without a close button
Next Topic:Remote debug eclipse from eclipse
Goto Forum:
  


Current Time: Mon Jun 09 07:13:23 EDT 2025

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

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

Back to the top