Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » What is the proper use of IContentAssistProcessor interface?
What is the proper use of IContentAssistProcessor interface? [message #157539] Thu, 06 May 2004 15:55 Go to next message
Leho Nigul is currently offline Leho NigulFriend
Messages: 7
Registered: July 2009
Junior Member
Hi All
I want to extend content assist feature of Java Source Editor, by adding
my own items for the content assist. From looking at the code, I understand
that in order to do that I have to implement my own instance of
IContentAssistProcessor and register it with IContentAssistant of the
editor.
However I cannot find an extension point that would allow me to specify my
instance of IContentAssistProcessor. It is quite surprising because I can
see that extension points for IQuickAssistProcessor, IQuickFixProcessor and
IJavadocCompletionProcessor which in my understanding have a similar
functionality to IContentAssistProcessor.

I would greatly appreciate if someone could explain me what is the right
way to implement the extension for the content assist functionality and give
me a hint which extension points to use.

Thank you very much !
Re: What is the proper use of IContentAssistProcessor interface? [message #172001 is a reply to message #157539] Thu, 05 August 2004 09:58 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Leho Nigul wrote:

> Hi All
> I want to extend content assist feature of Java Source Editor, by adding
>my own items for the content assist.
>
You can't. The Java Editor and its JavaCompletionProcessor are internal.

Dani

> From looking at the code, I understand
>that in order to do that I have to implement my own instance of
>IContentAssistProcessor and register it with IContentAssistant of the
>editor.
> However I cannot find an extension point that would allow me to specify my
>instance of IContentAssistProcessor. It is quite surprising because I can
>see that extension points for IQuickAssistProcessor, IQuickFixProcessor and
>IJavadocCompletionProcessor which in my understanding have a similar
>functionality to IContentAssistProcessor.
>
> I would greatly appreciate if someone could explain me what is the right
>way to implement the extension for the content assist functionality and give
>me a hint which extension points to use.
>
> Thank you very much !
>
>
>
>
Previous Topic:Error in brace matching
Next Topic:Java editor recognizing protected areas
Goto Forum:
  


Current Time: Sun Jun 30 00:20:05 GMT 2024

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

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

Back to the top