Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » JFace Templates
JFace Templates [message #836260] Wed, 04 April 2012 09:37 Go to next message
Mike Moor is currently offline Mike MoorFriend
Messages: 20
Registered: November 2010
Location: Steffisburg, Switzerland
Junior Member
Hi,

In our project (railway stuff) we have a Search-Field which allows the user to search for his data with different search-patterns:


  • <from>-<to> (e.g: Berlin-Hamburg)
  • <line>:<part>:<sequence> (e.g: 451:0:11)
  • cc:<country-code> (e.g: cc:80)
  • ...


now i would like to give the user the possibility to choose his search template with the content assistant and jump to each placeholder by pressing the tab-key.

To be clear: I want the exactly the same functionality like one can use it in Eclipse Java Editor when you type "for" and press Ctrl+Space. When he chooses the first template he can jump from "i" to "array" to the for-body.

Do you know what I mean?
How can I provide this functionality to our users?

thank you for your help!
cheers,
mike
Re: JFace Templates [message #839317 is a reply to message #836260] Sun, 08 April 2012 13:36 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
You can get some of this through the JFace Field Assist support.
Previous Topic:How to implement AbstractInformationControl
Next Topic:An example of Eclipse ui service contribution
Goto Forum:
  


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

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

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

Back to the top