Non file based input to the Editor/Document [message #212235] |
Tue, 16 March 2004 23:32  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.06274 seconds