Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problem about "Content Assistant"
Problem about "Content Assistant" [message #274471] Fri, 22 October 2004 03:40 Go to next message
Eclipse UserFriend
Hi,
I want to create a Genius Content Assistant in my editor, just like
JavaEditor.
1. Now I have been add a Assistant in my editor, but it cannot auto update
its items. For example, when user press Ctrl+Space, then show all items in
Assistant; when user input a word just like 'a', then just show some items
that its prefix is 'a'. Can you give me some hints.

2.I want to add a icon on Content Assistant. When the Assistant show some
items, show a icon on the item left. How to implement this.

3.My editor is a xml editor, so when the user input a word '<', then auto
show my assistant.I want to implement when the user select a item for the
assistant,then auto add selected item and '>'.

Any help will be appreciated.

Wei
Re: Problem about "Content Assistant" [message #275590 is a reply to message #274471] Tue, 09 November 2004 11:45 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Wei Zhang wrote:

>Hi,
>I want to create a Genius Content Assistant in my editor, just like
>JavaEditor.
>1. Now I have been add a Assistant in my editor, but it cannot auto update
>its items. For example, when user press Ctrl+Space, then show all items in
>Assistant; when user input a word just like 'a', then just show some items
>that its prefix is 'a'. Can you give me some hints.
>
>2.I want to add a icon on Content Assistant. When the Assistant show some
>items, show a icon on the item left. How to implement this.
>
>3.My editor is a xml editor, so when the user input a word '<', then auto
>show my assistant.I want to implement when the user select a item for the
>assistant,then auto add selected item and '>'.
>
>Any help will be appreciated.
>
>
Take a look at the existing content assistants (e.g. in Java editor or
Ant editor).

Dani

>Wei
>
>
>
Previous Topic:ID of context menu of JavaEditor
Next Topic:How to access editor input
Goto Forum:
  


Current Time: Thu Jul 17 20:38:43 EDT 2025

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

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

Back to the top