Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Adding java editor to a multi-page editor
Adding java editor to a multi-page editor [message #641492] Thu, 25 November 2010 16:24 Go to next message
Keshavrao  is currently offline Keshavrao Friend
Messages: 34
Registered: July 2009
Member
Hi,

We have a use-case where we need to include java editor as part of multipage editor. I thought it would work out of the box if i have a file in a project and use addPage(IEditorPart) along with making my Editorinput extend FileEditorInput but somehow i can only get syntax highlighting to work and none of the other features are working.

Is this possible and how can i get it work?



Best Regards,
Keshav
Re: Adding java editor to a multi-page editor [message #641577 is a reply to message #641492] Fri, 26 November 2010 08:01 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Keshavrao wrote:
> Hi,
>
> We have a use-case where we need to include java editor as part of
> multipage editor. I thought it would work out of the box if i have a
> file in a project and use addPage(IEditorPart) along with making my
> Editorinput extend FileEditorInput but somehow i can only get syntax
> highlighting to work and none of the other features are working.
> Is this possible and how can i get it work?
The Java editor is an editor/part and part nesting is not supported in
3.x but might be in the future (4.x). You might want to take a look at
the Java Compare editor which nests the Java editor.

Dani
>
>
>
> Best Regards,
> Keshav
Previous Topic:Custom JNLP with Helios and Glassfish - Application Client Project
Next Topic:Select a cell in a Table
Goto Forum:
  


Current Time: Fri Apr 26 06:58:16 GMT 2024

Powered by FUDForum. Page generated in 0.03205 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top