[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Re: Adding a (text editor) page
|
- From: Paul Webster <pwebster@xxxxxxxxxx>
- Date: Wed, 27 Feb 2008 09:04:58 -0500
- Newsgroups: eclipse.platform
- Organization: EclipseCorner
- User-agent: Thunderbird 1.5.0.12 (X11/20070529)
Leo Escorido wrote:
I'd like to add a text editor page that shows contents of the actual
file. The closest solution i found is to call addPage(IEditorPart,
IEditorInput input), but I don't know how.
I will appreciate any link or an example how to achieve it.
right, you would call addPage(new TextEditor(), getEditorInput())
PW
--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm