[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: How to disable a TextEditor

Seems like for your case there is no any other good way than to get access
to AbstractTextEditor protected method getSourceViewer() and then use
setEditable() method of ITextViewer method.
Doesn't sounds pretty good, by the way. But as to me,  I don't know any
other way to do it still keeping the ability to modify file from the
program.

"Syed" <sma_r@xxxxxxxxxxx> wrote in message
news:b2a2r7$7sa$1@xxxxxxxxxxxxxxxx
> Hi all,
> I like to know how to disable a texteditor,as I just ned to see if I can
> enter text in the Editor from another Eclipse while my present Editor is
> Disabled.
>
> Syed
>
>