[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] How to make IEditor a non-editable editor?
|
- From: dheepuks@xxxxxxxxxxx (Dheepu Kumar)
- Date: Sat, 22 Oct 2005 09:29:55 +0000 (UTC)
- Newsgroups: eclipse.newcomer
- Organization: not organized
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi ,
I have a problem in my application. In that i used to read a file through
a stream and display it in a IDE editor. the content is read and displayed
well but i need to make it as non-editable editor such that it can't be
editable.
Please help me int he above said aspect.
Note :
i have used private IWorkbenchPage active_page =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
final IFile file = container.getFile(new Path(fileName));
org.eclipse.ui.ide.IDE.openEditor(active_page, file);
Thanks in advance.