[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: How to integrate XML editor into my RCP application?

On Thu, 17 Apr 2008 02:49:17 +0000 (UTC), novelxy@xxxxxxxxx (Neo)
wrote:

>I am a newbie for RCP development.
>
>I note that I could edit XML file through ecipse.
>I guess that the functionality is implemented by a plug-in.
>Who could tell me how to integrate such XML editor into my RCP application?
>
>

The only XML editor I've found in Eclipse is the
XMLMultiPageEditorPart which is internal to WST. To use this editor in
your application you would have to include large parts (or all) of WST
and use a Part which is not API, i.e. may change without notice.

If you will do this or find another plug-in which implements an XML
editor (search http://www.eclipseplugincentral.com/) you may open this
editor using its ID and an IEditorInput implementation to open this
editor using IWorkbenchPage.openEditor(IEditorInput input, String id).


Achim
-- 
Achim Lörke

Eclipse-Stammtisch in the Braunschweig, Germany area:
http://www.bredex.de/de/career/eclipse.html