Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Chaining content assist's in an editor
Chaining content assist's in an editor [message #520276] Thu, 11 March 2010 19:28
Bill Masek is currently offline Bill MasekFriend
Messages: 8
Registered: July 2009
Junior Member
Hi,

I am working on a editor where I want to provide a different set of
options automatically after the user chooses 1 option.

Say for example my language is
%foo: !
%foo: *
%bar: ~
%bar: &

When the user types % I want to provide the choice %foo: and %bar:. If
the user selects %foo: then I want to provide the option of ! or *. If
the user selects %bar then I want to provide the option of ~ or &.

I have a % content assist to select between foo and bar. I have another
content assist for %foo: so if the user actually types the : I get the
options correctly.

Is there some way for me to "chain" the content assists so that after
user selects %foo: I can present the options for %foo: without forcing
the user to type Ctl-space or delete and retype the :?

Thanks,
Bill Masek
781-572-8697
billmasek comcast net
Previous Topic:How to dispose ApplicationWindow
Next Topic:Problems with Frame toolkit
Goto Forum:
  


Current Time: Thu Apr 25 13:46:20 GMT 2024

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

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

Back to the top