|JFace Templates [message #836260]
||Wed, 04 April 2012 05:37
| Mike Moor
Registered: November 2010
Location: Steffisburg, Switzerland
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!
Powered by FUDForum
. Page generated in 0.02279 seconds